I am testing on a HTC Tilt. When the OS Screen Rotaiton is set to portrait everything works fine, but when I set it to Landscape1 or Landscape2 then things don't work correctly.
To test I put the OS in Landscape2 (270) and the keyboard closed, I then pressed the down directional key (down relative to the device in portrait mode).
app started
pressing down generates keycode 40 (incorrect)
keyboard opened
pressing down generates keycode 37
keyboard closed
pressing down generates keycode 39
so even though the device is in the exact same configurations in keypress 1 and 3, they generate different keycodes!
further testing, I start the app with the keyboard already open.
app started
pressing down generates keycode 40 (incorrect)
keyboard closed
pressing down generates keycode 39
keyboard open
pressing down generates keycode 37
and again keypresses 1 and 3 are different but they should match. does anyone know what is going on here?