inputsimulator icon indicating copy to clipboard operation
inputsimulator copied to clipboard

Doesn't work in unity3d

Open Harsimarjit opened this issue 3 years ago • 4 comments

Alot of errors in unity

Harsimarjit avatar Mar 24 '21 14:03 Harsimarjit

Works fine for me in 2019.4.19f

ZeoWorks avatar Mar 24 '21 15:03 ZeoWorks

Alot of errors in unity

Ok, so I downloaded the Unity NuGetForUnity package https://github.com/GlitchEnzo/NuGetForUnity and then from there I could install the inputsimulator, with no errors. Hope this helps

mshooter avatar Sep 01 '21 09:09 mshooter

Or literally, just download the zip, place it in the Assets folder, get rid of the folders "WindowsInput.SampleClient.Wpf" and "WindowsInput.Tests", and voila.

VicEsquivel avatar May 23 '22 15:05 VicEsquivel

if the error is "~ is not CLS-compliant"

you can ignore(resolve) the error by editing the line at WindowsInput/Properties/AssemblyInfo.cs

just change [assembly: CLSCompliant(true)] to [assembly: CLSCompliant(false)]

amkorousagi avatar Aug 08 '23 04:08 amkorousagi