

If anyone has any technical info on all this, or solutions, please let me know. I do not plan do do any more work on Scroll Reverser unless this situation is resolved.Ī note on alternative apps: MOS and UnnaturalScrollWheels are excellent alternatives to Scroll Reverser that reverse wheel mouse scrolling independently of the trackpad. However, neither of them can distinguish the Magic Mouse from the trackpad - that has always been Scroll Reverser's speciality.

Typealias CGEventCopyIOHIDEventType = (_ cgEvent: CGEvent) -> IOHIDEvent Let cgHandle = dlopen( "/System/Library/Frameworks/amework/CoreGraphics ", RTLD_NOW) #!/usr/bin/swift import Foundation let offset = 170 let eventTapCallback: CGEventTapCallBack = It's specifically trackpad/Magic Mouse reversing that is now not working. Let ioKitHandle = dlopen( "/System/Library/Frameworks/amework/IOKit ", RTLD_NOW) Let CGEventCopyIOHIDEvent = unsafeBitCast( dlsym(cgHandle, "CGEventCopyIOHIDEvent "), to: CGEventCopyIOHIDEventType. Typealias IOHIDEventGetFloatValueType = (_ event: IOHIDEvent, UInt32) -> Double let IOHIDEventGetFloatValue = unsafeBitCast( dlsym(ioKitHandle, "IOHIDEventGetFloatValue "), to: IOHIDEventGetFloatValueType.
