mirror of
https://github.com/minetest/minetest.git
synced 2025-07-03 08:20:23 +02:00
Expose analog joystick input to the Lua API (#14348)
This commit is contained in:
@ -163,8 +163,8 @@ public:
|
||||
*/
|
||||
line3d<f32> getShootline() { return m_shootline; }
|
||||
|
||||
float getMovementDirection() { return m_joystick_direction; }
|
||||
float getMovementSpeed() { return m_joystick_speed; }
|
||||
float getJoystickDirection() { return m_joystick_direction; }
|
||||
float getJoystickSpeed() { return m_joystick_speed; }
|
||||
|
||||
void step(float dtime);
|
||||
inline void setUseCrosshair(bool use_crosshair) { m_draw_crosshair = use_crosshair; }
|
||||
|
Reference in New Issue
Block a user