Esempio n. 1
0
        private bool GetButtonUp(int button, int gamepad)
        {
            KeyCode keyCode = (KeyCode)((int)KeyCode.Joystick1Button0 + (gamepad * InputBinding.MAX_JOYSTICK_BUTTONS) + button);

            return(InputManager.GetKeyUp(keyCode));
        }