]> asedeno.scripts.mit.edu Git - linux.git/commit
media: rc: some events are dropped by userspace
authorSean Young <sean@mess.org>
Tue, 18 Sep 2018 08:50:20 +0000 (04:50 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 5 Oct 2018 10:54:26 +0000 (06:54 -0400)
commitfec225a04330d0f222d24feb5bea045526031675
tree72a5c0ba7174160f0e7cf73041e4ce842d378082
parentbe9c03e4120d42fcdb8debe3c6237629e51b8864
media: rc: some events are dropped by userspace

libevdev (which is used by libinput) gets a list of keycodes from the
input device on creation. Any events with keycodes which are not in this
list are silently dropped. So, set all keycodes on device creation since
we do not know which will be used if the keymap changes.

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/rc/rc-main.c