I have a VOXEL which i sometime use in tablet mode, when in tabletmode it seems I can only configure libinput to block all keys in including the side volume buttons, or allow all keys including the main keyboard when in tablet mode. Is there a special trick chromeos uses to separate the events?
This issue may be helpful
seems to be unrelated, tabletmode suspend blocks both the keyboard and volume rocker, disabling it allows both (causing accidental keypresses in tablet mode). it seems like both inputs send to the same event node, is ec firmware modification required?
Are you sure it sends to the same event device? It shouldn’t.
With keyd disabled libinput debug-events
shows both events coming from event2
the emulated AT keyboard device