An arcade controller project for the MiSTer FPGA project and any other device accepting USB HID joysticks. Up to 12 buttons are supported. Can also be used to create NeoGeo/Atari/Commodore/Amiga controller to USB adapters.
GNU General Public License v3.0
275
stars
47
forks
source link
Compilation error: redefinition of 'class Gamepad_' - how to fix #20
Get this error when compiling after installing HID-Project library.
To fix it, need to comment out the following in "documents/Arduino/libraries/HID-Project/src/HID-project.h"
include "MultiReport/Gamepad.h"
e.g. to:
// #include "MultiReport/Gamepad.h"
Then I was able to compile successfully. Not sure if this is a changed behavior of Arduino IDE regarding priority of duplicate includes. This behavior happened on Arduino IDE 1.8.19 and 2.0.0-rc9.1.
Get this error when compiling after installing HID-Project library. To fix it, need to comment out the following in "documents/Arduino/libraries/HID-Project/src/HID-project.h"
include "MultiReport/Gamepad.h"
e.g. to: // #include "MultiReport/Gamepad.h"
Then I was able to compile successfully. Not sure if this is a changed behavior of Arduino IDE regarding priority of duplicate includes. This behavior happened on Arduino IDE 1.8.19 and 2.0.0-rc9.1.