media: rc: mark input device as pointing stick
Subsystems (3)
Sean Young
maintainerPATCH 1/1 media: rc: mark input device as pointing stick
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
Cc [email protected] # 4.20+
Signed-off-by Sean Young <[email protected]>
--- drivers/media/rc/rc-main.c | 1 + 1 file changed, 1 insertion(+)
drivers/media/rc/rc-main.c +1 -0
@@ -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);
Signature · 1 line
2.21.0