mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
media: rc: mark input device as pointing stick
commit ce819649b03d932dc19b0cb6be513779bf64fad3 upstream. libinput refuses pointer movement from rc-core, since it believes it's not a pointer-type device: libinput error: event17 - Media Center Ed. eHome Infrared Remote Transceiver (1784:0008): libinput bug: REL_X/Y from a non-pointer device Fixes:158bc148a3("media: rc: mce_kbd: input events via rc-core's input device") Fixes:0ac5a603a7("media: rc: imon: report mouse events using rc-core's input device") Cc: [email protected] # 4.20+ Signed-off-by: Sean Young <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
9eb2551315
commit
6f9e8b6244
1 changed files with 1 additions and 0 deletions
|
|
@ -1773,6 +1773,7 @@ static int rc_prepare_rx_device(struct rc_dev *dev)
|
|||
set_bit(MSC_SCAN, dev->input_dev->mscbit);
|
||||
|
||||
/* Pointer/mouse events */
|
||||
set_bit(INPUT_PROP_POINTING_STICK, dev->input_dev->propbit);
|
||||
set_bit(EV_REL, dev->input_dev->evbit);
|
||||
set_bit(REL_X, dev->input_dev->relbit);
|
||||
set_bit(REL_Y, dev->input_dev->relbit);
|
||||
|
|
|
|||
Loading…
Reference in a new issue