summaryrefslogtreecommitdiffstats
path: root/input/keycodes.c
diff options
context:
space:
mode:
authorMartin Herkt <lachs0r@srsfckn.biz>2015-02-14 03:50:26 +0100
committerMartin Herkt <lachs0r@srsfckn.biz>2015-02-14 03:50:26 +0100
commit9aaec7cffb2fb1543d4c3cabb55165f606c0b87d (patch)
tree802a4aa16634a6bbdf98de86f45094cdc70632aa /input/keycodes.c
parent5247416735e86417d466f0137cf907b5921602a1 (diff)
downloadmpv-9aaec7cffb2fb1543d4c3cabb55165f606c0b87d.tar.bz2
mpv-9aaec7cffb2fb1543d4c3cabb55165f606c0b87d.tar.xz
x11: add XK_Cancel to the list of special keys
Some IR receivers emit this key by default for remote control buttons. Make it mappable.
Diffstat (limited to 'input/keycodes.c')
-rw-r--r--input/keycodes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/input/keycodes.c b/input/keycodes.c
index e5ca0bf77d..e448a9bd31 100644
--- a/input/keycodes.c
+++ b/input/keycodes.c
@@ -194,6 +194,7 @@ static const struct key_name key_names[] = {
{ MP_KEY_FAVORITES, "FAVORITES" },
{ MP_KEY_SEARCH, "SEARCH" },
{ MP_KEY_SLEEP, "SLEEP" },
+ { MP_KEY_CANCEL, "CANCEL" },
// These are kept for backward compatibility
{ MP_KEY_PAUSE, "XF86_PAUSE" },