Fake proximity out event on Dell BLE pen
The Dell Active Pen (I think that's what it's called) has its own timeout before it sends proximity out events. This causes a fake proximity in/out event since 9bba1499. The last event is:
- evdev:
- [ 0, 296539, 3, 0, 0] # EV_ABS / ABS_X 0
- [ 0, 296539, 3, 1, 0] # EV_ABS / ABS_Y 0
- [ 0, 296539, 1, 320, 0] # EV_KEY / BTN_TOOL_PEN 0
- [ 0, 296539, 4, 0, -368834328] # EV_MSC / MSC_SERIAL -368834328
- [ 0, 296539, 3, 40, 0] # EV_ABS / ABS_MISC 0
- [ 0, 296539, 0, 0, 0] # ------------ SYN_REPORT (0) ---------- +209ms
libinput debug-events
output:
event9 - tablet: forcing proximity after timeout
event9 TABLET_TOOL_PROXIMITY +4.64s 97.91/108.57 pressure: 0.00 pen (0xea0408e8, id 0x431) proximity-out
event9 TABLET_TOOL_PROXIMITY +4.80s 0.00*/0.00* pressure: 0.00* pen (0xea0408e8, id 0x431) proximity-in axes:p btn:SS2
event9 - tablet: forcing proximity after timeout
event9 TABLET_TOOL_PROXIMITY +4.85s 0.00/0.00 pressure: 0.00 pen (0xea0408e8, id 0x431) proximity-out
This is a bug, libinput shouldn't treat a proximity out event as proximity in, just to trigger another proximity out event.
- libinput recording: pen.yml
Somewhat related to #304 (closed)