if (ev.getKeyCode() == ev.VK_ENTER && ev.isControlDown()) {
if (ev.getKeyCode() == KeyEvent.VK_ENTER && ev.isControlDown()) {
    public void keyPressed(KeyEvent ev) {        if (ev.getKeyCode() == ev.VK_ESCAPE) {            clearAllMoves();        }        if (ev.getKeyCode() == ev.VK_ENTER && ev.isControlDown()) {            if (client.isMyTurn()) {                moveTo(cmd);            }        }        if (ev.getKeyCode() == ev.VK_SHIFT && !shiftheld) {            shiftheld = true;            if (client.isMyTurn() && client.game.board.lastCursor != null && !client.game.board.lastCursor.equals(client.game.board.selected)) {                // switch to turning                //client.bv.clearMovementData();                cmd = md.getAppended(currentMove(md.getFinalCoords(ce().getPosition(), ce().getFacing()), md.getFinalFacing(ce().getFacing()), client.game.board.lastCursor));                client.bv.drawMovementData(ce(), cmd);            }        }                // arrow can also rotate when shift is down        if (shiftheld && client.isMyTurn() && (ev.getKeyCode() == ev.VK_LEFT || ev.getKeyCode() == ev.VK_RIGHT)) {            int curDir = md.getFinalFacing(ce().getFacing());            int dir = curDir;            if (ev.getKeyCode() == ev.VK_LEFT) {                dir = (dir + 5) % 6;            } else {                dir = (dir + 7) % 6;            }            Coords curPos = md.getFinalCoords(ce().getPosition(), ce().getFacing());            Coords target = curPos.translated(dir);            cmd = md.getAppended(currentMove(curPos, curDir, target));            client.bv.drawMovementData(ce(), cmd);            md = new MovementData(cmd);        }    }