/** Clears the stored data of all input devices. */ public static void clearAllInputs() { keyboard.clear(); mouse.clear(); window.clear(); }