android - Unable to get key events for touchscreen keyboard from /dev/input/event1 -
i unable key events /dev/input/event1. i'm able filter out output absolute x , y touch coordinates event code 53 , 54. i'm confused why there's no output event code 1 when type on soft keyboard. want know key user presses , how pressure. hope understand problem.
i'm on rooted samsung galaxy s4.
because soft keyboard doesn't work that. isn't part of os, application. keyboard app given touch events, , call java functions tell main app pressed. doesn't go through hardware input channels @ after press. os doesn't know keys where, ever.
most keyboards don't generate key events- generate word @ time output via committext.
basically, can't want in way want. way know keys pressed, without altering os, on other side of inputconnection processing commands inputmethodservice (keyboard).
Comments
Post a Comment