Files
Momentum-Firmware/applications/system/hid_app/views/hid_mouse.h
hedger ffa3996a5e [FL-3867] Code formatting update (#3765)
* clang-format: AllowShortEnumsOnASingleLine: false
* clang-format: InsertNewlineAtEOF: true
* clang-format: Standard:        c++20
* clang-format: AlignConsecutiveBitFields
* clang-format: AlignConsecutiveMacros
* clang-format: RemoveParentheses: ReturnStatement
* clang-format: RemoveSemicolon: true
* Restored RemoveParentheses: Leave, retained general changes for it
* formatting: fixed logging TAGs
* Formatting update for dev

Co-authored-by: あく <alleteam@gmail.com>
2024-07-15 13:38:49 +09:00

18 lines
358 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);