Missing Files Error Message I Do Not Understand

I am completely new to all this. I have no clue what I am doing. I cant figure out how to fix it. I am trying to do flight sim controls with my teensy but I keep running into problems. The error message is below. Thanks for the help.

Arduino: 1.8.13 (Windows 10), TD: 1.54, Board: "Teensy 3.5, Raw HID, 120 MHz, Faster, US English

In file included from C:\Users\super\OneDrive\Documents\Arduino\libraries\ArduinoJoystickLibrary-master\src/Joystick.h:24:0,

             from C:\Users\super\OneDrive\Documents\Arduino\Flight_sim_rotary\Flight_sim_rotary.ino:22:

C:\Users\super\OneDrive\Documents\Arduino\libraries\ArduinoJoystickLibrary-master\src/DynamicHID/DynamicHID.h:37:28: fatal error: PluggableUSB.h: No such file or directory

compilation terminated.

Error compiling for board Teensy 3.5.

There isn't an exact answer there, but from this PJRC forum thread:
https://forum.pjrc.com/threads/60782-Making-WebUSB-Work-with-the-Teensy-What-is-PluggableUSB
I get the impression that the answer is simply that Teensy has a different approach to USB and doesn't intend to support the PluggableUSB approach taken in the standard Arduino API.

This means that you can't use that library as-is on the Teensy. But Teensy does have extensive HID support so I'm sure it is possible to achieve your goal in some other way.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.