Re: hardware keyboard open event
On Mon, 2010-01-11 at 18:51 +0100, ext Matan Ziv-Av wrote: On Mon, 11 Jan 2010, Neal H. Walfield wrote: In an application I'm working on, I'd like to show the search tool bar if the user opens the hardware keyboard. Is there a way to detect this? I've tried searching but have had no success; perhaps I'm using the wrong keywords. Run the command dbus-monitor --system And open the keyboard while watching the output. The D-Bus messages are part of the internal protocol between libhal and the HAL daemon, it's better to use libhal or the Gconf key. -Kimmo ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: hardware keyboard open event
On Mon, 2010-01-11 at 22:07 +0100, ext Joaquim Rocha wrote: Hi Neal, The physical keyboard opening/closing changes the GConf key /system/osso/af/slide-open. All you need to do is to listen to this key and call your code. Yes, or use libhal to get it from HAL directly. (Run lshal -m while you open and close the slider to discover the related properties.) -Kimmo -- Joaquim Rocha Neal H. Walfield wrote: Hi, In an application I'm working on, I'd like to show the search tool bar if the user opens the hardware keyboard. Is there a way to detect this? I've tried searching but have had no success; perhaps I'm using the wrong keywords. Thanks, Neal ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: hardware keyboard open event
On Mon, 11 Jan 2010, Neal H. Walfield wrote: In an application I'm working on, I'd like to show the search tool bar if the user opens the hardware keyboard. Is there a way to detect this? I've tried searching but have had no success; perhaps I'm using the wrong keywords. Run the command dbus-monitor --system And open the keyboard while watching the output. -- Matan. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: hardware keyboard open event
Hi Neal, The physical keyboard opening/closing changes the GConf key /system/osso/af/slide-open. All you need to do is to listen to this key and call your code. -- Joaquim Rocha Neal H. Walfield wrote: Hi, In an application I'm working on, I'd like to show the search tool bar if the user opens the hardware keyboard. Is there a way to detect this? I've tried searching but have had no success; perhaps I'm using the wrong keywords. Thanks, Neal ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers signature.asc Description: OpenPGP digital signature ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers