/** Updates the stored data used by input devices. */ public static void updateAllInputs() { keyboard.poll(); mouse.poll(); window.poll(); }
/** Polls the keyboard for new keys that might be pressed this update. */ public static void poll() { keyboard.poll(); }