Skip to content

Commit

Permalink
implemented and tested osx sierra fix
Browse files Browse the repository at this point in the history
  • Loading branch information
willoftw committed Jul 16, 2017
1 parent cc7d717 commit c49680a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iohid_wrap.m
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ - (void)tick {
prep->left_y = (uint8_t) fmin(fmax(128 + leftY * 127, 0), 255);
prep->right_x = (uint8_t) fmin(fmax(128 + rightX * 127, 0), 255);
prep->right_y = (uint8_t) fmin(fmax(128 + rightY * 127, 0), 255);
callback(context, kIOReturnSuccess, self, kIOHIDReportTypeInput, 1, report, 64);
callback(context, kIOReturnSuccess, (void *)0xDEADBEEF, kIOHIDReportTypeInput, 0x01, report, 64);

ticks++;
}
Expand Down

0 comments on commit c49680a

Please sign in to comment.