Error compiling for board arduino nano rp2040

brand new to everything computers. trying to upload to my pro micro rp2040 and keep getting the same error code.

Arduino: 1.8.16 (Windows 10), Board: "Arduino Nano RP2040 Connect"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\PC\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\PC\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\PC\Documents\Arduino\libraries -fqbn=arduino:mbed:nanorp2040connect -vid-pid=2341_015E -ide-version=10816 -build-path C:\Users\PC\AppData\Local\Temp\arduino_build_229712 -warnings=none -build-cache C:\Users\PC\AppData\Local\Temp\arduino_cache_48017 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.dfu-util.path=C:\Users\PC\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.10.0-arduino1 -prefs=runtime.tools.dfu-util-0.10.0-arduino1.path=C:\Users\PC\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.10.0-arduino1 -prefs=runtime.tools.rp2040tools.path=C:\Users\PC\AppData\Local\Arduino15\packages\arduino\tools\rp2040tools\1.0.2 -prefs=runtime.tools.rp2040tools-1.0.2.path=C:\Users\PC\AppData\Local\Arduino15\packages\arduino\tools\rp2040tools\1.0.2 -prefs=runtime.tools.openocd.path=C:\Users\PC\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.11.0-arduino2 -prefs=runtime.tools.openocd-0.11.0-arduino2.path=C:\Users\PC\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.11.0-arduino2 -prefs=runtime.tools.bossac.path=C:\Users\PC\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.9.1-arduino2 -prefs=runtime.tools.bossac-1.9.1-arduino2.path=C:\Users\PC\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.9.1-arduino2 -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\PC\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4 -prefs=runtime.tools.arm-none-eabi-gcc-7-2017q4.path=C:\Users\PC\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4 -verbose C:\Users\PC\Downloads\Analog-E-Brake-master (1)\Analog-E-Brake-master\ANALOG_EBRAKE\ANALOG_EBRAKE.ino

C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\PC\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\PC\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\PC\Documents\Arduino\libraries -fqbn=arduino:mbed:nanorp2040connect -vid-pid=2341_015E -ide-version=10816 -build-path C:\Users\PC\AppData\Local\Temp\arduino_build_229712 -warnings=none -build-cache C:\Users\PC\AppData\Local\Temp\arduino_cache_48017 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.dfu-util.path=C:\Users\PC\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.10.0-arduino1 -prefs=runtime.tools.dfu-util-0.10.0-arduino1.path=C:\Users\PC\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.10.0-arduino1 -prefs=runtime.tools.rp2040tools.path=C:\Users\PC\AppData\Local\Arduino15\packages\arduino\tools\rp2040tools\1.0.2 -prefs=runtime.tools.rp2040tools-1.0.2.path=C:\Users\PC\AppData\Local\Arduino15\packages\arduino\tools\rp2040tools\1.0.2 -prefs=runtime.tools.openocd.path=C:\Users\PC\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.11.0-arduino2 -prefs=runtime.tools.openocd-0.11.0-arduino2.path=C:\Users\PC\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.11.0-arduino2 -prefs=runtime.tools.bossac.path=C:\Users\PC\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.9.1-arduino2 -prefs=runtime.tools.bossac-1.9.1-arduino2.path=C:\Users\PC\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.9.1-arduino2 -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\PC\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4 -prefs=runtime.tools.arm-none-eabi-gcc-7-2017q4.path=C:\Users\PC\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4 -verbose C:\Users\PC\Downloads\Analog-E-Brake-master (1)\Analog-E-Brake-master\ANALOG_EBRAKE\ANALOG_EBRAKE.ino

Using board 'nanorp2040connect' from platform in folder: C:\Users\PC\AppData\Local\Arduino15\packages\arduino\hardware\mbed\2.6.1

Using core 'arduino' from platform in folder: C:\Users\PC\AppData\Local\Arduino15\packages\arduino\hardware\mbed\2.6.1

Detecting libraries used...

"C:\Users\PC\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++" -c -w -g3 -nostdlib "@C:\Users\PC\AppData\Local\Arduino15\packages\arduino\hardware\mbed\2.6.1\variants\NANO_RP2040_CONNECT/defines.txt" "@C:\Users\PC\AppData\Local\Arduino15\packages\arduino\hardware\mbed\2.6.1\variants\NANO_RP2040_CONNECT/cxxflags.txt" -DARDUINO_ARCH_RP2040 -mcpu=cortex-m0plus -w -x c++ -E -CC -DARDUINO=10816 -DARDUINO_NANO_RP2040_CONNECT -DARDUINO_ARCH_MBED -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 "-IC:\Users\PC\AppData\Local\Arduino15\packages\arduino\hardware\mbed\2.6.1\cores\arduino" "-IC:\Users\PC\AppData\Local\Arduino15\packages\arduino\hardware\mbed\2.6.1\variants\NANO_RP2040_CONNECT" "-IC:\Users\PC\AppData\Local\Arduino15\packages\arduino\hardware\mbed\2.6.1\cores\arduino/api/deprecated" "-IC:\Users\PC\AppData\Local\Arduino15\packages\arduino\hardware\mbed\2.6.1\cores\arduino/api/deprecated-avr-comp" "-iprefixC:\Users\PC\AppData\Local\Arduino15\packages\arduino\hardware\mbed\2.6.1\cores\arduino" "@C:\Users\PC\AppData\Local\Arduino15\packages\arduino\hardware\mbed\2.6.1\variants\NANO_RP2040_CONNECT/includes.txt" "C:\Users\PC\AppData\Local\Temp\arduino_build_229712\sketch\ANALOG_EBRAKE.ino.cpp" -o nul

Alternatives for Joystick.h: [Joystick]

ResolveLibrary(Joystick.h)

-> candidates: [Joystick]

"C:\Users\PC\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++" -c -w -g3 -nostdlib "@C:\Users\PC\AppData\Local\Arduino15\packages\arduino\hardware\mbed\2.6.1\variants\NANO_RP2040_CONNECT/defines.txt" "@C:\Users\PC\AppData\Local\Arduino15\packages\arduino\hardware\mbed\2.6.1\variants\NANO_RP2040_CONNECT/cxxflags.txt" -DARDUINO_ARCH_RP2040 -mcpu=cortex-m0plus -w -x c++ -E -CC -DARDUINO=10816 -DARDUINO_NANO_RP2040_CONNECT -DARDUINO_ARCH_MBED -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 "-IC:\Users\PC\AppData\Local\Arduino15\packages\arduino\hardware\mbed\2.6.1\cores\arduino" "-IC:\Users\PC\AppData\Local\Arduino15\packages\arduino\hardware\mbed\2.6.1\variants\NANO_RP2040_CONNECT" "-IC:\Program Files (x86)\Arduino\libraries\Joystick" "-IC:\Users\PC\AppData\Local\Arduino15\packages\arduino\hardware\mbed\2.6.1\cores\arduino/api/deprecated" "-IC:\Users\PC\AppData\Local\Arduino15\packages\arduino\hardware\mbed\2.6.1\cores\arduino/api/deprecated-avr-comp" "-iprefixC:\Users\PC\AppData\Local\Arduino15\packages\arduino\hardware\mbed\2.6.1\cores\arduino" "@C:\Users\PC\AppData\Local\Arduino15\packages\arduino\hardware\mbed\2.6.1\variants\NANO_RP2040_CONNECT/includes.txt" "C:\Users\PC\AppData\Local\Temp\arduino_build_229712\sketch\ANALOG_EBRAKE.ino.cpp" -o nul

Alternatives for HID.h:

ResolveLibrary(HID.h)

-> candidates: In file included from C:\Users\PC\Downloads\Analog-E-Brake-master (1)\Analog-E-Brake-master\ANALOG_EBRAKE\ANALOG_EBRAKE.ino:8:0:

C:\Program Files (x86)\Arduino\libraries\Joystick/Joystick.h:24:10: fatal error: HID.h: No such file or directory

#include "HID.h"

      ^~~~~~~

compilation terminated.

Using library Joystick in folder: C:\Program Files (x86)\Arduino\libraries\Joystick (legacy)

exit status 1

Error compiling for board Arduino Nano RP2040 Connect.

This library is for 32u4 based devices.

so does that mean im not able to load it into this unit?

The processor on that board is an RP2040, the library is for a 32u4. The two are incompatible. What are you trying to do with your Nano RP2040 that requires this library?