| 14 | using namespace scripting; |
| 15 | |
| 16 | static int l_keycode(lua::State* L) { |
| 17 | auto name = lua::require_string(L, 1); |
| 18 | return lua::pushinteger(L, static_cast<int>(input_util::keycode_from(name))); |
| 19 | } |
| 20 | |
| 21 | static int l_mousecode(lua::State* L) { |
| 22 | auto name = lua::require_string(L, 1); |
nothing calls this directly
no test coverage detected