Remove All Ads from XDA

[Q] No soft-keyboard present when custom /dev/uinput device is registered

23 posts
Thanks Meter: 5
By mihaval, Junior Member on 18th June 2014, 10:25 AM
Post Reply Email Thread

I developed a custom input (using /dev/uniput) to input remote characters to the device. On Nexus 7, soft-keyboard is not shown if the uinput devices registers that it handles QWERTY keys. If I register just keys 0 - 9, than the soft keyboard is shown and in addition to that, I can "inject' keys 0 - 9. If I register additional keys (QWERTY), the soft keyboard is not shown anymore.

This is a problem since most accented characters can not be input otherwise (like €, Ç, Â, etc) - they can be, if the soft keyboard is present.

Is there perhaps a "registration switch" of some sort to tell android-platform to leave the soft-keyboard appearing when user input is required (i.e. on EditText focus)? I'm using low-level ioctl commands to create and configure /dev/uinput. The same code works without problems on SGSII with CM10, for instance (i.e. the soft keyboard is shown even though the custom input device is registered).

Kind regards,
Post Reply Subscribe to Thread

development, root, uinput

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools
Display Modes