From ba0c8932395a05187824ce2835eb33331967a45a Mon Sep 17 00:00:00 2001 From: David Thompson Date: Mon, 16 Nov 2020 17:23:16 -0500 Subject: Remove scancode argument from key-press and key-release handlers. --- doc/api.texi | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) (limited to 'doc') diff --git a/doc/api.texi b/doc/api.texi index 70c3016..cf82b6f 100644 --- a/doc/api.texi +++ b/doc/api.texi @@ -75,15 +75,8 @@ the keyboard: @enumerate @item -@var{key}: The symbolic name of the ``virtual'' key that was pressed. -For example: @code{backspace}. It's called a virtual key because the -operating system may map a physical keyboard key to another key -entirely, such as how the author likes to bind the ``caps lock'' key -to mean ``control''. - -@item -@var{scancode}: The symbolic name of the physical key that was -pressed. +@var{key}: The symbolic name of the key that was pressed. For +example: @code{backspace}. @item @var{modifiers}: A list of the symbolic names of modifier keys that @@ -101,11 +94,7 @@ on the keyboard: @enumerate @item -@var{key}: The symbolic name of the ``virtual'' key that was released. - -@item -@var{scancode}: The symbolic name of the physical key that was -released. +@var{key}: The symbolic name of the key that was released. @item @var{modifiers}: A list of the symbolic names of modifier keys that -- cgit v1.2.3