Re: Screen rotation



Latest discovery about screen rotation:

The virtual keycodes of the hardware buttons (VK_UP etc.) are not translated when the scren is rotated. That's why I implemented my own mapper for these keycodes. Unfortunately then the keys, sent by the soft keyboard, also are rotated, what's not very practical - the arrows painted on the soft keyboard rotate together with the screen orientation.

For a distinction between soft and hard keys I found it useful to inspect the scancode, which seems to be zero for all soft keys.

DoDi
.


Loading