src/km.cpp
float ButtonDown(const Sint32& pKey)
	{
		if (bEnabled == false) return 0.0f;

		if (pKey == MOUSE_BUTTON_WHEELUP) return (float)OnMouseWheelUp();
		if (pKey == MOUSE_BUTTON_WHEELDOWN) return (float)OnMouseWheelDown();
		return (float)mButton[pKey];
	}
//-----------------------------------------------------------------------------
// Purpose: Return if the button is currently down.
//-----------------------------------------------------------------------------
Return if the button is currently down.
Return if the button is currently down .
float ButtonDown(const Sint32& pKey)
	{
		if (bEnabled == false) return 0.0f;
		if (pKey == MOUSE_BUTTON_WHEELUP) return (float)OnMouseWheelUp();
		if (pKey == MOUSE_BUTTON_WHEELDOWN) return (float)OnMouseWheelDown();
		return (float)mButton[pKey];
	}
float ButtonDown ( const Sint32 & pKey ) { if ( bEnabled == false ) return 0.0f ; if ( pKey == MOUSE_BUTTON_WHEELUP ) return ( float ) OnMouseWheelUp ( ) ; if ( pKey == MOUSE_BUTTON_WHEELDOWN ) return ( float ) OnMouseWheelDown ( ) ; return ( float ) mButton [ pKey ] ; }
Purpose: Return if the button is currently down.
Purpose : Return if the button is currently down .