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

View File

@@ -1,4 +1,4 @@
/**
/**
* Copyright (c) 2016 rxi
*
* This library is free software; you can redistribute it and/or modify it
@@ -23,6 +23,7 @@ int luaopen_system(lua_State *L);
int luaopen_graphics(lua_State *L);
int luaopen_timer(lua_State *L);
int luaopen_keyboard(lua_State *L);
int luaopen_mouse(lua_State *L);
int luaopen_love(lua_State *L) {
int i;
@@ -53,6 +54,7 @@ int luaopen_love(lua_State *L) {
{ "graphics", luaopen_graphics },
{ "timer", luaopen_timer },
{ "keyboard", luaopen_keyboard },
{ "mouse", luaopen_mouse },
{ 0 },
};
for (i = 0; mods[i].name; i++) {