Android toggle soft keyboard from scancode?
<p>I was wondering if anyone knows what keyevents to toggle soft screen keyboard from a specific scancode,? (by modifying /system/usr/keylayout/Generic.kl fonICS)</p>

<p>Background: </p>

<p>I'm working on Android x86 and have an ASUS eee slate (EP121). There is a hardware button to toggle on screen keyboard in WIndows 7. Now, in android, it generates keycode 187, and I'd like for it to toggle the keyboard. There are some events i.e. KEY_KEYBOARD in Generic.kl, but after I enabled it, my keyboard is messed up. I can't enter any key. I'm not sure if I need to have corresponding setting in Generic.kcm?</p>

<p>Ultimately, I'd like to have the hardware press act like long press menu key, where it generally bring up the keyboard.</p>
