Accessing joystick

I’m having a really hard time figuring out how to use the Single Joystick prefab in my game. At this point my gut is telling me that MonoBehaviours written in js files are not visible to c# code.

Is this true?

right now i have a c# class with a member

public Joystick joy1;

and it won’t compile because no class named Joystick is found.

for C# to see JS or for JS to see C# the file of the other language must be in a compilation step thats fully done before the current one. In the advanced documentations there is a explanation on these steps.

I commonly put cross language stuff into the plugins folder or at worst into the standard assets/scripts folder

thanks!