flipper-zero-tutorials/hid/hid_cookie/views/hid_cc.h

16 lines
364 B
C
Raw Normal View History

2023-04-15 18:34:24 +00:00
#pragma once
#include <gui/view.h>
typedef struct Hid Hid;
typedef struct HidCC HidCC;
HidCC* hid_cc_alloc(Hid* bt_hid);
void hid_cc_free(HidCC* hid_cc);
View* hid_cc_get_view(HidCC* hid_cc);
void hid_cc_set_connected_status(HidCC* hid_cc, bool connected);
2023-06-11 20:16:07 +00:00
void hid_cc_set_cursor_position(HidCC* hid_cc, uint8_t x, uint8_t y, uint8_t repeat, uint8_t speed);