Device.SetActionMap(ActionFormat,ApplyActionMap) Method (Microsoft.DirectX.DirectInput)
Sets the data format for a device and maps application-defined actions to device objects. It also sets the buffer size for buffered data.
Definition
Visual Basic Public Function SetActionMap( _
ByVal af As ActionFormat, _
ByVal flags As ApplyActionMap _
) As SetActionMapReturnCodesC# public SetActionMapReturnCodes SetActionMap(
ActionFormat af,
ApplyActionMap flags
);C++ public:
SetActionMapReturnCodes SetActionMap(
ActionFormat^ af,
ApplyActionMap flags
);JScript public function SetActionMap(
af : ActionFormat,
flags : ApplyActionMap
) : SetActionMapReturnCodes;
Parameters
af Microsoft.DirectX.DirectInput.ActionFormat
flags Microsoft.DirectX.DirectInput.ApplyActionMap
Return Value