Hi,
recently me and my friend have made a custom controller which basically works as a mouse controller. Has features like an accelerometer, gyroscope. can move in x,y,z axes. I want it to work with a 3D shooter. Basicly when you move a controller faster the opponent gets hits harder and so on… when you move o controller from up to bottom the opponent gets a different hit…
Is there any tutorial on the internet where is shown how can I do this, or is there any script that can help me… or basically maybe some of you had a similar problem?
How is the controller communicates to PC?
If it’s USB HID, then our HID support should at least give you some controls working (buttons, sticks).
Then for full support you would need to write a custom device class akin to InputSystem/Packages/com.unity.inputsystem/InputSystem/Plugins/DualShock/DualShockGamepadHID.cs at develop · Unity-Technologies/InputSystem · GitHub
If it’s not USB HID or anything that OS drivers can handle, then you will need to figure out kernel driver first, and then somehow pass data to userland where you can pass to input system as state events.