Message type for INPUT_CONF

Change-Id: Ib25bd7e9717f203316e303d4f5a411d314ce46ed
This commit is contained in:
2014-05-19 09:39:57 +02:00
parent d6626d0575
commit bcd669222a
4 changed files with 18 additions and 10 deletions

View File

@@ -1082,10 +1082,6 @@
#define INPUT_RS_BASE 0x1580 /* from input driver to input server */
#define INPUT_CONF (INPUT_RQ_BASE + 0) /* configure driver */
# define INPUT_KBD_ID m7_i1 /* keyboard device ID */
# define INPUT_MOUSE_ID m7_i2 /* mouse device ID */
# define INPUT_RSVD1_ID m7_i3 /* ID for as yet unallocated type */
# define INPUT_RSVD2_ID m7_i4 /* ID for as yet unallocated type */
#define INPUT_SETLEDS (INPUT_RQ_BASE + 1) /* set keyboard LEDs */
# define INPUT_LED_MASK m7_i1 /* status mask of LEDs */

View File

@@ -630,6 +630,16 @@ typedef struct {
} mess_i2c_li2cdriver_busc_i2c_reserve;
_ASSERT_MSG_SIZE(mess_i2c_li2cdriver_busc_i2c_reserve);
typedef struct {
int kbd_id;
int mouse_id;
int rsvd1_id;
int rsvd2_id;
uint8_t padding[40];
} mess_input_linputdriver_input_conf;
_ASSERT_MSG_SIZE(mess_input_linputdriver_input_conf);
typedef struct {
uint32_t flags;
endpoint_t endpoint;
@@ -1249,6 +1259,8 @@ typedef struct {
mess_i2c_li2cdriver_busc_i2c_exec m_i2c_li2cdriver_busc_i2c_exec;
mess_i2c_li2cdriver_busc_i2c_reserve m_i2c_li2cdriver_busc_i2c_reserve;
mess_input_linputdriver_input_conf m_input_linputdriver_input_conf;
mess_lc_pm_exec m_lc_pm_exec;
mess_lc_pm_exit m_lc_pm_exit;
mess_lc_pm_getsid m_lc_pm_getsid;