diff options
author | Mattias Andrée <maandree@kth.se> | 2021-04-02 01:55:44 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-04-02 01:55:44 +0200 |
commit | a523a2d3669b8799121a9d4260decb20df39b590 (patch) | |
tree | 8d83eadb1cd20c94e04122095bdc7fdd2b0565e8 /libterminput.h | |
parent | Add TODO (diff) | |
download | libterminput-a523a2d3669b8799121a9d4260decb20df39b590.tar.gz libterminput-a523a2d3669b8799121a9d4260decb20df39b590.tar.bz2 libterminput-a523a2d3669b8799121a9d4260decb20df39b590.tar.xz |
Add more key codes
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | libterminput.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libterminput.h b/libterminput.h index b86a2bd..4e33d09 100644 --- a/libterminput.h +++ b/libterminput.h @@ -32,10 +32,10 @@ enum libterminput_key { LIBTERMINPUT_F10, LIBTERMINPUT_F11, LIBTERMINPUT_F12, - LIBTERMINPUT_HOME, + LIBTERMINPUT_HOME, /* = find */ LIBTERMINPUT_INS, - LIBTERMINPUT_DEL, - LIBTERMINPUT_END, + LIBTERMINPUT_DEL, /* = remove */ + LIBTERMINPUT_END, /* = select */ LIBTERMINPUT_PRIOR, /* page up */ LIBTERMINPUT_NEXT, /* page down */ LIBTERMINPUT_ERASE, /* backspace */ @@ -54,7 +54,8 @@ enum libterminput_key { LIBTERMINPUT_KEYPAD_MINUS, LIBTERMINPUT_KEYPAD_COMMA, LIBTERMINPUT_KEYPAD_POINT, - LIBTERMINPUT_KEYPAD_ENTER + LIBTERMINPUT_KEYPAD_ENTER, + LIBTERMINPUT_MACRO }; enum libterminput_type { |