private static void MixInput(INP inpId, int keyId, int btnId) { int freezeInputFrame_BKUP = GameEngine.FreezeInputFrame; GameEngine.FreezeInputFrame = 0; bool keyDown = 1 <= GameKeyboard.GetKeyInput(keyId); bool btnDown = 1 <= GamePad.GetPadInput(GameGround.I.PrimaryPadId, btnId); GameEngine.FreezeInputFrame = freezeInputFrame_BKUP; GameDefine.UpdateInput(ref InputStatus[(int)inpId], keyDown || btnDown); }
public static bool GetPound(INP inpId) { return(GameToolkit2.IsPound(GetInput(inpId))); }
public static int GetInput(INP inpId) { return(GameEngine.FreezeInputFrame != 0 ? 0 : InputStatus[(int)inpId]); }