I'm trying to understand/modify the HID joystick descriptor file for the Teensy joystick program. The goal is to change the analog data resolution from 10 bits to 12.

The issue is determining what functions call what. Everything is programmed in Arduino, so debugging it is non-existent as far as I can tell.

I can't even find a linker file, so I don't know what the actual list of associated files are that make up the whole program.

I know that the four main files I need to work with are:
usb_desc.c,
usb_desc.h,
usb_joystick.c,
usb_joystick.h,
but there are associated intermediate files that I don't know about.

Does anyone have any recommendations or a way to sort this out?