SameBoy/Cocoa/GBJoystickListener.h
2017-12-30 16:23:17 +02:00

9 lines
261 B
Objective-C

#import <AppKit/AppKit.h>
@protocol GBJoystickListener <NSObject>
- (void) joystick:(NSString *)joystick_name button: (unsigned)button changedState: (bool) state;
- (void) joystick:(NSString *)joystick_name axis: (unsigned)axis movedTo: (signed) value;
@end