mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-23 11:13: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>
17 lines
357 B
C
17 lines
357 B
C
#pragma once
|
|
|
|
#include <gui/view.h>
|
|
|
|
#define MOUSE_MOVE_SHORT 5
|
|
#define MOUSE_MOVE_LONG 20
|
|
|
|
typedef struct Hid Hid;
|
|
typedef struct HidMouse HidMouse;
|
|
|
|
HidMouse* hid_mouse_alloc(Hid* bt_hid);
|
|
|
|
void hid_mouse_free(HidMouse* hid_mouse);
|
|
|
|
View* hid_mouse_get_view(HidMouse* hid_mouse);
|
|
|
|
void hid_mouse_set_connected_status(HidMouse* hid_mouse, bool connected);
|