SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
JoyKit/JOYEmulatedButton.h
1 #import "JOYButton.h"
2 #import "JOYAxis.h"
3 #import "JOYAxes2D.h"
4 #import "JOYHat.h"
5
6 @interface JOYEmulatedButton : JOYButton
7 - (instancetype)initWithUsage:(JOYButtonUsage)usage type:(JOYButtonType)type uniqueID:(uint64_t)uniqueID;
8 - (bool)updateStateFromAxis:(JOYAxis *)axis;
9 - (bool)updateStateFromAxes2D:(JOYAxes2D *)axes;
10 - (bool)updateStateFromHat:(JOYHat *)hat;
11 @end
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.