     if (modifiers.bmRightShift) {
         switch (key) {
             case KEY_1:
-                keyboardState.currentMode = MODE_NEUTRAL;
+                keyboardState.currentMode = MODE_QWERTY;
 
                 return true;
 

#endif

        switch (keyboardState.currentMode) {
            case MODE_NEUTRAL:
                Keyboard.press(key);
                return;

            case MODE_DUDRACK:

        }
    }

    keyMappings[MAPPING_QWERTY][KEY_CAPS_LOCK] = KEY_LEFT_CTRL;

    keyMappings[MAPPING_DUDRACK_NEUTRAL][KEY_Q        ] = KEY_COLON;
    keyMappings[MAPPING_DUDRACK_NEUTRAL][KEY_W        ] = KEY_COMMA;
    keyMappings[MAPPING_DUDRACK_NEUTRAL][KEY_E        ] = KEY_PERIOD;
    keyMappings[MAPPING_DUDRACK_NEUTRAL][KEY_R        ] = KEY_P;
    keyMappings[MAPPING_DUDRACK_NEUTRAL][KEY_T        ] = KEY_Y;
    keyMappings[MAPPING_DUDRACK_NEUTRAL][KEY_Y        ] = KEY_F;
    keyMappings[MAPPING_DUDRACK_NEUTRAL][KEY_U        ] = KEY_G;
    keyMappings[MAPPING_DUDRACK_NEUTRAL][KEY_I        ] = KEY_C;
    keyMappings[MAPPING_DUDRACK_NEUTRAL][KEY_O        ] = KEY_R;
    keyMappings[MAPPING_DUDRACK_NEUTRAL][KEY_P        ] = KEY_L;
    keyMappings[MAPPING_DUDRACK_NEUTRAL][KEY_AT       ] = KEY_SLASH;
    keyMappings[MAPPING_DUDRACK_NEUTRAL][KEY_S        ] = KEY_O;
    keyMappings[MAPPING_DUDRACK_NEUTRAL][KEY_D        ] = KEY_E;
    keyMappings[MAPPING_DUDRACK_NEUTRAL][KEY_F        ] = KEY_U;
    keyMappings[MAPPING_DUDRACK_NEUTRAL][KEY_G        ] = KEY_I;
    keyMappings[MAPPING_DUDRACK_NEUTRAL][KEY_H        ] = KEY_D;
    keyMappings[MAPPING_DUDRACK_NEUTRAL][KEY_J        ] = KEY_H;
    keyMappings[MAPPING_DUDRACK_NEUTRAL][KEY_K        ] = KEY_T;
    keyMappings[MAPPING_DUDRACK_NEUTRAL][KEY_L        ] = KEY_N;
    keyMappings[MAPPING_DUDRACK_NEUTRAL][KEY_SEMICOLON] = KEY_S;
    keyMappings[MAPPING_DUDRACK_NEUTRAL][KEY_COLON    ] = KEY_MINUS;
    keyMappings[MAPPING_DUDRACK_NEUTRAL][KEY_Z        ] = KEY_SEMICOLON;
    keyMappings[MAPPING_DUDRACK_NEUTRAL][KEY_X        ] = KEY_Q;
    keyMappings[MAPPING_DUDRACK_NEUTRAL][KEY_C        ] = KEY_J;
    keyMappings[MAPPING_DUDRACK_NEUTRAL][KEY_V        ] = KEY_K;
    keyMappings[MAPPING_DUDRACK_NEUTRAL][KEY_B        ] = KEY_X;
    keyMappings[MAPPING_DUDRACK_NEUTRAL][KEY_N        ] = KEY_B;
    keyMappings[MAPPING_DUDRACK_NEUTRAL][KEY_M        ] = KEY_M;
    keyMappings[MAPPING_DUDRACK_NEUTRAL][KEY_COMMA    ] = KEY_W;
    keyMappings[MAPPING_DUDRACK_NEUTRAL][KEY_PERIOD   ] = KEY_V;
    keyMappings[MAPPING_DUDRACK_NEUTRAL][KEY_SLASH    ] = KEY_Z;
    keyMappings[MAPPING_DUDRACK_NEUTRAL][KEY_CAPS_LOCK] = KEY_LEFT_CTRL;

    keyMappings[MAPPING_DUDRACK_HENKAN][KEY_Q        ] = KEY_1;
    keyMappings[MAPPING_DUDRACK_HENKAN][KEY_W        ] = KEY_2;
    keyMappings[MAPPING_DUDRACK_HENKAN][KEY_E        ] = KEY_3;
    keyMappings[MAPPING_DUDRACK_HENKAN][KEY_R        ] = KEY_4;
    keyMappings[MAPPING_DUDRACK_HENKAN][KEY_T        ] = KEY_5;
    keyMappings[MAPPING_DUDRACK_HENKAN][KEY_Y        ] = KEY_6;
    keyMappings[MAPPING_DUDRACK_HENKAN][KEY_U        ] = KEY_7;
    keyMappings[MAPPING_DUDRACK_HENKAN][KEY_I        ] = KEY_8;
    keyMappings[MAPPING_DUDRACK_HENKAN][KEY_O        ] = KEY_9;
    keyMappings[MAPPING_DUDRACK_HENKAN][KEY_P        ] = KEY_0;
    keyMappings[MAPPING_DUDRACK_HENKAN][KEY_AT       ] = KEY_SLASH;
    keyMappings[MAPPING_DUDRACK_HENKAN][KEY_A        ] = KEY_TAB;
    keyMappings[MAPPING_DUDRACK_HENKAN][KEY_S        ] = KEY_ESC;
    keyMappings[MAPPING_DUDRACK_HENKAN][KEY_D        ] = KEY_ENTER;
    keyMappings[MAPPING_DUDRACK_HENKAN][KEY_F        ] = KEY_BACKSPACE;
    keyMappings[MAPPING_DUDRACK_HENKAN][KEY_G        ] = KEY_DELETE;
    keyMappings[MAPPING_DUDRACK_HENKAN][KEY_H        ] = KEY_AT;
    keyMappings[MAPPING_DUDRACK_HENKAN][KEY_J        ] = KEY_JP_BACKSLASH;
    keyMappings[MAPPING_DUDRACK_HENKAN][KEY_K        ] = KEY_LEFT_BRACKET;
    keyMappings[MAPPING_DUDRACK_HENKAN][KEY_L        ] = KEY_RIGHT_BRACKET;
    keyMappings[MAPPING_DUDRACK_HENKAN][KEY_SEMICOLON] = KEY_YEN;
    keyMappings[MAPPING_DUDRACK_HENKAN][KEY_COLON    ] = KEY_MINUS;
    keyMappings[MAPPING_DUDRACK_HENKAN][KEY_Z        ] = KEY_LEFT;
    keyMappings[MAPPING_DUDRACK_HENKAN][KEY_X        ] = KEY_DOWN;
    keyMappings[MAPPING_DUDRACK_HENKAN][KEY_C        ] = KEY_UP;
    keyMappings[MAPPING_DUDRACK_HENKAN][KEY_V        ] = KEY_RIGHT;
    keyMappings[MAPPING_DUDRACK_HENKAN][KEY_B        ] = KEY_X;
    keyMappings[MAPPING_DUDRACK_HENKAN][KEY_N        ] = KEY_HAN_ZEN;
    keyMappings[MAPPING_DUDRACK_HENKAN][KEY_M        ] = KEY_MUHENKAN;
    keyMappings[MAPPING_DUDRACK_HENKAN][KEY_COMMA    ] = KEY_HOME;
    keyMappings[MAPPING_DUDRACK_HENKAN][KEY_PERIOD   ] = KEY_END;
    keyMappings[MAPPING_DUDRACK_HENKAN][KEY_SLASH    ] = KEY_HAT;
    keyMappings[MAPPING_DUDRACK_HENKAN][KEY_CAPS_LOCK] = KEY_LEFT_CTRL;
}

struct {
