Implement controller LED and battery state extensions

This commit is contained in:
Cameron Gutman
2023-07-02 19:03:31 -05:00
parent 803ad116fb
commit d4079940b4
8 changed files with 196 additions and 7 deletions

View File

@@ -2257,6 +2257,11 @@ public class Game extends Activity implements SurfaceHolder.Callback,
controllerHandler.handleSetMotionEventState(controllerNumber, motionType, reportRateHz);
}
@Override
public void setControllerLED(short controllerNumber, byte r, byte g, byte b) {
controllerHandler.handleSetControllerLED(controllerNumber, r, g, b);
}
@Override
public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {
if (!surfaceCreated) {