Navigation
API > API/Plugins > API/Plugins/RawInput > API/Plugins/RawInput/IRawInput
References
| Module | RawInput |
| Header | /Engine/Plugins/Experimental/RawInput/Source/RawInput/Public/RawInput.h |
| Include | #include "RawInput.h" |
virtual void BindButtonForDevice
&40;
int32 DeviceHandle,
FName EventName,
int32 ButtonIndex
&41;
Remarks
Register a button on a device to send input events with a given name
Parameters
| Name | Description |
|---|---|
| DeviceHandle | Device handle to bind to |
| KeyName | Key Name (e.g FRawInputKeyNames::GenericUSBController_Button1) |
| ButtonIndex | Index of the button to bind |