/// <summary> /// Polls the manager to recieve new input. /// </summary> public static void Poll() { _driver.Poll(); _grabIndex = 0; // Sort out the hits. for (int i = 0; i < _virtualKeys.Length; i++) { if (KeyDown((KeyCodes)i) == true) { _hitKeys[i] = (_hitKeyTimers[i] >= 3); _hitKeyTimers[i] = 0; } else { _hitKeys[i] = false; _hitKeyTimers[i]++; } } }
public void Poll() { inputDriver.Poll(); }