Can't compile Demonbite to my Arduino

Discussion of keyboards, gamepads, joysticks and other input related peripherals.
RascalUK
Posts: 156
Joined: Mon Jun 08, 2020 2:02 pm
Location: Manchester, UK
Has thanked: 72 times
Been thanked: 23 times
Contact:

Can't compile Demonbite to my Arduino

Unread post by RascalUK »

So, ageeees ago I put together an Arduino Pro Micro to connect a Zipstick for Amiga games. I've just come to try an use it again (so had to rewire it) and found the wiring diag for DaemonBiteArcadeEncoder so wired it up as per the diag, connected it and only the fire button works.

Anyway, tried to verify/compile/upload the Sketch from the Github but it fails giving me a

"expect class name before { 'token' in the Gamepad.h dependency. I have zero clue what I'm doing here with Arduino, so I assume it's me being an idiot?

Any help greatly appreciated.

Paul
bellwood420
Core Developer
Posts: 48
Joined: Fri Dec 11, 2020 2:39 pm
Has thanked: 3 times
Been thanked: 32 times

Re: Can't compile Demonbite to my Arduino

Unread post by bellwood420 »

Hi,

What exactly is your board and what board is selected in Tools -> Board menu?
If a board with USB HID capability(e.g. SparkFun Pro Micro) is selected, you should not get that error.
RascalUK
Posts: 156
Joined: Mon Jun 08, 2020 2:02 pm
Location: Manchester, UK
Has thanked: 72 times
Been thanked: 23 times
Contact:

Re: Can't compile Demonbite to my Arduino

Unread post by RascalUK »

Yeah thanks, turns out it's me, I am indeed an idiot. Wrong board selected! Thanks! :-)
Post Reply