diff options
author | John Du <johnldu@google.com> | 2013-07-23 17:15:34 -0700 |
---|---|---|
committer | John Du <johnldu@google.com> | 2013-08-15 18:48:47 +0000 |
commit | b98448119351df9ec7453e0ae92ea408b02294db (patch) | |
tree | ef93f6defd70c3889a2b6909f0697ca626a97437 /include | |
parent | 299e43c186a9c8a6611d8c5f61d158436948afe5 (diff) | |
download | hardware_libhardware-b98448119351df9ec7453e0ae92ea408b02294db.zip hardware_libhardware-b98448119351df9ec7453e0ae92ea408b02294db.tar.gz hardware_libhardware-b98448119351df9ec7453e0ae92ea408b02294db.tar.bz2 |
Add support for ff/rew
Change-Id: I95d17aa4f54d58596085f8d67e63e277b280a242
(cherry picked from commit a068b57857a6f9f2db335dbb18f1be37e85937c6)
Diffstat (limited to 'include')
-rwxr-xr-x | include/hardware/bt_rc.h | 6 |
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 |