mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-10 00:20:27 -04:00
trying to debug, additional rewrites
This commit is contained in:
parent
378b5586ab
commit
42f780a729
87 changed files with 1771 additions and 529 deletions
24
libs/mouse.h
Normal file
24
libs/mouse.h
Normal file
|
@ -0,0 +1,24 @@
|
|||
#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
|
Loading…
Add table
Add a link
Reference in a new issue