mirror of
https://github.com/halleysfifthinc/AVCLAN-Mockingboard.git
synced 2026-08-07 01:13:18 +00:00
Improve action/function names and tweak report responses
This commit is contained in:
+17
-13
@@ -90,10 +90,11 @@ typedef enum {
|
||||
Disable_Function_Req = 0x43,
|
||||
Disable_Function_Resp = 0x53,
|
||||
|
||||
Advertise_Function = 0x45,
|
||||
Current_Function = 0x45,
|
||||
General_Query = 0x46,
|
||||
|
||||
// Physical interface
|
||||
Backlight_Adjust = 0x59,
|
||||
Eject = 0x80,
|
||||
Disc_Up = 0x90,
|
||||
Disc_Down = 0x91,
|
||||
@@ -108,24 +109,27 @@ typedef enum {
|
||||
CD_Enable_Random = 0xb0,
|
||||
CD_Disable_Random = 0xb1,
|
||||
|
||||
// CD functions
|
||||
// Events
|
||||
Inserted_CD = 0x50,
|
||||
Removed_CD = 0x51,
|
||||
Insertion = 0x50,
|
||||
Ejection = 0x51,
|
||||
|
||||
// Requests and Response pairs
|
||||
Initial_Report_Request = 0xe0,
|
||||
Initial_Report_Response = 0xf0,
|
||||
|
||||
Playback_Request = 0xe2,
|
||||
Playback_Report = 0xf2,
|
||||
|
||||
Loading_Request2 = 0xe4,
|
||||
Loading_Response2 = 0xf4,
|
||||
|
||||
// Requests
|
||||
Request_Report = 0xe0,
|
||||
Request_Report2 = 0xe2,
|
||||
Request_Loader2 = 0xe4,
|
||||
Request_Track_Name = 0xed,
|
||||
Report_Track_Name = 0xfd,
|
||||
|
||||
// Reports
|
||||
Report = 0xf1,
|
||||
Report2 = 0xf2,
|
||||
Report_Loader = 0xf3,
|
||||
Report_Loader2 = 0xf4,
|
||||
Status_Report = 0xf1, // Typically unprompted, sent to dev_STATUS
|
||||
Loading_Status_Report = 0xf3, // Typically unprompted, sent to dev_STATUS
|
||||
Report_TOC = 0xf9,
|
||||
Report_Track_Name = 0xfd,
|
||||
} actions;
|
||||
|
||||
typedef enum {
|
||||
|
||||
Reference in New Issue
Block a user