| 362 | } |
| 363 | |
| 364 | static int input_device_axis(lua_State *L, const InputDevice &dev) |
| 365 | { |
| 366 | LuaStack stack(L, +1); |
| 367 | stack.push_vector3(dev.axis(stack.get_int(1))); |
| 368 | return 1; |
| 369 | } |
| 370 | |
| 371 | static int input_device_button_name(lua_State *L, const InputDevice &dev) |
| 372 | { |
nothing calls this directly
no test coverage detected