From 5b152a6c3f6cd78d28161905c5862724d73aa970 Mon Sep 17 00:00:00 2001 From: Lyude Date: Tue, 22 Nov 2016 19:23:57 -0500 Subject: [PATCH] gskill: Add some missing profile fields MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Must have missed these somewhere down the line when I was reading the specs for this… Signed-off-by: Lyude --- src/driver-gskill.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/driver-gskill.c b/src/driver-gskill.c index 4824c297..d45c53b7 100644 --- a/src/driver-gskill.c +++ b/src/driver-gskill.c @@ -210,7 +210,12 @@ struct gskill_profile_report { uint8_t angle_snap_ratio :4; uint8_t liftoff_value :5; bool liftoff_enabled :1; - uint16_t :10; /* unused */ + bool disable_leds_in_sleep:1; + enum { + GSKILL_LED_PROFILE_MODE_BACKGROUND = 0, + GSKILL_LED_PROFILE_MODE_OTHER = 1, + } led_profile_mode :1; + uint8_t :8; /* unused */ uint8_t current_dpi_level :4; uint8_t dpi_num :4;