RenaKunisaki / CSL-JoystickCameraControl

Cities: Skylines mod to control camera with joystick
MIT License
2 stars 0 forks source link

Not all inputs can be used #1

Closed RenaKunisaki closed 5 years ago

RenaKunisaki commented 5 years ago

Unfortunately, Unity doesn't just let us read every axis; that would make far too much sense. Instead it requires the game to name some axes, and then query them by name, and those are the only ones you can use.

Fortunately, the game defines five axes (in addition to the mouse inputs), apparently used for a built-in but hidden function that does exactly what this mod does (but not as well). To use any others though, we need to find a workaround that works on all platforms.

RenaKunisaki commented 5 years ago

Fixed in version 2.0. We can now bypass Unity entirely.