Trying to compile your gamport code on arduino ide for resulted in an error - see below. I would greatly appreciate any ideas on how to fix or investigate this issue.
HidDevice.h:159:21: error: 'EP_TYPE_INTERRUPT_IN' was not declared in this scope
uint8_t epType[1]{EP_TYPE_INTERRUPT_IN};
I want to compile for arduino zero because the SAMD21G18A chip has a lot more memory than the ATmega32U4. This should allow me to run the code necessary for a midi interface to operate on the gameport at the same time as joystick code.
I'm afraid you can't just take it and compile for another platform. You will have to implement USB HID registration, since the Arduino code will most probably not work with SAM D21 as is.
Trying to compile your gamport code on arduino ide for resulted in an error - see below. I would greatly appreciate any ideas on how to fix or investigate this issue.
HidDevice.h:159:21: error: 'EP_TYPE_INTERRUPT_IN' was not declared in this scope uint8_t epType[1]{EP_TYPE_INTERRUPT_IN};
full error here:
error.txt
I want to compile for arduino zero because the SAMD21G18A chip has a lot more memory than the ATmega32U4. This should allow me to run the code necessary for a midi interface to operate on the gameport at the same time as joystick code.