This commit is contained in:
lmx
2025-11-10 19:27:37 +08:00
parent 289a6b780b
commit d12252dfda
63 changed files with 173638 additions and 172815 deletions

View File

@ -54,8 +54,7 @@
#define SYS_TOUCHPAD_EVENT 0x0400
#define SYS_ADT_EVENT 0x0800
#define SYS_AUD_EVENT 0x1000
#define SYS_APP_USER_EVENT 0x1000
#define DEVICE_EVENT_FROM_AT_UART (('A' << 24) | ('T' << 16) | ('U' << 8) | '\0')
@ -271,6 +270,12 @@ struct touchpad_event {
s8 y;
};
struct app_user_event {
unsigned char* buffer;
size_t command;
size_t size;
};
struct sys_event {
u16 type;
u8 consumed;
@ -302,6 +307,7 @@ struct sys_event {
struct matrix_key_event matrix_key;
struct touchpad_event touchpad;
struct adt_event adt;
struct app_user_event app;
} u;
};