summaryrefslogtreecommitdiffstats
path: root/include/hardware/bt_rc.h
diff options
context:
space:
mode:
authorJohn Du <johnldu@google.com>2013-08-15 14:58:18 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-08-15 14:58:18 -0700
commitcd15c2cce2fd10c54ced4be0a46b371d1651c6eb (patch)
treec0939227e60535f75f0cafb74f5e572650ba9c25 /include/hardware/bt_rc.h
parent6481266b17f5914e4cea5f20a9f44d6935a5e6fa (diff)
parentb98448119351df9ec7453e0ae92ea408b02294db (diff)
downloadhardware_libhardware-cd15c2cce2fd10c54ced4be0a46b371d1651c6eb.zip
hardware_libhardware-cd15c2cce2fd10c54ced4be0a46b371d1651c6eb.tar.gz
hardware_libhardware-cd15c2cce2fd10c54ced4be0a46b371d1651c6eb.tar.bz2
am b9844811: Add support for ff/rew
* commit 'b98448119351df9ec7453e0ae92ea408b02294db': Add support for ff/rew
Diffstat (limited to 'include/hardware/bt_rc.h')
-rw-r--r--include/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 100644
--- 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