Implement controller motion sensor support

Axis values probably still need to be swapped around to match other platforms
This commit is contained in:
Cameron Gutman committed 2023-06-29 00:35:35 -05:00
1 parent d48690b320
commit ef5c3d36d3
2 files changed
+117 -1

No files matched your search

+5
View File
@@ -35,6 +35,11 @@
@property (nonatomic) HapticContext* _Nullable leftTriggerMotor;
@property (nonatomic) HapticContext* _Nullable rightTriggerMotor;
@property (nonatomic) NSTimer* _Nullable accelTimer;
@property (nonatomic) GCAcceleration lastAccelSample;
@property (nonatomic) NSTimer* _Nullable gyroTimer;
@property (nonatomic) GCRotationRate lastGyroSample;
@property (nonatomic) BOOL reportedArrival;
@end