Added mouse module (love.mouse), updated doc/files.md

This commit is contained in:
rxi
2016-09-24 10:41:12 +01:00
parent 9a72cddbc9
commit dd44e8d1a0
6 changed files with 162 additions and 4 deletions

14
src/mouse.h Normal file
View File

@@ -0,0 +1,14 @@
#ifndef MOUSE_H
#define MOUSE_H
enum {
MOUSE_BUTTON_LEFT,
MOUSE_BUTTON_RIGHT,
MOUSE_BUTTON_MIDDLE,
MOUSE_BUTTON_MAX,
};
void mouse_init(void);
void mouse_update(void);
#endif