scrcpy/app/src/hid_mouse.h

24 lines
406 B
C
Raw Normal View History

2022-01-25 04:37:40 +08:00
#ifndef SC_HID_MOUSE_H
#define SC_HID_MOUSE_H
2021-12-27 05:32:51 +08:00
#include "common.h"
#include <stdbool.h>
#include "aoa_hid.h"
#include "trait/mouse_processor.h"
struct sc_hid_mouse {
struct sc_mouse_processor mouse_processor; // mouse processor trait
struct sc_aoa *aoa;
};
bool
sc_hid_mouse_init(struct sc_hid_mouse *mouse, struct sc_aoa *aoa);
void
sc_hid_mouse_destroy(struct sc_hid_mouse *mouse);
#endif