SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
JoyKit/JOYAxes2D.h
1 #import <Foundation/Foundation.h>
2 #import "JOYInput.h"
3
4 typedef enum {
5 JOYAxes2DUsageNone,
6 JOYAxes2DUsageLeftStick,
7 JOYAxes2DUsageRightStick,
8 JOYAxes2DUsageMiddleStick,
9 JOYAxes2DUsagePointer,
10 JOYAxes2DUsageNonGenericMax,
11
12 JOYAxes2DUsageGeneric0 = 0x10000,
13 } JOYAxes2DUsage;
14
15 @interface JOYAxes2D : JOYInput
16 + (NSString *)usageToString: (JOYAxes2DUsage) usage;
17 - (double)distance;
18 - (double)angle;
19 - (NSPoint)value;
20 @property JOYAxes2DUsage usage;
21 @end
22
23
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.