From 5de2f26a11bb3fd0b17804e7b6f5ebca488608f0 Mon Sep 17 00:00:00 2001 From: Ravi kumar Veeramally Date: Tue, 5 Nov 2013 13:38:03 +0200 Subject: [PATCH] android/hid: Add hid event proto mode structure to hal msg headers --- android/hal-msg.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/android/hal-msg.h b/android/hal-msg.h index f38186282..5faf85244 100644 --- a/android/hal-msg.h +++ b/android/hal-msg.h @@ -442,6 +442,8 @@ struct hal_ev_hid_conn_state { uint8_t state; } __attribute__((packed)); +#define HAL_HID_STATUS_OK 0x00 + #define HAL_EV_HID_INFO 0x82 struct hal_ev_hid_info { uint8_t bdaddr[6]; @@ -456,6 +458,13 @@ struct hal_ev_hid_info { uint8_t descr[884]; } __attribute__((packed)); +#define HAL_EV_HID_PROTO_MODE 0x83 +struct hal_ev_hid_proto_mode { + uint8_t bdaddr[6]; + uint8_t status; + uint8_t mode; +} __attribute__((packed)); + #define HAL_EV_AV_CONNECTION_STATE 0x81 struct hal_ev_av_connection_state { uint8_t state; -- 2.47.3