Mount Fuji Engine
0.8b
Main Page
Modules
Data Structures
Files
Input Functions
MFAccelerometerInput
MFGamepadButton
MFGamepadFlags
MFInput_EnumerateString
MFInput_GetDeadZone
MFInput_GetDeviceFlags
MFInput_GetDeviceName
MFInput_GetGamepadButtonName
MFInput_GetKeyboardStatusState
MFInput_GetNumGamepads
MFInput_GetNumKeyboards
MFInput_GetNumPointers
MFInput_IsAvailable
MFInput_IsConnected
MFInput_IsReady
MFInput_Read
MFInput_ReadMouseDelta
MFInput_ReadMousePos
MFInput_SetDeadZone
MFInput_SetMouseAcceleration
MFInput_SetMouseClippingRect
MFInput_SetMouseMode
MFInput_WasPressed
MFInput_WasReleased
MFInputDevice
MFInputDeviceStatus
MFKeyboardButton
MFKeyboardStatusState
MFMouseButton
MFMouseMode
MFTouchPanelInput
MF_API bool MFInput_WasPressed
(
int
button
,
int
device
,
int
deviceID
=
0
)
Test if a button was pressed this frame.
Parameters
button
The button or control on the device to test. Must be a member of the
MFGamepadButton
,
MFMouseButton
or
MFKeyboardButton
enumerated types.
device
The source device. Must be a member of the
MFInputDevice
enumerated type.
deviceID
The source device index.
Returns
True if the button was pressed this frame.
See Also
MFInput_Read()
,
MFInput_WasReleased()
Generated on Thu Sep 19 2013 00:34:54 for Mount Fuji Engine by
1.8.5