Skylines-FPSCamera icon indicating copy to clipboard operation
Skylines-FPSCamera copied to clipboard

Added gamepad support using xinput.

Open erstrom opened this issue 8 years ago • 0 comments

Hi, I have added Xbox360 controller support in FPS camera mode. Unfortunately I was unable to use the Unity Input class since the game only has two axes (Unity default axes "Horizontal" and "Vertical") defined. These axes are mapped to the left thumb stick of the controller, but I needed both and since adding new axes can't be done from code (as far as I understand) I decided to go for the XInput API instead.

erstrom avatar Jan 16 '16 17:01 erstrom