dispatchAbsolutePointerEvent pressure sensitivity

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.

Replies

I have similar problem with dispatchAbsolutePointerEvent. The function is not works.

But the dispatchRelativePointerEvent is works, that is pretty odd. My super class is IOHIPointing.

My driver is works 10.8~10.11. After 10.12 that is not works anymore.


Did you found a solution to fixed this?

See my response on your other thread.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"