Main update here is that I've got rid of usbhid library, using IOKit framework instead. That resulted in a smaller code. Other updates:
added support for the haptics
added "third" click to be able to use "previous track" event
changed icons, to my taste they look better in the menubar
added support for the localization (but only English is available for now)
Currently there is only one problem. I can't figure out how to make the dial not go to sleep. Or when resuming, send an event like "resume was made by pressing the button". Everything else is fun, but absence of this feature makes whole application much worse.
Will look into this more (maybe in 8 more months, hehe).
Main update here is that I've got rid of usbhid library, using IOKit framework instead. That resulted in a smaller code. Other updates:
Currently there is only one problem. I can't figure out how to make the dial not go to sleep. Or when resuming, send an event like "resume was made by pressing the button". Everything else is fun, but absence of this feature makes whole application much worse.
Will look into this more (maybe in 8 more months, hehe).