Plumb trigger rumble and motion sensor callbacks

This commit is contained in:
Cameron Gutman
2023-06-28 21:27:46 -05:00
parent 4f3f27287c
commit 20d0087bdc
9 changed files with 82 additions and 1 deletions

View File

@@ -41,6 +41,8 @@
-(void) updateFinished:(Controller*)controller;
-(void) rumble:(unsigned short)controllerNumber lowFreqMotor:(unsigned short)lowFreqMotor highFreqMotor:(unsigned short)highFreqMotor;
-(void) rumbleTriggers:(uint16_t)controllerNumber leftTrigger:(uint16_t)leftTrigger rightTrigger:(uint16_t)rightTrigger;
-(void) setMotionEventState:(uint16_t)controllerNumber motionType:(uint8_t)motionType reportRateHz:(uint16_t)reportRateHz;
+(int) getConnectedGamepadMask:(StreamConfiguration*)streamConfig;