#pragma once #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "views/hid_cc.h" #define HID_BT_KEYS_STORAGE_NAME ".bt_hid.keys" typedef struct Hid Hid; struct Hid { Bt* bt; FuriHalBleProfileBase* ble; Gui* gui; NotificationApp* notifications; ViewDispatcher* view_dispatcher; Submenu* submenu; Widget* widget_instructions; VariableItemList* variable_item_list; Widget* widget_credits; HidCC* hid_cc; uint32_t view_id; uint8_t offset_repeat; uint8_t offset_speed; uint8_t offset_x; uint8_t offset_y; }; void hid_hal_mouse_move(Hid* instance, int8_t dx, int8_t dy); void hid_hal_mouse_press(Hid* instance, uint16_t event); void hid_hal_mouse_release(Hid* instance, uint16_t event); void hid_hal_mouse_release_all(Hid* instance);