mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-21 10:13:10 +00:00
d541f142c8
* feat: add Mouse Jiggler to HID Remote * move processing to use furi_timer instead of draw loop * HidApp: refine mouse jiggler, move timer work into enter/exit callbacks Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
17 lines
455 B
C
17 lines
455 B
C
#pragma once
|
|
|
|
#include <gui/view.h>
|
|
|
|
#define MOUSE_MOVE_SHORT 5
|
|
#define MOUSE_MOVE_LONG 20
|
|
|
|
typedef struct Hid Hid;
|
|
typedef struct HidMouseJiggler HidMouseJiggler;
|
|
|
|
HidMouseJiggler* hid_mouse_jiggler_alloc(Hid* bt_hid);
|
|
|
|
void hid_mouse_jiggler_free(HidMouseJiggler* hid_mouse_jiggler);
|
|
|
|
View* hid_mouse_jiggler_get_view(HidMouseJiggler* hid_mouse_jiggler);
|
|
|
|
void hid_mouse_jiggler_set_connected_status(HidMouseJiggler* hid_mouse_jiggler, bool connected);
|