Dont send events for modifier keys unless in all key mode

This commit is contained in:
Kovid Goyal
2021-01-14 04:31:55 +05:30
parent 6b2ffc774f
commit 39f41faf9f
3 changed files with 10 additions and 1 deletions

View File

@@ -315,10 +315,12 @@ be notified of key repeat/release events. These types of events are needed for
some applications, such as games (think of movement using the ``WASD`` keys).
This progressive enhancement (``0b1000``) turns on key reporting even for key
events that generate next. When it is enabled, text will not be sent, instead
events that generate text. When it is enabled, text will not be sent, instead
only key events are sent. If the text is needed as well, combine with the
Report associated text enhancement below.
Additionally, with this mode, events for pressing modifier keys are reported.
.. _report_text:
Report associated text