Menu

#388 Keyboard sends KEYCODE_STAR instead of KEYCODE_SHIFT_LEFT + KEYCODE_8

New
nobody
None
Medium
Defect
2013-12-21
2013-12-21
Anonymous
No

Originally created by: iiordanov@gmail.com

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!

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.