summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinclude/hardware/bt_rc.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/hardware/bt_rc.h b/include/hardware/bt_rc.h
index 952652e..0898133 100755
--- a/include/hardware/bt_rc.h
+++ b/include/hardware/bt_rc.h
@@ -151,6 +151,9 @@ typedef void (* btrc_get_element_attr_callback) (uint8_t num_attr, btrc_media_at
*/
typedef void (* btrc_register_notification_callback) (btrc_event_id_t event_id, uint32_t param);
+/** Callback for passthrough commands */
+typedef void (* btrc_passthrough_cmd_callback) (int id, int key_state);
+
/** BT-RC callback structure. */
typedef struct {
/** set to sizeof(BtRcCallbacks) */
@@ -164,6 +167,7 @@ typedef struct {
btrc_set_player_app_value_callback set_player_app_value_cb;
btrc_get_element_attr_callback get_element_attr_cb;
btrc_register_notification_callback register_notification_cb;
+ btrc_passthrough_cmd_callback passthrough_cmd_cb;
} btrc_callbacks_t;
/** Represents the standard BT-RC interface. */
@@ -231,4 +235,4 @@ typedef struct {
__END_DECLS
-#endif /* ANDROID_INCLUDE_BT_RC_H */
+#endif /* ANDROID_INCLUDE_BT_RC_H */ \ No newline at end of file