mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-23 19:23:09 +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
341 B
C
14 lines
341 B
C
#pragma once
|
|
|
|
#include <gui/view.h>
|
|
|
|
typedef struct Hid Hid;
|
|
typedef struct HidKeyboard HidKeyboard;
|
|
|
|
HidKeyboard* hid_keyboard_alloc(Hid* bt_hid);
|
|
|
|
void hid_keyboard_free(HidKeyboard* hid_keyboard);
|
|
|
|
View* hid_keyboard_get_view(HidKeyboard* hid_keyboard);
|
|
|
|
void hid_keyboard_set_connected_status(HidKeyboard* hid_keyboard, bool connected);
|