Loading...
Searching...
No Matches
hid_profile.h
1#pragma once
2
3#include <furi_ble/profile_interface.h>
4
5#ifdef __cplusplus
6extern "C" {
7#endif
8
13typedef struct {
14 const char* device_name_prefix;
15 uint16_t mac_xor;
17
19extern const FuriHalBleProfileTemplate* ble_profile_hid;
20
28bool ble_profile_hid_kb_press(FuriHalBleProfileBase* profile, uint16_t button);
29
37bool ble_profile_hid_kb_release(FuriHalBleProfileBase* profile, uint16_t button);
38
44bool ble_profile_hid_kb_release_all(FuriHalBleProfileBase* profile);
45
51bool ble_profile_hid_consumer_key_press(FuriHalBleProfileBase* profile, uint16_t button);
52
58bool ble_profile_hid_consumer_key_release(FuriHalBleProfileBase* profile, uint16_t button);
59
65bool ble_profile_hid_consumer_key_release_all(FuriHalBleProfileBase* profile);
66
73bool ble_profile_hid_mouse_move(FuriHalBleProfileBase* profile, int8_t dx, int8_t dy);
74
80bool ble_profile_hid_mouse_press(FuriHalBleProfileBase* profile, uint8_t button);
81
87bool ble_profile_hid_mouse_release(FuriHalBleProfileBase* profile, uint8_t button);
88
94bool ble_profile_hid_mouse_release_all(FuriHalBleProfileBase* profile);
95
101bool ble_profile_hid_mouse_scroll(FuriHalBleProfileBase* profile, int8_t delta);
102
103#ifdef __cplusplus
104}
105#endif
Optional arguments to pass along with profile template as FuriHalBleProfileParams for tuning profile ...
Definition hid_profile.h:13
const char * device_name_prefix
Prefix for device name.
Definition hid_profile.h:14
uint16_t mac_xor
XOR mask for device address, for uniqueness.
Definition hid_profile.h:15
Definition profile_interface.h:14
Definition profile_interface.h:28