mirror of
https://github.com/libretro/bsnes-libretro.git
synced 2024-12-03 23:32:13 +00:00
10 lines
354 B
Objective-C
10 lines
354 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;
|
|
- (void) joystick:(NSString *)joystick_name hat: (unsigned)hat changedState: (int8_t) value;
|
|
|
|
@end
|