pqrs-org / Karabiner-archived

Karabiner (KeyRemap4MacBook) is a powerful utility for keyboard customization.
https://pqrs.org/osx/karabiner/
The Unlicense
3.82k stars 309 forks source link

dispatchKeyboardEvent is not working #829

Open nitin981 opened 7 years ago

nitin981 commented 7 years ago

Dear Member

I am trying to use IIOHIDEventService dispatchKeyboardEvent in 10.12 porting for trying purpose I created class which is derived from IOHIDEventservice

I tried with sending kHIDUsage_KeyboardCapsLock , but its not working , please let me know your comment .. when ever I use functional key this code get called ..

my final objective is to make functional and multimedia key works , which was using KeyboardSpecialEventCallback in 10.10

super::dispatchKeyboardEvent(ts,kHIDPage_KeyboardOrKeypad, kHIDUsage_KeyboardCapsLock, value, options);

Regards Nitin

nitin981 commented 7 years ago

Dear Developer please suggest , any help will be appreciated .