mirror of
https://github.com/danbulant/node-x11
synced 2026-05-19 04:18:35 +00:00
Adds missed AltGr keycode
`XK_ISO_Level3_Shift` is the code name for `AltGr`. `NoSymbol` will help us to know when a keycode is meaningless or if it is unknown. Also, i believe http://cgit.freedesktop.org/xorg/proto/xproto/tree/keysymdef.h is a better source to find keycodes. :-)
This commit is contained in:
parent
51b03c5173
commit
68e261dabe
1 changed files with 5 additions and 2 deletions
|
|
@ -1,4 +1,5 @@
|
|||
// TODO: add more XF86XK_* codes from http://codesearch.google.com/#FIqYkqGz-i8/classlib/modules/awt/src/main/java/unix/org/apache/harmony/awt/nativebridge/linux/X11Defs.java
|
||||
// or from http://cgit.freedesktop.org/xorg/proto/xproto/tree/keysymdef.h
|
||||
module.exports = {
|
||||
XK_VoidSymbol: 0xFFFFFF,
|
||||
XK_BackSpace: 0xFF08,
|
||||
|
|
@ -993,5 +994,7 @@ module.exports = {
|
|||
XK_hebrew_shin: 0xcf9,
|
||||
XK_hebrew_taw: 0xcfa,
|
||||
XK_hebrew_taf: 0xcfa,
|
||||
XK_Hebrew_switch: 0xFF7E
|
||||
};
|
||||
XK_Hebrew_switch: 0xFF7E,
|
||||
XK_ISO_Level3_Shift: 0xFE03,
|
||||
NoSymbol: 0
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue