/Engine/Source/Runtime/Engine/Classes/GameFramework/InputSettings.h
and the editor will make a nice drop down for you with all the current options that are in the settings.
static const [TArray](API\Runtime\Core\Containers\TArray)< [FName](API\Runtime\Core\UObject\FName) > & GetAllHardwareDeviceNames()