[media] ati_remote: Better default keycodes
authorGeorge Spelvin <linux@horizon.com>
Sun, 11 May 2014 11:19:01 +0000 (08:19 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sat, 26 Jul 2014 02:59:06 +0000 (23:59 -0300)
commit356237d67a447138ec0cae723c0a3e755e3a5a85
treef47e4252ffab69295971d1c27e7688ed90c7548a
parent220edfb0f724594327e291582249d47e6017a697
[media] ati_remote: Better default keycodes

This tries to make them more like other remotes, and/or
the button labels.

Notably, the (>>) button is made KEY_FASTFORWARD, which is the
correct opposite of (<<)'s KEY_REVERSE.  (It was KEY_FORWARD,
something else entirely.)

Likewise, KEY_STOP is the Sun keyboard "interrupt program" key;
the media key is KEY_STOPCD.

A restriction is that I try to avoid keycodes above 255, as the X11
client/server protocol is limited to 8-bit key codes.  If not for
this, I would have used the KEY_NUMERIC_x codes for the numbers.

Signed-off-by: George Spelvin <linux@horizon.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/rc/keymaps/rc-ati-x10.c
This page took 0.025904 seconds and 5 git commands to generate.