I’ve been trying to use a joystick in a few projects I’ve been making at school. However my first problem is that there seems to be a problem with using the joystick in any code that I use.
joystick.JoystickPressed += new Joystick.JoystickEventHandler(joystick_JoystickPressed);
I’ve been trying to use that code, but it gives me a few errors, such as:
'The type name ‘JoystickEventHandler’ does not exist in the type ‘Gadgeteer.Modules.GHIElectronics.Joystick’
‘Gadgeteer.Modules.GHIElectronics.Joystick’ does not contain a definition for ‘JoystickPressed’ and no extension method ‘JoystickPressed’ accepting a first argument of type ‘Gadgeteer.Modules.GHIElectronics.Joystick’ could be found (are you missing a using directive or an assembly reference?)
However, all other components that I am using are working fine. Does anyone have any suggestions on what I can do?