tp-compact-keyboard
tp-compact-keyboard copied to clipboard
Hide ABS (especially multitouch) events
The keyboard exposes a huge number of irrelevant events. Here are a few:
Event code 47 (ABS_MT_SLOT)
Event code 48 (ABS_MT_TOUCH_MAJOR)
Event code 49 (ABS_MT_TOUCH_MINOR)
Event code 50 (ABS_MT_WIDTH_MAJOR)
Event code 51 (ABS_MT_WIDTH_MINOR)
Event code 52 (ABS_MT_ORIENTATION)
Event code 53 (ABS_MT_POSITION_X)
Event code 54 (ABS_MT_POSITION_Y)
Event code 55 (ABS_MT_TOOL_TYPE)
Event code 56 (ABS_MT_BLOB_ID)
Event code 57 (ABS_MT_TRACKING_ID)
Event code 58 (ABS_MT_PRESSURE)
Event code 59 (ABS_MT_DISTANCE)
Event code 60 (ABS_MT_TOOL_X)
Event code 61 (ABS_MT_TOOL_Y)
Event code 62 (?)
Event code 63 (?)
The problem is that Chrome OS gets confused by the multitouch events and needs some special workarounds: https://code.google.com/p/chromium/issues/detail?id=430319
To cleanly fix this, it would be better to just not expose the EV_ABS events to userspace. I don't think they can ever be generated by the device anyway.