public static void KeyUp(int keyIndex) { AtsKey atsKey = (AtsKey)keyIndex; userKey.Remove(atsKey); }
public static bool IsTriggeredKey(this AtsSimulationEnvironment self, AtsKey keyType) { return(self.CurrentKeyStates[keyType].IsDown && self.LastKeyStates[keyType].IsUp); }
public static void KeyDown(int keyIndex) { AtsKey atsKey = (AtsKey)keyIndex; userKey.Add(atsKey); }
public static bool IsPressedKey(this AtsSimulationEnvironment self, AtsKey keyType) { return(self.CurrentKeyStates[keyType].IsDown); }