Message type for INPUT_EVENT
Change-Id: I50a815623ff4a9b6b0113000a798a3495c911ecf
This commit is contained in:
@@ -1071,7 +1071,9 @@
|
||||
/* This message uses no message fields. */
|
||||
|
||||
#define TTY_INPUT_EVENT (TTY_RQ_BASE + 3) /* relayed input event */
|
||||
/* This message shares its message fields with INPUT_EVENT. */
|
||||
# define INPUT_PAGE m7_i2 /* usage page */
|
||||
# define INPUT_CODE m7_i3 /* usage code */
|
||||
# define INPUT_VALUE m7_i4 /* event value */
|
||||
|
||||
/*===========================================================================*
|
||||
* Messages for input server and drivers *
|
||||
@@ -1087,11 +1089,6 @@
|
||||
# define INPUT_LED_MASK m7_i1 /* status mask of LEDs */
|
||||
|
||||
#define INPUT_EVENT (INPUT_RS_BASE + 0) /* send input event */
|
||||
# define INPUT_ID m7_i1 /* device ID */
|
||||
# define INPUT_PAGE m7_i2 /* usage page */
|
||||
# define INPUT_CODE m7_i3 /* usage code */
|
||||
# define INPUT_VALUE m7_i4 /* event value */
|
||||
# define INPUT_FLAGS m7_i5 /* flags associated with value */
|
||||
|
||||
/*===========================================================================*
|
||||
* VFS-FS TRANSACTION IDs *
|
||||
|
||||
@@ -640,6 +640,17 @@ typedef struct {
|
||||
} mess_input_linputdriver_input_conf;
|
||||
_ASSERT_MSG_SIZE(mess_input_linputdriver_input_conf);
|
||||
|
||||
typedef struct {
|
||||
int id;
|
||||
int page;
|
||||
int code;
|
||||
int value;
|
||||
int flags;
|
||||
|
||||
uint8_t padding[36];
|
||||
} mess_linputdriver_input_event;
|
||||
_ASSERT_MSG_SIZE(mess_linputdriver_input_event);
|
||||
|
||||
typedef struct {
|
||||
uint32_t flags;
|
||||
endpoint_t endpoint;
|
||||
@@ -1309,6 +1320,8 @@ typedef struct {
|
||||
mess_li2cdriver_i2c_busc_i2c_exec m_li2cdriver_i2c_busc_i2c_exec;
|
||||
mess_li2cdriver_i2c_busc_i2c_reserve m_li2cdriver_i2c_busc_i2c_reserve;
|
||||
|
||||
mess_linputdriver_input_event m_linputdriver_input_event;
|
||||
|
||||
mess_lsys_krn_schedctl m_lsys_krn_schedctl;
|
||||
mess_lsys_krn_schedule m_lsys_krn_schedule;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user