necroware / gameport-adapter

GamePort adapter to connect old DB15 joysticks to USB port
GNU General Public License v3.0
297 stars 57 forks source link

compilation error in HidDevice.h #60

Closed cheat45681 closed 1 year ago

cheat45681 commented 1 year ago

have tried to build this several times with different versions IDE even tried to build with online with Arduino editor. All return same error "expected class-name before '{' token"

exit status 1

Compilation error: expected class-name before '{' token

cu commented 1 year ago

For anyone else who runs into this, you have to select the right board in the Arduino environment. (In this case, Arduino Leonardo.)