-
LayoutNG original design document. Beware of it being somewhat outdated to some extent.
-
layout/ng/README.md
. Slightly more up-to-date, but lots of TODOs.
I was toying around with my PowerMate USB on the Mac.
I noticed that in the PowerMate application, you can set triggers for mouse wheel scrolling. But some applications coughMAMEcough don't pick it up.
Investigating I found that it provides its spinner as a uncommon HID type. So applications ignore it, not knowing how to handle that.
The click is presented as a normal button though. So no big deal there.
brew install libusb
brew install hidapi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Several macros simplifying use of weak references to self inside blocks | |
* which goal is to reduce risk of retain cycles. | |
* | |
* Example: | |
* @code | |
@interface Example : NSObject{ | |
int _i; | |
} |