public void keyPressed(KeyEvent ke)
    {
        int kc = ke.getKeyCode();
    	if(kc == KeyEvent.VK_RIGHT || kc == 68)
    		p.input.addKey(Input.RIGHT);
    	if(kc == KeyEvent.VK_LEFT || kc == 65)
    		p.input.addKey(Input.LEFT);
    	if(kc == KeyEvent.VK_UP || kc == 87)
    		p.input.addKey(Input.UP);
    	if(kc == KeyEvent.VK_DOWN || kc == 83)
    		p.input.addKey(Input.DOWN);
        System.out.println(kc);
    }