ref: bce6ff4b8b16c32cbfced092983823acf3c7deb1
parent: 80d7f985cb1d0b8aa8702a95edfa71dd9ec10a37
author: Jacob Moody <moody@posixcafe.org>
date: Thu Feb 9 22:02:08 EST 2023
rott keydefines
--- a/include/npe/SDL2/SDL_keycode.h
+++ b/include/npe/SDL2/SDL_keycode.h
@@ -76,6 +76,15 @@
SDLK_PLUS = '+',
SDLK_EQUALS = '=',
SDLK_UNDERSCORE = '_',
+ SDLK_LEFTBRACKET = '[',
+ SDLK_RIGHTBRACKET = ']',
+ SDLK_SEMICOLON = ';',
+ SDLK_QUOTE = '\'',
+ SDLK_BACKQUOTE = '`',
+ SDLK_BACKSLASH = '\\',
+ SDLK_COMMA = ',',
+ SDLK_PERIOD = '.',
+ SDLK_SLASH = '/',
SDLK_LALT = Kalt,
SDLK_RALT = Kaltgr, /* FIXME what about keyboards without it? */
@@ -91,6 +100,23 @@
SDLK_KP_ENTER,
SDLK_AC_BACK,
SDLK_PAUSE,
+ SDLK_KP_DIVIDE,
+ SDLK_MODE,
+ SDLK_KP_PLUS,
+ SDLK_NUMLOCKCLEAR,
+ SDLK_SCROLLLOCK,
+ SDLK_KP_PERIOD,
+ SDLK_KP_7,
+ SDLK_KP_8,
+ SDLK_KP_9,
+ SDLK_KP_MINUS,
+ SDLK_KP_4,
+ SDLK_KP_5,
+ SDLK_KP_6,
+ SDLK_KP_1,
+ SDLK_KP_2,
+ SDLK_KP_3,
+ SDLK_KP_0,
/* FIXME no distinction */
KMOD_LSHIFT = 1<<0,