Updates from xMasterX (mostly)

Thanks to @xMasterX
This commit is contained in:
RogueMaster
2022-12-19 23:00:43 -05:00
parent 013b51c025
commit 341a3937c6
19 changed files with 244 additions and 52 deletions

View File

@@ -6,14 +6,14 @@
extern "C" {
#endif
typedef bool (*MouseMoveCallback)(int8_t x, int8_t y);
typedef bool (*MouseMoveCallback)(int8_t x, int8_t y, void* context);
void calibration_begin();
bool calibration_step();
void calibration_end();
void tracking_begin();
void tracking_step(MouseMoveCallback mouse_move);
void tracking_step(MouseMoveCallback mouse_move, void* context);
void tracking_end();
#ifdef __cplusplus