servo / core-foundation-rs

Rust bindings to Core Foundation and other low level libraries on Mac OS X and iOS
Other
987 stars 216 forks source link

fix(core-graphics): add composite events to CGEventType #670

Closed pewsheen closed 3 months ago

pewsheen commented 4 months ago

I need to listen to a NX_SYSDEFINED event. I found it was not coded in the CGEventType enum but on the http://opensource.apple.com/source/IOHIDFamily/IOHIDFamily-700/IOHIDSystem/IOKit/hidsystem/IOLLEvent.h

wusyong commented 3 months ago

It seems Tauri applied some workaround to resolve this. Perhaps this one can be closed.

pewsheen commented 3 months ago

Eventually, we linked the framework by ourselves, so this is no longer required.