xinput needs the DISPLAY and XAUTHORITY env variables to be set. For the time being one can hard-code all these variables in the script, at least on machines with only one user account.
The script is a hack, a proper fix is expected in Unity 8.
xinput needs the DISPLAY and XAUTHORITY env variables to be set. For the time being one can hard-code all these variables in the script, at least on machines with only one user account.
The script is a hack, a proper fix is expected in Unity 8.