Navigation
API > API/Plugins > API/Plugins/VCamCore > API/Plugins/VCamCore/Input > API/Plugins/VCamCore/Input/FVCamInputDeviceConfig
Syntax
UPROPERTY&40;EditAnywhere, Category&61;"Input",
Meta&61;&40;EditCondition&61;"&33;bAllowAllInputDevices", EditConditionHides&41;&41;
TArray< FVCamInputDeviceID > AllowedInputDeviceIds
Remarks
List of input devices from which input can trigger input actions. Typically this is used for gamepads.
Input device IDs start at 0 and increase by 1 as more devices connect. When a device disconnects, the ID is recycled and becomes available for reassignment to the next device that connects; when a device connects, the lowest possible ID is reassigned.
Example: suppose you have three gamepads called A, B, and VCamDevicePairingConfig.h
Connect gamepad A > receives ID 0
Connect gamepad B > receives ID 1
Disconnect gamepad A > gamepad B will still have ID 1
Connect the same gamepad A OR another gamepad C > receives ID 0.
Note: Keyboards always have ID = 0, mice ID = -1. Note: The first gamepad will have ID = 0 even though keyboards will also have ID 0.