Teensy 4.1 with Arduino How to enable more joystick buttons


New member
Before Arduino IDE, we could modify usb_desc.h file,
#define JOYSTICK_SIZE 12 // 12 = normal, 64 = extreme joystick To 64
Now there does not appear to be this file in the IDE version of Arduino. If I can't expand the joystick button size there is certainly no point in buying a Teensy board!
Not really sure I understand your question but I can find usb_desc.h here:
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3\ and
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4\.

Strangly enough, the Windows Explorer Search function does not locate these 2 occurrences?
C:\Users\Paul\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy3\ and