mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-10-23 00:28:09 +00:00
Implement controller motion sensor support
Axis values probably still need to be swapped around to match other platforms
This commit is contained in:
1 parent
d48690b320
commit
ef5c3d36d3
2 files changed
+117
-1
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user