SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
iOS/GCControllerGetElements.h
1 #import <GameController/GameController.h>
2
3 typedef enum {
4 GBUsageDpad,
5 GBUsageButtonA,
6 GBUsageButtonB,
7 GBUsageButtonX,
8 GBUsageButtonY,
9 GBUsageButtonMenu,
10 GBUsageButtonOptions,
11 GBUsageButtonHome,
12 GBUsageLeftThumbstick,
13 GBUsageRightThumbstick,
14 GBUsageLeftShoulder,
15 GBUsageRightShoulder,
16 GBUsageLeftTrigger,
17 GBUsageRightTrigger,
18 GBUsageLeftThumbstickButton,
19 GBUsageRightThumbstickButton,
20 GBUsageTouchpadButton,
21 GBUsageMiscStartIndex, // Add to this
22 } GBControllerUsage;
23
24
25 NSDictionary <NSNumber *, GCControllerElement *> *GCControllerGetElements(GCController *self);
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.