Skip to content

windows ce hardware keyboard help

March 25, 2009

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?

From → Uncategorized

2 Comments
  1. 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

Leave a Reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

Please log in to WordPress.com to post a comment to your blog.

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.