Hello,
I eventually have my joystick working !
The problem was that the MAX3421e was never set to "host" state. I modified Usb.cpp, line 465 :
case USB_ATTACHED_SUBSTATE_SETTLE: //setlle time for just attached device
if( delay < millis() ) {
// Host mode
tmpdata = regRd(rMODE) |= 0x01;
regWr( rMODE, tmpdata );
usb_task_state = USB_ATTACHED_SUBSTATE_RESET_DEVICE;
}
break;
Regards.