存档
This commit is contained in:
@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user