Skip to contentSkip to conversation

media: rc: mark input device as pointing stick

PATCH New Sean Young 1 participant 1 message Sep 30, 2019

Subsystems (3)
lore
Share & tools
lore

Sean Young

author maintainer
#0 lore raw

PATCH 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

---
 drivers/media/rc/rc-main.c | 1 +
 1 file changed, 1 insertion(+)
drivers/media/rc/rc-main.c +1 -0
index 13da4c5c7d17..7741151606ef 100644
@@ -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