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>
18 lines
357 B
C
18 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);
|