mu3: added lights hook

This commit is contained in:
2024-05-12 22:02:53 +02:00
parent b77ce7b457
commit 9fe98b227b
22 changed files with 669 additions and 58 deletions

View File

@ -9,6 +9,7 @@ enum {
JVS_CMD_READ_SWITCHES = 0x20,
JVS_CMD_READ_COIN = 0x21,
JVS_CMD_READ_ANALOGS = 0x22,
JVS_CMD_READ_ROTARYS = 0x23,
JVS_CMD_WRITE_GPIO = 0x32,
JVS_CMD_RESET = 0xF0,
JVS_CMD_ASSIGN_ADDR = 0xF1,
@ -32,6 +33,11 @@ struct jvs_req_read_analogs {
uint8_t nanalogs;
};
struct jvs_req_read_rotarys {
uint8_t cmd;
uint8_t nrotarys;
};
struct jvs_req_reset {
uint8_t cmd;
uint8_t unknown;