forked from Hay1tsme/segatools
board/slider-cmd.h: Add separate Diva LED cmd
The Chunithm slider has sixteen cells and fifteen (I think?) vertical lines splitting the cells. Diva does not have these lines, so presumably the LED data format is different. Need to analyze this further.
This commit is contained in:
parent
05ccf363d9
commit
bbe085b73d
@ -4,9 +4,10 @@
|
|||||||
|
|
||||||
enum {
|
enum {
|
||||||
SLIDER_CMD_AUTO_SCAN = 0x01,
|
SLIDER_CMD_AUTO_SCAN = 0x01,
|
||||||
SLIDER_CMD_SET_LED = 0x02,
|
SLIDER_CMD_SET_LED_CHUNI = 0x02,
|
||||||
SLIDER_CMD_AUTO_SCAN_START = 0x03,
|
SLIDER_CMD_AUTO_SCAN_START = 0x03,
|
||||||
SLIDER_CMD_AUTO_SCAN_STOP = 0x04,
|
SLIDER_CMD_AUTO_SCAN_STOP = 0x04,
|
||||||
|
SLIDER_CMD_SET_LED_DIVA = 0x9,
|
||||||
SLIDER_CMD_RESET = 0x10,
|
SLIDER_CMD_RESET = 0x10,
|
||||||
SLIDER_CMD_GET_BOARD_INFO = 0xF0,
|
SLIDER_CMD_GET_BOARD_INFO = 0xF0,
|
||||||
};
|
};
|
||||||
|
@ -123,7 +123,7 @@ static HRESULT slider_req_dispatch(const union slider_req_any *req)
|
|||||||
case SLIDER_CMD_GET_BOARD_INFO:
|
case SLIDER_CMD_GET_BOARD_INFO:
|
||||||
return slider_req_get_board_info();
|
return slider_req_get_board_info();
|
||||||
|
|
||||||
case SLIDER_CMD_SET_LED:
|
case SLIDER_CMD_SET_LED_CHUNI:
|
||||||
return slider_req_set_led(&req->set_led);
|
return slider_req_set_led(&req->set_led);
|
||||||
|
|
||||||
case SLIDER_CMD_AUTO_SCAN_START:
|
case SLIDER_CMD_AUTO_SCAN_START:
|
||||||
|
Loading…
Reference in New Issue
Block a user