Virtual Inputs
Virtual Input Explanation
Virtual inputs are for anything that isn’t a keyboard, mouse or a gamepad that you want Sinput to check. Just add a virtual input to a control, and then you can set it’s values from inside your scripts using these SinputSystems.VirtualInputs functions;
SetVirtualAxis(), SetVirtualButton(), SetDeltaPreference()
Setting an axis value will automatically set the virtual input’s button state, and vice-versa.
Touch Controls
Sinput includes prefabs for touchscreen buttons and analogue sticks, you can find these in the TouchControls folder.
The touch control prefabs require minimal setup; just specify which virtual inputs they effect, and make sure you have listed those virtual inputs in your control scheme.