bl4k1st / hackerskeyboard

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

Interference with a hardware keyboard's Fn key #200

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
From email:

on the HTC Evo Shift 4G, running HTC & Sprint's stock build of Android ver. 
2.3.3 and Hacker's Keyboard ver. 1.31, the hardware keyboard's Fn key 
intermittently turns back off right after being pressed when Hacker's Keyboard 
is selected as the input method.

This bug does not happen when using the preinstalled standard or Swype input 
methoad (trust me, I wrote a ton of garbage to attempt replicating the 
situation with each testing condition), so I believe there is a fault with 
Hacker's Keyboard.

Original issue reported on code.google.com by Klaus.We...@gmail.com on 29 Feb 2012 at 12:23

GoogleCodeExporter commented 8 years ago
Interesting. The "Fn" key on the hardware keyboard is supposed to modify the 
next key on the hardware keyboard, but this no longer works? Does the software 
keyboard need to be visible, or does it happen whenever it's the active input 
method?

Would you mind trying the key test application and letting me know which 
keycode the "Fn" key produces? After running that application, uncheck "Focus" 
to get raw events, and try it both with and without the software keyboard being 
visible - the "Keys" button opens it if it doesn't open automatically.

Original comment by Klaus.We...@gmail.com on 29 Feb 2012 at 12:28

GoogleCodeExporter commented 8 years ago
Was this the e-mail I used to send the report? Ah, whatever.

Anyway, the Fn key technically still does work when it activates, but it fails 
to activate a good portion of the time. Hacker's Keyboard doesn't require 
visibility, just selection as the active input method.

HTC's fn key has the following data: key=ALT_LEFT, code=57, meta=, flags=, 
scan=56, device=0. No changes are seen occuring when the soft keyboard is up. 
Strangely, the Fn glitch doesn't seem to want to recur in the testing 
application when Focus is on - situations where I've seen it are AndChat 
(net.andchat on the market) and BanderLabs' Notepad (bander.notepad). There 
could be more, but I haven't poked around since then due to being busy with 
other stuff.

Original comment by lamial...@cleverpun.com on 1 Mar 2012 at 7:58

GoogleCodeExporter commented 8 years ago
Okay, the Fn activation issue also occurs on the phone's SMS messaging program 
(which I believe is a custom-baked one by HTC, but I can't be sure).

Original comment by lamial...@cleverpun.com on 1 Mar 2012 at 8:26