 
     Gamepad.write();
 }
+#endif
 
 class : public KeyboardReportParser {
 public:


#define MODE_NEUTRAL 0
#define MODE_DUDRACK 1
#define MODE_STG 2
#define MODE_COUNT 3

#define MAPPING_NEUTRAL 0
#define MAPPING_HENKAN 1
#define MAPPING_COUNT 2

#define STICK_NEUTRAL 0
#define STICK_DOWN 0x7000
#define STICK_UP -0x7000
#define STICK_LEFT -0x7000
#define STICK_RIGHT 0x7000

#define STICK_DOWN_KEY  KEY_K
#define STICK_UP_KEY    KEY_I
#define STICK_LEFT_KEY  KEY_J
#define STICK_RIGHT_KEY KEY_L
#define BUTTON_1_KEY    KEY_D
#define BUTTON_2_KEY    KEY_F
#define BUTTON_3_KEY    KEY_G
#define BUTTON_4_KEY    KEY_S
#define BUTTON_5_KEY    KEY_MUHENKAN
#define BUTTON_6_KEY    KEY_HENKAN
#define BUTTON_7_KEY    KEY_SPACE

USB    Usb;
USBHub Hub(&Usb);


    Mouse.begin();
    Keyboard.begin();

#if ENABLE_GAMEPAD
    Gamepad.begin();
#endif
}

void loop() {
