2021-10-03 15:44:14 +00: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-14 21:17:30 +00:00
|
|
|
struct sc_controller *controller;
|
2021-10-03 15:44:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
void
|
2022-01-14 21:17:30 +00:00
|
|
|
sc_mouse_inject_init(struct sc_mouse_inject *mi,
|
|
|
|
struct sc_controller *controller);
|
2021-10-03 15:44:14 +00:00
|
|
|
|
|
|
|
#endif
|