public bool GetButtonPrevious( Xbox360GamepadButton key ) { return buttonsToFuncsMap[ key ]( statePrevious ); }
public bool DidButtonPressEnd( Xbox360GamepadButton key ) { return ( !GetButton( key ) && GetButtonPrevious( key ) ); }
public bool GetButton( Xbox360GamepadButton key ) { return buttonsToFuncsMap[ key ]( stateCurrent ); }
public bool DidButtonPressBegin( Xbox360GamepadButton key ) { return ( GetButton( key ) && !GetButtonPrevious( key ) ); }
public bool GetButtonPrevious(Xbox360GamepadButton key) { return(buttonsToFuncsMap[key](statePrevious)); }
public bool GetButton(Xbox360GamepadButton key) { return(buttonsToFuncsMap[key](stateCurrent)); }
public bool DidButtonPressEnd(Xbox360GamepadButton key) { return(!GetButton(key) && GetButtonPrevious(key)); }
public bool DidButtonPressBegin(Xbox360GamepadButton key) { return(GetButton(key) && !GetButtonPrevious(key)); }