mirror of https://github.com/bsnes-emu/bsnes.git
30 lines
590 B
Objective-C
30 lines
590 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
typedef enum {
|
|
JOYAxisUsageNone,
|
|
JOYAxisUsageL1,
|
|
JOYAxisUsageL2,
|
|
JOYAxisUsageL3,
|
|
JOYAxisUsageR1,
|
|
JOYAxisUsageR2,
|
|
JOYAxisUsageR3,
|
|
JOYAxisUsageWheel,
|
|
JOYAxisUsageRudder,
|
|
JOYAxisUsageThrottle,
|
|
JOYAxisUsageAccelerator,
|
|
JOYAxisUsageBrake,
|
|
JOYAxisUsageNonGenericMax,
|
|
|
|
JOYAxisUsageGeneric0 = 0x10000,
|
|
} JOYAxisUsage;
|
|
|
|
@interface JOYAxis : NSObject
|
|
- (NSString *)usageString;
|
|
+ (NSString *)usageToString: (JOYAxisUsage) usage;
|
|
- (uint64_t)uniqueID;
|
|
- (double)value;
|
|
@property JOYAxisUsage usage;
|
|
@end
|
|
|
|
|