Hi,
I'm working on a Teensy++ 2.0, and would like to run it in Serial+Keyboard+Mouse+Joystick mode, so I can make it communicate with another software via Serial, and then make Teensy act as Mouse/Keyboard/Joystick.
The issue I face is that when set to "Serial+Keyboard+Mouse+Joystick", the joystick does not work. Windows joy.cpl does recognize it, but it does not respond to any inputs. If I switch the mode to Keyboard+Mouse+Joystick, it works fine.
I'm running it on Windows 10, and also tried on an Ubuntu virtual machine (if it makes a difference).
Here is the minimum code I can reproduce it with:
I've tried various ways to reset the drivers on windows (like this). I've tried it on another Windows 10 PC as well (that never had the Teensy connected to it), same issue (Serial+Keyboard+Mouse+Joystick ,mode not working, didn't try Keyboard+Mouse+Joystick, but I assume it would work).
Any ideas on how to solve this?
Thanks
Grey
I'm working on a Teensy++ 2.0, and would like to run it in Serial+Keyboard+Mouse+Joystick mode, so I can make it communicate with another software via Serial, and then make Teensy act as Mouse/Keyboard/Joystick.
The issue I face is that when set to "Serial+Keyboard+Mouse+Joystick", the joystick does not work. Windows joy.cpl does recognize it, but it does not respond to any inputs. If I switch the mode to Keyboard+Mouse+Joystick, it works fine.
I'm running it on Windows 10, and also tried on an Ubuntu virtual machine (if it makes a difference).
Here is the minimum code I can reproduce it with:
Code:
void setup() {
pinMode(0, INPUT_PULLUP);
}
void loop() {
Joystick.X(analogRead(A3));
Joystick.button(1, !digitalRead(0));
delay(50);
}
I've tried various ways to reset the drivers on windows (like this). I've tried it on another Windows 10 PC as well (that never had the Teensy connected to it), same issue (Serial+Keyboard+Mouse+Joystick ,mode not working, didn't try Keyboard+Mouse+Joystick, but I assume it would work).
Any ideas on how to solve this?
Thanks
Grey