From 191913b7ebcca707eba0b5bae7b7c73f97047eee Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 5 Feb 2019 14:14:36 +0530 Subject: [PATCH] Add a paragraph about unrecognized key handling --- docs/protocol-extensions.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/protocol-extensions.rst b/docs/protocol-extensions.rst index 0039b42f5..5ea5c611b 100644 --- a/docs/protocol-extensions.rst +++ b/docs/protocol-extensions.rst @@ -136,6 +136,10 @@ Alt -- ``0x2``, Control -- ``0x4`` and Super -- ``0x8``. ```` is a number (encoded in base85) corresponding to the key pressed. The key name to number mapping is defined in :doc:`this table `. +Client programs must ignore events for keys they do not know. The mapping in +the above table is stable and will never change, however, new codes might be +added to it in the future, for new keys. + For example:: _KpGp\ is ++x (press)