windows ce hardware keyboard help

Many devices have both hardware keyboards as well as a software keyboard.

In Fennec, we need to know if we should ask Windows to display the software keyboard when the user clicks in a text box. For example, if the device has a hardware keyboard exposed to the user (in that they see it in front of them), we don’t want to show the software keyboard.

I have tried:

1) HKCU\Software\Microsoft\Shell\HasKeyboard. This value stays the same no matter if the keyboard slide to the open position or not.

2) GetKeyboardStatus(). Same as above

3) Smart Auto-Deploy event. I tried listening for the “_KeyPress” event. That seems to work fine (I know that a key was pressed on the hardware keyboard), but it really doesn’t tell you if the keyboard has been slide closed again.

Anyone know how to do this?

This entry was posted in mozilla. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

2 Comments

  1. Posted August 20, 2009 at 10:31 am | Permalink

    We can check the current state of slide out keyboard from the registry
    “HKEY_LOCAL_MACHINE\System\GDI\Rotation\Slidekey”

    https://bugzilla.mozilla.org/show_bug.cgi?id=341772#c25

  2. Posted October 10, 2009 at 1:36 am | Permalink

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>