BLE-Gamepad-Client 0.3.2
Loading...
Searching...
No Matches
BLEVibrationsCommand.h
1#pragma once
2
6 float leftTriggerMotor{0.0f};
7
10 float rightTriggerMotor{0.0f};
11
14 float leftMotor{0.0f};
15
18 float rightMotor{0.0f};
19
22 uint32_t durationMs{0};
23
26 uint32_t pauseMs{0};
27
29 uint8_t cycles{1};
30};
Definition BLEVibrationsCommand.h:3
float rightMotor
Power applied to the motor located in the right handle of the gamepad. This motor produces more subtl...
Definition BLEVibrationsCommand.h:18
float rightTriggerMotor
Power applied to the motor behind right trigger. Allowed values are between 0.0 and 1....
Definition BLEVibrationsCommand.h:10
uint32_t pauseMs
Pause duration in milliseconds. Maximum allowed duration is 2550 ms (2.55 seconds)....
Definition BLEVibrationsCommand.h:26
float leftMotor
Power applied to the motor located in the left handle of the gamepad. This motor produces strong low-...
Definition BLEVibrationsCommand.h:14
float leftTriggerMotor
Power applied to the motor behind left trigger. Allowed values are between 0.0 and 1....
Definition BLEVibrationsCommand.h:6
uint32_t durationMs
Vibration duration in milliseconds. Maximum allowed duration is 2550 ms (2.55 seconds)....
Definition BLEVibrationsCommand.h:22
uint8_t cycles
Number of vibration-pause cycles. Defaults to 1 cycle.
Definition BLEVibrationsCommand.h:29