mirror of https://github.com/bsnes-emu/bsnes.git
12 lines
347 B
Objective-C
12 lines
347 B
Objective-C
#import "JOYButton.h"
|
|
#import "JOYAxis.h"
|
|
#import "JOYAxes2D.h"
|
|
#import "JOYHat.h"
|
|
|
|
@interface JOYEmulatedButton : JOYButton
|
|
- (instancetype)initWithUsage:(JOYButtonUsage)usage uniqueID:(uint64_t)uniqueID;
|
|
- (bool)updateStateFromAxis:(JOYAxis *)axis;
|
|
- (bool)updateStateFromAxes2D:(JOYAxes2D *)axes;
|
|
- (bool)updateStateFromHat:(JOYHat *)hat;
|
|
@end
|