forked from Hay1tsme/segatools
Unify LED command name for Diva/Chunithm slider
This commit is contained in:
parent
16094c0720
commit
901cedce89
@ -4,8 +4,7 @@
|
|||||||
|
|
||||||
enum {
|
enum {
|
||||||
SLIDER_CMD_AUTO_SCAN = 0x01,
|
SLIDER_CMD_AUTO_SCAN = 0x01,
|
||||||
SLIDER_CMD_SET_LED_CHUNI = 0x02,
|
SLIDER_CMD_SET_LED = 0x02,
|
||||||
SLIDER_CMD_SET_LED_DIVA = 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_DIVA_UNK_09 = 0x09,
|
SLIDER_CMD_DIVA_UNK_09 = 0x09,
|
||||||
|
@ -139,7 +139,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_CHUNI:
|
case SLIDER_CMD_SET_LED:
|
||||||
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:
|
||||||
|
@ -145,7 +145,7 @@ static HRESULT slider_req_dispatch(const union slider_req_any *req)
|
|||||||
case SLIDER_CMD_AUTO_SCAN_STOP:
|
case SLIDER_CMD_AUTO_SCAN_STOP:
|
||||||
return slider_req_auto_scan_stop();
|
return slider_req_auto_scan_stop();
|
||||||
|
|
||||||
case SLIDER_CMD_SET_LED_DIVA:
|
case SLIDER_CMD_SET_LED:
|
||||||
return slider_req_set_led(&req->set_led);
|
return slider_req_set_led(&req->set_led);
|
||||||
|
|
||||||
case SLIDER_CMD_DIVA_UNK_09:
|
case SLIDER_CMD_DIVA_UNK_09:
|
||||||
|
Loading…
Reference in New Issue
Block a user