Skip to content

Commit

Permalink
fix build (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxence-charriere committed Dec 4, 2018
1 parent d68f982 commit f156cfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mac/controller.m
Expand Up @@ -128,7 +128,7 @@ + (void)listen:(NSDictionary *)in return:(NSString *)returnID {
[Controller emitDirection:ID input:RightThumbstick x:x y:y];
};

#if MAC_OS_X_VERSION_MAX_ALLOWED < 101400
#if MAC_OS_X_VERSION_MAX_ALLOWED >= 101400
controller.profile.leftThumbstickButton.pressedChangedHandler =
^(GCControllerButtonInput *button, float value, BOOL pressed) {
[Controller emitButton:ID
Expand Down

0 comments on commit f156cfe

Please sign in to comment.