Re:Hey Synaptics, Can You Please Stop Polling
by legulere on Tuesday September 05, 2017 @04:12PM
(#15178708)
Couldn't this be processed directly in the touchpad controller, which probably contains a microcontroller nowadays anyway?
[ Parent
| on HN ]
Re:Hey Synaptics, Can You Please Stop Polling
by TheAceOfHearts on Tuesday September 05, 2017 @05:36PM
(#15179325)
Can you clarify which part you think could be handled by the touchpad's microcontroller? In order to implement modern gestures and interactions you need full access to all input events, otherwise you'd lose the ability to customize or adequately handle changes to context.
Re:Hey Synaptics, Can You Please Stop Polling
by khedoros1 on Tuesday September 05, 2017 @06:32PM
(#15179633)
A finger touching and leaving would be a high-priority event for the controller to output, and it should probably internally monitor events at a high resolution.
For position, as reported to the OS: what use would actually need a report every 2 milliseconds? Intuitively, I'd think that motions that matter wouldn't need that many datapoints to reliably differentiate.
Re:Hey Synaptics, Can You Please Stop Polling
by mjg59 on Tuesday September 05, 2017 @06:44PM
(#15179705)
Remember that 500 interrupts per second isn't the same as a report every 2 milliseconds - reading status from a device may involve more than one interrupt.
Re:Hey Synaptics, Can You Please Stop Polling
by khedoros1 on Tuesday September 05, 2017 @06:53PM
(#15179761)
True. And for some kinds of work, input latency probably becomes noticeable on a subconscious level quicker than one would guess.
Re:Hey Synaptics, Can You Please Stop Polling
by ghusbands on Wednesday September 06, 2017 @09:21AM
(#15183430)
It's often used to compensate for the fact that you want an up-to-date reading at arbitrary points within a frame. If you only update once per frame, and some code reads the position just before that every frame, that's going to give a full extra frame of lag, rather than just an extra 2ms.
Re:Hey Synaptics, Can You Please Stop Polling
by derefr on Tuesday September 05, 2017 @05:15PM
(#15179187)
Indeed; in fact, that microcontroller could conceivably do the same thing programs like Synergy do with the input events: namely, converting them into a stream of bezier-curve-based gesture-motion events and reporting those to the OS. I can't imagine you'd need to report those at more than 5Hz or so (Synergy manages to have smooth multitouch movement across a LAN just fine with an even-lower update rate.)