71
MilkyTracker Feature Requests / Re: OS X: Right-Cmd and Right-Opt keys!
« on: November 04, 2011, 20:28:23 »
Just been researching this, there is no easy way to obtain unique key-codes for the left/right modifier keys on OSX. The difficult way is to create a new HID manager for the keyboard device, and setup a callback to handle input events; which sounds a lot easier than it is!
Some references for anyone feeling brave:
Introduction to Working With HID Class Device Interfaces
IOHIDManager.h
New HID Manager APIs for Mac OS X version 10.5
Virtual Awesome's HID manager interface
Some references for anyone feeling brave:
Introduction to Working With HID Class Device Interfaces
IOHIDManager.h
New HID Manager APIs for Mac OS X version 10.5
Virtual Awesome's HID manager interface