1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-20 03:35:18 +02:00

Expose analog joystick input to the Lua API (#14348)

This commit is contained in:
grorp
2024-10-01 17:21:42 +02:00
committed by GitHub
parent 6569fdd4d1
commit 22ef4c8be1
13 changed files with 127 additions and 83 deletions

View File

@@ -962,6 +962,8 @@ enum ToServerCommand : u16
[2+12+12+4+4+4] u8 fov*80
[2+12+12+4+4+4+1] u8 ceil(wanted_range / MAP_BLOCKSIZE)
[2+12+12+4+4+4+1+1] u8 camera_inverted (bool)
[2+12+12+4+4+4+1+1+1] f32 movement_speed
[2+12+12+4+4+4+1+1+1+4] f32 movement_direction
*/