Closed alan412 closed 2 years ago
I forgot to mention that it also adds an OpMode - GamepadLedRumbleDemo that demos a few of the features.
Thanks Alan, very cool.
@alan412 It would be neat to implement this for real gamepads as well, but I don't know if there is a Java library available with that capability. I'll look around.
This is a little crazy, and I apologize for the size of the pull request.
This adds rumble and led effects, but only for the virtual gamepad.
The rumble is done by showing a background on the left and right trigger where it is darker the stronger the rumble is.
The led changes the background of the entire virtual gamepad.