1
0
Fork 0
mirror of https://github.com/Luzifer/sii.git synced 2024-12-21 00:21:15 +00:00

Fix: Wheel adjustments are floats

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2019-12-27 01:05:28 +01:00
parent 16d973c7b0
commit 7873cd7086
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -10,8 +10,8 @@ type Vehicle struct {
UserMirrorRot [][4]float32 `sii:"user_mirror_rot"`
UserHeadOffset [3]float32 `sii:"user_head_offset"`
UserFOV int64 `sii:"user_fov"`
UserWheelUpDown int64 `sii:"user_wheel_up_down"`
UserWheelFrontBack int64 `sii:"user_wheel_front_back"`
UserWheelUpDown float32 `sii:"user_wheel_up_down"`
UserWheelFrontBack float32 `sii:"user_wheel_front_back"`
UserMouseLeftRightDefault int64 `sii:"user_mouse_left_right_default"`
UserMouseUpDownDefault int64 `sii:"user_mouse_up_down_default"`
Accessories []Ptr `sii:"accessories"`