Hi!
I'm using a Teensy 3.1 with the latest Arduino and Teensyduino on Linux.
The 3.1 is set to 96MHz optimized and USB Type: Serial + Keyboard + Mouse + Joystick.
I'm trying to use the extreme joystick lib located on the prjc forums here, provided by Mr. Stoffregen (attached to post too).
The library files are extracted into ....arduino-1.6.4/hardware/teensy/avr/cores/teensy3/ and replace the included files .
Loading the test sketch, "ExtremeJoystickTest.ino", I'm receiving the following compilation error(s):
I've got arduino under src control, so reverting back isn't an issue, but I was really looking forward to the improved joystick library.
I'm hesitant to take a whack at fixing it myself without understanding fully the ramifications of any changes I might make.
I'm using a Teensy 3.1 with the latest Arduino and Teensyduino on Linux.
The 3.1 is set to 96MHz optimized and USB Type: Serial + Keyboard + Mouse + Joystick.
I'm trying to use the extreme joystick lib located on the prjc forums here, provided by Mr. Stoffregen (attached to post too).
The library files are extracted into ....arduino-1.6.4/hardware/teensy/avr/cores/teensy3/ and replace the included files .
Loading the test sketch, "ExtremeJoystickTest.ino", I'm receiving the following compilation error(s):
Code:
In file included from /home/zelfor/Documents/arduino-1.6.4/hardware/teensy/avr/cores/teensy3/usb_inst.cpp:32:0:
/home/zelfor/Documents/arduino-1.6.4/hardware/teensy/avr/cores/teensy3/usb_desc.h:304:3: error: conflicting declaration 'typedef struct usb_descriptor_list_t usb_descriptor_list_t'
} usb_descriptor_list_t;
^
In file included from /home/zelfor/Documents/arduino-1.6.4/hardware/teensy/avr/cores/teensy3/usb_serial.h:34:0,
from /home/zelfor/Documents/arduino-1.6.4/hardware/teensy/avr/cores/teensy3/WProgram.h:24,
from /home/zelfor/Documents/arduino-1.6.4/hardware/teensy/avr/cores/teensy3/usb_inst.cpp:31:
/home/zelfor/Documents/arduino-1.6.4/hardware/teensy/avr/cores/teensy3/usb_desc.h:304:3: error: 'usb_descriptor_list_t' has a previous declaration as 'typedef struct usb_descriptor_list_t usb_descriptor_list_t'
} usb_descriptor_list_t;
^
Error compiling.
I've got arduino under src control, so reverting back isn't an issue, but I was really looking forward to the improved joystick library.
I'm hesitant to take a whack at fixing it myself without understanding fully the ramifications of any changes I might make.