Closed GoogleCodeExporter closed 9 years ago
Hi, I think I've fixed the issue with the attached patch. Please ensure my work
is correct.
I used the values provided here:
http://developer.android.com/reference/android/view/KeyEvent.html#META_ALT_ON
to calculate the correct value of KeyEvent.META_ALT_ON |
KeyEvent.META_ALT_LEFT_ON to be 0x12.
The keyboard now produces expected metaState when Alt modifier is used.
Original comment by iiordanov@gmail.com
on 9 Dec 2013 at 7:36
Attachments:
Thanks for the fix - can you try v1.34rc15 (or later) to see if that works for
you? It also includes a Meta/Command/Windows key in the full 5-row layout.
https://code.google.com/p/hackerskeyboard/downloads/list
Original comment by Klaus.We...@gmail.com
on 19 Dec 2013 at 11:53
Please try 1.34rc17, earlier versions had inconsistent reporting of up/down
events in multitouch mode.
This now mostly works for me in bVNC, except that the Alt key suppresses the
modified key in multitouch mode. It works as expected in sticky key mode
(touch+release Alt, then touch+release other key). According to my keytest app
the right key events seem to be generated, is this possibly an issue in your
app?
See also
https://code.google.com/p/hackerskeyboard/downloads/detail?name=KeytestActivity-
debug.apk
Original comment by Klaus.We...@gmail.com
on 20 Dec 2013 at 11:25
With v1.34rc17, the keyboard no longer sets META_META_* instead of
META_ALT_*!
There is an "issue" with bVNC where I was ignoring left Alt because it is
used for symbol input on some hardware keyboards. I think this is causing
what you're reporting. If you want to test, configure Hacker's keyboard to
send right Alt key instead of left Alt key.
In any case, I now ignore left Alt only if the deviceID == 0 (which seems
to be the case for the default hardware keyboard on my G1 and G2 (yes, I
still keep those around for testing ;). So in the next release of bVNC
things should be pretty much seamless.
Thanks for your responsiveness and help in debugging!
Original comment by iiordanov@gmail.com
on 21 Dec 2013 at 12:58
The latest version of bVNC, v3.4.1, works perfectly for me with H's K. Please
try it and let me know if you can confirm.
Thanks!
Original comment by iiordanov@gmail.com
on 21 Dec 2013 at 3:08
I tested v1.34rc17 with bVNC on my HTC Dsire S.
Had not much time to check details, but the error I reported with ALT-F4 is
gone.
THX a lot for fixing this issue.
Original comment by jasminje...@gmail.com
on 22 Dec 2013 at 12:00
[bulk bug update]
The changes from the 1.34rcX prerelease series are included in version 1.37 as
published on the Play Store, and this bug should be fixed. If it's still not
working for you, please reopen or file a new bug. Thanks to everyone who helped
with finding bugs and testing!
Original comment by Klaus.We...@gmail.com
on 26 Dec 2013 at 7:12
Original issue reported on code.google.com by
iiordanov@gmail.com
on 9 Dec 2013 at 2:03