03140e4349
* WIP BT + USB Hid * Refactoring Submenus/Views * Changed to bool instead of enum * Revamp finished * Removed usb_keyboard * Renaming device_types that can do USB+BT * Removed error view * Renaming folder structure and file names * Fixed views.h * Fixed hid.h * Fixed hid_mouse.c * Fixed a accidetnal renaming * Apps: add missing view remove call in hid app destructor * Hid app: hal abstraction, split into bluetooth and usb remotes. Fbt: customizable icon symbol name. * Hid app: update usb remote icon * Hid: single status change routine * HID App: final touches * HID App: rename BtHidTikTok to HidTikTok, format sources * HID App: fix comma in keyboard Co-authored-by: あく <alleteam@gmail.com>
15 lines
328 B
C
15 lines
328 B
C
#pragma once
|
|
|
|
#include <gui/view.h>
|
|
|
|
typedef struct Hid Hid;
|
|
typedef struct HidKeynote HidKeynote;
|
|
|
|
HidKeynote* hid_keynote_alloc(Hid* bt_hid);
|
|
|
|
void hid_keynote_free(HidKeynote* hid_keynote);
|
|
|
|
View* hid_keynote_get_view(HidKeynote* hid_keynote);
|
|
|
|
void hid_keynote_set_connected_status(HidKeynote* hid_keynote, bool connected);
|