diff options
author | greg <code@gregorkopf.de> | 2015-07-15 21:36:45 +0200 |
---|---|---|
committer | Sebastian Leske <sebastian.leske@sleske.name> | 2015-12-17 23:56:32 +0100 |
commit | 8bdcd53d6b0b358d0a66fcb188e34ec2e974a66d (patch) | |
tree | 6ad49df3968bc73eeb841178e6bb534831bc559e /navit/keys.h | |
parent | e0d189992ba2ab742004b62146c8eea3c4c6d558 (diff) | |
download | navit-8bdcd53d6b0b358d0a66fcb188e34ec2e974a66d.tar.gz |
Add:gui_internal:Navigating menus with rotary encoder
Allow navigating the menus of the internal GUI with only PgUp/PgDown
keys, instead of using arrow and Enter keys (which remains supported).
This allows to operate the menus with a rotary encoder, if its two
actions are mapped to PgUp/PgDown.
Diffstat (limited to 'navit/keys.h')
-rw-r--r-- | navit/keys.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/navit/keys.h b/navit/keys.h index 2ef79c8f7..be7527ede 100644 --- a/navit/keys.h +++ b/navit/keys.h @@ -10,3 +10,6 @@ #define NAVIT_KEY_SEARCH 19 /* ^S */ #define NAVIT_KEY_BACK 27 /* Esc */ #define NAVIT_KEY_DELETE 127 +#define NAVIT_KEY_TAB 9 /* TAB */ +#define NAVIT_KEY_PAGE_UP 33 +#define NAVIT_KEY_PAGE_DOWN 34 |