mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-27 15:00:46 +00:00
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>
14 lines
315 B
C
14 lines
315 B
C
#pragma once
|
|
|
|
#include <gui/view.h>
|
|
|
|
typedef struct Hid Hid;
|
|
typedef struct HidTikTok HidTikTok;
|
|
|
|
HidTikTok* hid_tiktok_alloc(Hid* bt_hid);
|
|
|
|
void hid_tiktok_free(HidTikTok* hid_tiktok);
|
|
|
|
View* hid_tiktok_get_view(HidTikTok* hid_tiktok);
|
|
|
|
void hid_tiktok_set_connected_status(HidTikTok* hid_tiktok, bool connected);
|