diff options
author | nanahi <130121847+na-na-hi@users.noreply.github.com> | 2023-11-27 01:04:10 -0500 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2023-12-06 11:07:37 +0100 |
commit | 4c47dbe22c8afedbb3603e4acb23621277f5ef43 (patch) | |
tree | a675b4456510461cae7fb9603987fad1ec93c466 /input/keycodes.h | |
parent | df166997ae6cc10b444b00f664e89b828140bc68 (diff) | |
download | mpv-4c47dbe22c8afedbb3603e4acb23621277f5ef43.tar.bz2 mpv-4c47dbe22c8afedbb3603e4acb23621277f5ef43.tar.xz |
input: add missing forward media key
XF86Back and XF86Forward are mostly used to navigate file and web browsers
to go back/forward in history. XF86Forward isn't recognized right now,
so add it.
Because XF86AudioForward already takes the "FORWARD" name, rename the
browse keys to GO_BACK and GO_FORWARD instead.
Diffstat (limited to 'input/keycodes.h')
-rw-r--r-- | input/keycodes.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/input/keycodes.h b/input/keycodes.h index a5a746aab7..1a21a3c89f 100644 --- a/input/keycodes.h +++ b/input/keycodes.h @@ -82,10 +82,11 @@ #define MP_KEY_CHANNEL_DOWN (MP_KEY_MM_BASE+22) #define MP_KEY_PLAYONLY (MP_KEY_MM_BASE+23) #define MP_KEY_PAUSEONLY (MP_KEY_MM_BASE+24) -#define MP_KEY_BACK (MP_KEY_MM_BASE+25) -#define MP_KEY_TOOLS (MP_KEY_MM_BASE+26) -#define MP_KEY_ZOOMIN (MP_KEY_MM_BASE+27) -#define MP_KEY_ZOOMOUT (MP_KEY_MM_BASE+28) +#define MP_KEY_GO_BACK (MP_KEY_MM_BASE+25) +#define MP_KEY_GO_FORWARD (MP_KEY_MM_BASE+26) +#define MP_KEY_TOOLS (MP_KEY_MM_BASE+27) +#define MP_KEY_ZOOMIN (MP_KEY_MM_BASE+28) +#define MP_KEY_ZOOMOUT (MP_KEY_MM_BASE+29) /* Function keys */ #define MP_KEY_F (MP_KEY_BASE+0x40) |