2019-10-19 16:26:04 +00:00
|
|
|
#import "JOYButton.h"
|
|
|
|
#import "JOYAxis.h"
|
|
|
|
#import "JOYAxes2D.h"
|
|
|
|
#import "JOYHat.h"
|
|
|
|
|
|
|
|
@interface JOYEmulatedButton : JOYButton
|
2021-11-12 16:10:03 +00:00
|
|
|
- (instancetype)initWithUsage:(JOYButtonUsage)usage type:(JOYButtonType)type uniqueID:(uint64_t)uniqueID;
|
2019-10-19 16:26:04 +00:00
|
|
|
- (bool)updateStateFromAxis:(JOYAxis *)axis;
|
|
|
|
- (bool)updateStateFromAxes2D:(JOYAxes2D *)axes;
|
|
|
|
- (bool)updateStateFromHat:(JOYHat *)hat;
|
|
|
|
@end
|