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
|
|
|
|
|
|
|
|
struct controller *controller;
|
|
|
|
};
|
|
|
|
|
|
|
|
void
|
2021-12-29 23:24:20 +08:00
|
|
|
sc_mouse_inject_init(struct sc_mouse_inject *mi, struct controller *controller);
|
2021-10-03 23:44:14 +08:00
|
|
|
|
|
|
|
#endif
|