proto: clarify the ei_keyboard.modifier event a bit

This is an event in response to "something change the modifier state"
where "something" was not an ei_keyboard.key event on this interface.
Examples are NumLock on after resumed, a nonzero XKB group, etc.

Closes #57
This commit is contained in:
Peter Hutterer 2024-07-29 14:27:06 +10:00
parent 54dd4353df
commit 917b79f83e

View file

@ -1355,9 +1355,14 @@
<event name="modifiers" since="1">
<description summary="Modifier change event">
Notification that the EIS implementation has changed modifier
states on this device. Future ei_keyboard.key requests must take the
new modifier state into account.
Notification that the EIS implementation has changed group or modifier
states on this device, but not necessarily in response to an
ei_keyboard.key event. Future ei_keyboard.key requests must take the
new group or modifier state into account.
This event should not be sent in response to ei_keyboard.key events
that change the group or modifier state according to the keymap. The
client is expected to track such group or modifier states on its own.
A client must assume that all modifiers are lifted when it
receives an ei_device.paused event. The EIS implementation