1
0
Fork 0
mirror of https://github.com/ctruLua/ctruLua.git synced 2025-10-27 16:39:29 +00:00

Added ctr.hid lib, hid.read() working.

This commit is contained in:
Reuh 2015-08-18 14:52:20 +02:00
parent 2a85112e92
commit 0e42f25b8b
4 changed files with 109 additions and 4 deletions

View file

@ -5,15 +5,17 @@ int load_os_lib(lua_State *L);
int load_gfx_lib(lua_State *L);
int load_news_lib(lua_State *L);
int load_ptm_lib(lua_State *L);
int load_hid_lib(lua_State *L);
static const struct luaL_Reg ctr_lib[] = {
{ NULL, NULL }
};
struct { char *name; int (*load)(lua_State *L); } ctr_libs[] = {
{ "gfx", load_gfx_lib },
{ "gfx", load_gfx_lib },
{ "news", load_news_lib },
{ "ptm", load_ptm_lib },
{ "ptm", load_ptm_lib },
{ "hid", load_hid_lib },
{ NULL, NULL }
};