Closed numist closed 10 years ago
The best way to extract scroll data from the event tap is not obvious. Hooking kCGEventScrollWheel
events and using CGEventGetIntegerValueField(event, kCGScrollWheelEventPointDeltaAxis1)
to get a delta has very poor performance, bad enough to make the interface difficult to use with a scroll wheel.
The state of the scroll stuff is: 5262a86abc2dfe49073180ec34f3d8b05472df44
@gwynne: Do you have any clues as to how Dock does this? It's obviously not how I'm trying to do it…
@gwynne fixed it! I am a moron and wasn't retaining the event.
Fixed in ad04d11b95bd67c60708414e6d75d498d0fa20cf, branch numist/event-system is sufficiently out of date from real life to be merged, but it's a good starting point for this once the other in-flight issues are merged.
Similar to selection-follows mouse.