mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-06 14:40:28 -04:00
24 lines
308 B
C
24 lines
308 B
C
#include <stdint.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifndef __SKELDAL__MOUSE__
|
|
#define __SKELDAL__MOUSE__
|
|
typedef struct ms_event
|
|
{
|
|
char event;
|
|
uint16_t x,y;
|
|
char tl1,tl2,tl3;
|
|
uint16_t event_type;
|
|
}MS_EVENT;
|
|
|
|
|
|
void get_ms_event(MS_EVENT *event);
|
|
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|