/** Create a new mouse button bindings. * \param L The Lua VM state. * \return The number of elements pushed on stack. */ static int luaA_button_new(lua_State *L) { return luaA_class_new(L, &button_class); }
/** Create a new key object. * \param L The Lua VM state. * \return The number of elements pushed on stack. */ static int luaA_key_new(lua_State *L) { return luaA_class_new(L, &key_class); }
static int luaA_timer_new(lua_State *L) { luaA_class_new(L, &timer_class); return 1; }