2024-01-25 23:08:20 +01:00
|
|
|
#ifndef SC_MOUSE_SDK_H
|
|
|
|
#define SC_MOUSE_SDK_H
|
2021-10-03 17:44:14 +02:00
|
|
|
|
|
|
|
#include "common.h"
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
|
|
|
|
#include "controller.h"
|
|
|
|
#include "screen.h"
|
|
|
|
#include "trait/mouse_processor.h"
|
|
|
|
|
2024-01-25 23:08:20 +01:00
|
|
|
struct sc_mouse_sdk {
|
2021-10-03 17:44:14 +02:00
|
|
|
struct sc_mouse_processor mouse_processor; // mouse processor trait
|
|
|
|
|
2022-01-14 22:17:30 +01:00
|
|
|
struct sc_controller *controller;
|
2024-06-21 16:54:00 +02:00
|
|
|
bool mouse_hover;
|
2021-10-03 17:44:14 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
void
|
2024-06-21 16:54:00 +02:00
|
|
|
sc_mouse_sdk_init(struct sc_mouse_sdk *m, struct sc_controller *controller,
|
|
|
|
bool mouse_hover);
|
2021-10-03 17:44:14 +02:00
|
|
|
|
|
|
|
#endif
|