View Single Post
Old December 30th, 2012, 08:48 PM   #1 (permalink)
New Member
Thread Author (OP)
Join Date: Dec 2012
Gender: Male
Posts: 3
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default Bluetooth keyboard reports "KEYCODE_UNKNOWN"

I got a shiny new bluetooth keyboard for use with my Android phone.

The right shift button actually launches the browser instead of acting like a shift button, which is very inconvenient, so I edited /system/usr/keylayout/Generic.kl and /system/usr/keylayout/qwerty.kl to change the mapping.

I have a little app that simply displays the information from keystrokes, and it now reports that the keyCode is KEYCODE_UNKNOWN for every key I press. The keyboard doesn't work at all now.

Can someone point me to an answer or have some advice for me?

Thanks in advance.

p.s. Samsung Infuse 4G (SGH-I997). CyanogenMod. Android 4.1.2. No carrier.
magmatic is offline  
Reply With Quote