public void pollInput() {
      if (Mouse.isButtonDown(0)) {
         int x = Mouse.getX();
         int y = Mouse.getY();

         System.out.println("MOUSE DOWN @ X: " + x + " Y: " + y);
      }

      if (Keyboard.isKeyDown(Keyboard.KEY_SPACE)) {
         System.out.println("SPACE KEY IS DOWN");
      }

      while (Keyboard.next()) {
         String state = Keyboard.getEventKeyState() ? "Pressed" : "Released";
         if (Keyboard.getEventKey() == Keyboard.KEY_A) {
            System.out.println("A Key " + state);
         }
         if (Keyboard.getEventKey() == Keyboard.KEY_S) {
            System.out.println("S Key " + state);
         }
         if (Keyboard.getEventKey() == Keyboard.KEY_D) {
            System.out.println("D Key " + state);
         }
      }
   }