mirror of
https://github.com/djhackersdev/bemanitools.git
synced 2024-11-15 02:37:37 +01:00
hdxs: Is really an HDXB 1.0.1 apparently
Also update enum hdxs_rgb_light_idx to start from 0 since that's what the function does
This commit is contained in:
parent
4816fb809d
commit
62bb717582
@ -105,11 +105,11 @@ static void ac_io_emu_hdxs_cmd_send_version(
|
||||
resp.cmd.version.type = ac_io_u32(AC_IO_NODE_TYPE_LED_STRIP);
|
||||
resp.cmd.version.flag = 0x00;
|
||||
resp.cmd.version.major = 0x01;
|
||||
resp.cmd.version.minor = 0x06;
|
||||
resp.cmd.version.revision = 0x00;
|
||||
resp.cmd.version.minor = 0x00;
|
||||
resp.cmd.version.revision = 0x01;
|
||||
memcpy(
|
||||
resp.cmd.version.product_code,
|
||||
"HDXS",
|
||||
"HDXB",
|
||||
sizeof(resp.cmd.version.product_code));
|
||||
strncpy(resp.cmd.version.date, __DATE__, sizeof(resp.cmd.version.date));
|
||||
strncpy(resp.cmd.version.time, __TIME__, sizeof(resp.cmd.version.time));
|
||||
|
@ -52,19 +52,20 @@ enum hdxs_light_bit {
|
||||
LIGHT_HD_P2_LEFT_RIGHT = 0x0D,
|
||||
};
|
||||
|
||||
enum hdxs_rgb_light_bit {
|
||||
LIGHT_HD_P1_SPEAKER_F_R = 0x20,
|
||||
LIGHT_HD_P1_SPEAKER_F_G = 0x21,
|
||||
LIGHT_HD_P1_SPEAKER_F_B = 0x22,
|
||||
LIGHT_HD_P2_SPEAKER_F_R = 0x23,
|
||||
LIGHT_HD_P2_SPEAKER_F_G = 0x24,
|
||||
LIGHT_HD_P2_SPEAKER_F_B = 0x25,
|
||||
LIGHT_HD_P1_SPEAKER_W_R = 0x26,
|
||||
LIGHT_HD_P1_SPEAKER_W_G = 0x27,
|
||||
LIGHT_HD_P1_SPEAKER_W_B = 0x28,
|
||||
LIGHT_HD_P2_SPEAKER_W_R = 0x29,
|
||||
LIGHT_HD_P2_SPEAKER_W_G = 0x2A,
|
||||
LIGHT_HD_P2_SPEAKER_W_B = 0x2B,
|
||||
// the indexing starts from 0x20 if you're looking in geninput
|
||||
enum hdxs_rgb_light_idx {
|
||||
LIGHT_HD_P1_SPEAKER_F_R = 0x00,
|
||||
LIGHT_HD_P1_SPEAKER_F_G = 0x01,
|
||||
LIGHT_HD_P1_SPEAKER_F_B = 0x02,
|
||||
LIGHT_HD_P2_SPEAKER_F_R = 0x03,
|
||||
LIGHT_HD_P2_SPEAKER_F_G = 0x04,
|
||||
LIGHT_HD_P2_SPEAKER_F_B = 0x05,
|
||||
LIGHT_HD_P1_SPEAKER_W_R = 0x06,
|
||||
LIGHT_HD_P1_SPEAKER_W_G = 0x07,
|
||||
LIGHT_HD_P1_SPEAKER_W_B = 0x08,
|
||||
LIGHT_HD_P2_SPEAKER_W_R = 0x09,
|
||||
LIGHT_HD_P2_SPEAKER_W_G = 0x0A,
|
||||
LIGHT_HD_P2_SPEAKER_W_B = 0x0B,
|
||||
};
|
||||
|
||||
enum extio_light_bit {
|
||||
|
Loading…
Reference in New Issue
Block a user