tohateam / hackerskeyboard

Automatically exported from code.google.com/p/hackerskeyboard
0 stars 1 forks source link

Keyboard sends KEYCODE_STAR instead of KEYCODE_SHIFT_LEFT + KEYCODE_8 #388

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1) In a key tester app, press SHIFT and then * (where 8 used to be).
2) Switch to the Fn pane, and press the * character.

What is the expected behavior? What do you see instead?
- The expected behavior is SHIFT + 8, at least for the main pane, and whatever 
the author decides for the Fn pane. I would keep them consistent (i.e. SHIFT + 
8).

Instead of that, what I see is that on the main pane, a KEYCODE_STAR key event 
is generated:
KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_STAR, scanCode=0, metaState=0, 
flags=0x0, repeatCount=0, eventTime=1387648529882, downTime=1387648529882, 
deviceId=-1, source=0x0 } 17
KeyEvent { action=ACTION_UP, keyCode=KEYCODE_STAR, scanCode=0, metaState=0, 
flags=0x0, repeatCount=0, eventTime=1387648529882, downTime=1387648529882, 
deviceId=-1, source=0x0 } 17

Whereas, in the Fn pane, a SHIFT+8 is being generated:
KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_SHIFT_LEFT, scanCode=0, 
metaState=META_SHIFT_ON|META_SHIFT_LEFT_ON, flags=0x0, repeatCount=0, 
eventTime=187396223, downTime=187396223, deviceId=-1, source=0x101 } 59
KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_8, scanCode=0, 
metaState=META_SHIFT_ON|META_SHIFT_LEFT_ON, flags=0x0, repeatCount=0, 
eventTime=187396223, downTime=187396223, deviceId=-1, source=0x101 } 15
KeyEvent { action=ACTION_UP, keyCode=KEYCODE_8, scanCode=0, 
metaState=META_SHIFT_ON|META_SHIFT_LEFT_ON, flags=0x0, repeatCount=0, 
eventTime=187396223, downTime=187396223, deviceId=-1, source=0x101 } 15
KeyEvent { action=ACTION_UP, keyCode=KEYCODE_SHIFT_LEFT, scanCode=0, 
metaState=0, flags=0x0, repeatCount=0, eventTime=187396223, downTime=187396223, 
deviceId=-1, source=0x101 } 59

What version of Hacker's Keyboard are you using? (See "Debug" section at
the bottom of the app's Settings menu.)

1.34rc17

On what phone or tablet?

Nexus 4

Thank you very much!

Original issue reported on code.google.com by iiordanov@gmail.com on 21 Dec 2013 at 6:04