2021-10-03 23:44:14 +08:00
|
|
|
#ifndef SC_MOUSE_INJECT_H
|
|
|
|
#define SC_MOUSE_INJECT_H
|
|
|
|
|
|
|
|
#include "common.h"
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
|
|
|
|
#include "controller.h"
|
|
|
|
#include "screen.h"
|
|
|
|
#include "trait/mouse_processor.h"
|
|
|
|
|
|
|
|
struct sc_mouse_inject {
|
|
|
|
struct sc_mouse_processor mouse_processor; // mouse processor trait
|
|
|
|
|
2022-01-15 05:17:30 +08:00
|
|
|
struct sc_controller *controller;
|
2021-10-03 23:44:14 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
void
|
2022-01-15 05:17:30 +08:00
|
|
|
sc_mouse_inject_init(struct sc_mouse_inject *mi,
|
|
|
|
struct sc_controller *controller);
|
2021-10-03 23:44:14 +08:00
|
|
|
|
|
|
|
#endif
|