joonaskali
New member
Hello,
I'm using teensy 4.1 for a extreme joystick project and I have problems with using joystick.axis.
My error messages are
Code
View attachment ThrottleQuadrantLatest.ino
Wiring
I'm using arduino software and Keypad and Encoder libraries.
So what should i put after Joystick. to change joystick values?
I'm using teensy 4.1 for a extreme joystick project and I have problems with using joystick.axis.
My error messages are
Code:
ThrottleQuadrantLatest: In function 'void Quadrant()':
ThrottleQuadrantLatest:179: error: 'class usb_joystick_class' has no member named 'Rx'
Joystick.Rx(potPinVal[0]);
^
ThrottleQuadrantLatest:181: error: 'class usb_joystick_class' has no member named 'Ry'
Joystick.Ry(potPinVal[1]);
^
'class usb_joystick_class' has no member named 'Rx'
Code
View attachment ThrottleQuadrantLatest.ino
Wiring
I'm using arduino software and Keypad and Encoder libraries.
So what should i put after Joystick. to change joystick values?