feat: add profiled DualSense PCM haptics experiment
This commit is contained in:
parent
3b1366067b
commit
0c626fb3b3
29 changed files with 4469 additions and 5 deletions
24
tests/haptics_experiment_native_stubs/btstack.h
Normal file
24
tests/haptics_experiment_native_stubs/btstack.h
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
struct btstack_timer_source_t {
|
||||
void (*process)(btstack_timer_source_t*) = nullptr;
|
||||
void* context = nullptr;
|
||||
uint64_t timeout_us = 0;
|
||||
};
|
||||
|
||||
constexpr uint8_t ERROR_CODE_SUCCESS = 0;
|
||||
enum gap_connection_type_t {
|
||||
GAP_CONNECTION_INVALID, GAP_CONNECTION_ACL, GAP_CONNECTION_LE, GAP_CONNECTION_SCO
|
||||
};
|
||||
gap_connection_type_t gap_get_connection_type(uint16_t handle);
|
||||
|
||||
void btstack_run_loop_set_timer_handler(
|
||||
btstack_timer_source_t* timer, void (*handler)(btstack_timer_source_t*));
|
||||
void btstack_run_loop_set_timer(btstack_timer_source_t* timer, uint32_t timeout_ms);
|
||||
void btstack_run_loop_add_timer(btstack_timer_source_t* timer);
|
||||
int btstack_run_loop_remove_timer(btstack_timer_source_t* timer);
|
||||
uint16_t l2cap_get_remote_mtu_for_local_cid(uint16_t cid);
|
||||
uint8_t l2cap_request_can_send_now_event(uint16_t cid);
|
||||
uint8_t l2cap_send(uint16_t cid, const uint8_t* data, uint16_t size);
|
||||
Loading…
Add table
Add a link
Reference in a new issue