Exemplo n.º 1
0
        protected override bool OnJoystickRelease(InputState state, Framework.Input.JoystickEventArgs args)
        {
            if (!HasFocus)
            {
                return(base.OnJoystickRelease(state, args));
            }

            finalise();
            return(true);
        }
Exemplo n.º 2
0
        protected override bool OnJoystickPress(InputState state, Framework.Input.JoystickEventArgs args)
        {
            if (!HasFocus)
            {
                return(false);
            }

            bindTarget.UpdateKeyCombination(KeyCombination.FromInputState(state));
            finalise();

            return(true);
        }