mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
sinowealth: add numeric IDs to sensor types
These IDs match the ones in SinoWealth's configuration software.
This commit is contained in:
committed by
staticssleever668
parent
16a1028e1d
commit
d133d30f62
@@ -105,11 +105,14 @@ struct sinowealth_color {
|
||||
} __attribute__((packed));
|
||||
_Static_assert(sizeof(struct sinowealth_color) == 3, "Invalid size");
|
||||
|
||||
/* Sensor IDs used in SinoWealth firmware and software. */
|
||||
enum sinowealth_sensor {
|
||||
PWM3327,
|
||||
PWM3360,
|
||||
PWM3389,
|
||||
};
|
||||
SINOWEALTH_SENSOR_NONE,
|
||||
PWM3360 = 0x06,
|
||||
PWM3327 = 0x0e,
|
||||
PWM3389 = 0x0f,
|
||||
} __attribute__((packed));
|
||||
_Static_assert(sizeof(enum sinowealth_sensor) == sizeof(uint8_t), "Invalid sensor enum size");
|
||||
|
||||
enum sinowealth_rgb_effect {
|
||||
RGB_OFF = 0,
|
||||
|
||||
Reference in New Issue
Block a user