From c0792168f5a7ed48fc6feeb7fce01b83df405df2 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 2 Jul 2023 16:42:09 -0500 Subject: [PATCH] Add LI_BATTERY_PERCENTAGE_UNKNOWN value --- src/Limelight.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Limelight.h b/src/Limelight.h index 0bbe20f..eae150c 100644 --- a/src/Limelight.h +++ b/src/Limelight.h @@ -734,6 +734,7 @@ int LiSendControllerMotionEvent(uint8_t controllerNumber, uint8_t motionType, fl #define LI_BATTERY_STATE_CHARGING 0x03 #define LI_BATTERY_STATE_NOT_CHARGING 0x04 // Connected to power but not charging #define LI_BATTERY_STATE_FULL 0x05 +#define LI_BATTERY_PERCENTAGE_UNKNOWN 0xFF int LiSendControllerBatteryEvent(uint8_t controllerNumber, uint8_t batteryState, uint8_t batteryPercentage); // This function queues a vertical scroll event to the remote server.