Closed eddo888 closed 4 years ago
If I change the joystick type to "JOYSTICK_TYPE_JOYSTICK" the issue goes away.
Joystick_ Joystick(
JOYSTICK_DEFAULT_REPORT_ID,
//JOYSTICK_TYPE_MULTI_AXIS,
JOYSTICK_TYPE_JOYSTICK,
32,
0,
true, // Xaxis
true, // Yaxis
true, // Zaxis
false, // rXaxis
false, // rYaxis
false, // rZaxis
true, // Rudder
true, // Throttle
true, // Accellerator
false, // Brake
false // Steering
);
Looks like you found a solution to your issue, so I will close this. I have observed this behavior on Linux machines when the joystickType
is set to JOYSTICK_TYPE_MULTI_AXIS
as well.
Description of Issue
I have a simple joystick configuration, I map an analog input to a joystick input. I am not including anything other than the joystick.h when I move the joystick axis, it moves the mouse
Technical Details
Sketch File that Reproduces Issue
Wiring Details
Any pin wiring details that may be relevant.
Additional context
Add any other context about the problem here.