I'm working on a kernel extension to drive a touchscreen interface. Everything works at this point except pressure sensitivity with a stylus. I've tried using dispatchAbsolutePointerEvent, dispatchDigitizerEvent, etc, etc, out the HID Event Driver, and while the pressure information is there from the transducer, the OS doesn't respond to it on 10.12+. It *does* work on El Capitan. So obviously, someting in the HID Manager changed, or there's an option bit that isn't being set, but whatever it is I haven't been able to figure out. So if anyone has any information on how macOS handles pressure values, I'd appreciate a push in the right direction. I'm using C++ btw, but there didn't seem to be a way to change the category.
dispatchAbsolutePointerEvent pressure sensitivity
Add a Comment