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