Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Experimental/RawInput/Source/RawInput/Public/RawInput.h |
Include |
#include "RawInput.h" |
Register a button on a device to send input events with a given name
Parameter |
Description |
---|---|
DeviceHandle |
Device handle to bind to |
KeyName |
Key Name (e.g FRawInputKeyNames::GenericUSBController_Button1) |
ButtonIndex |
Index of the button to bind |