diff options
author | Mattias Andrée <maandree@kth.se> | 2021-04-08 21:26:00 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-04-08 21:38:20 +0200 |
commit | 70f3882661d770d0e6acbc3cc5d29124400f4241 (patch) | |
tree | 34ae5d1474180bd2c8fcad5575b417ec15101066 /libterminput.h | |
parent | Add support for near full keyboard support (diff) | |
download | libterminput-70f3882661d770d0e6acbc3cc5d29124400f4241.tar.gz libterminput-70f3882661d770d0e6acbc3cc5d29124400f4241.tar.bz2 libterminput-70f3882661d770d0e6acbc3cc5d29124400f4241.tar.xz |
Add more sequences and remove pause key as it conflicts with F1
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libterminput.h')
-rw-r--r-- | libterminput.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libterminput.h b/libterminput.h index d2f505f..f2f0374 100644 --- a/libterminput.h +++ b/libterminput.h @@ -18,7 +18,7 @@ enum libterminput_key { LIBTERMINPUT_RIGHT, LIBTERMINPUT_LEFT, LIBTERMINPUT_BEGIN, /* keypad 5 without numlock */ - LIBTERMINPUT_PAUSE, + LIBTERMINPUT_MACRO, LIBTERMINPUT_TAB, /* backtab if with shift */ LIBTERMINPUT_F1, LIBTERMINPUT_F2, @@ -51,11 +51,14 @@ enum libterminput_key { LIBTERMINPUT_KEYPAD_7, LIBTERMINPUT_KEYPAD_8, LIBTERMINPUT_KEYPAD_9, + LIBTERMINPUT_KEYPAD_PLUS, LIBTERMINPUT_KEYPAD_MINUS, + LIBTERMINPUT_KEYPAD_TIMES, + LIBTERMINPUT_KEYPAD_DIVISION, + LIBTERMINPUT_KEYPAD_DECIMAL, LIBTERMINPUT_KEYPAD_COMMA, LIBTERMINPUT_KEYPAD_POINT, LIBTERMINPUT_KEYPAD_ENTER, - LIBTERMINPUT_MACRO }; enum libterminput_type { |