Fixed peripheral mapping.
Now the configuration wizard only accepts input from the controller which initiates the mapping.
Motivation and Context
Earlier during the controller configuration, the controller mapping was restricted to peripherals with different device names to be mapped one at a time. Meaning two devices with the same device name could be mapped to a single controller profile.
Now the configuration wizard only accepts input from the physical joystick which initiated the mapping.
How Has This Been Tested?
Tested using three controllers, two of which were of the same model and a third different controller.
While trying to map one of the two similar controllers, the other two were used to send button press events regularly during each keymap. Though all events were registered, none were used in the button map.
Screenshots (if appropriate):
Types of change
[X] Bug fix (non-breaking change which fixes an issue)
[ ] Clean up (non-breaking change which removes non-working, unmaintained functionality)
[ ] Improvement (non-breaking change which improves existing functionality)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that will cause existing functionality to change)
[ ] Cosmetic change (non-breaking change that doesn't touch code)
Description
Fixed peripheral mapping. Now the configuration wizard only accepts input from the controller which initiates the mapping.
Motivation and Context
Earlier during the controller configuration, the controller mapping was restricted to peripherals with different device names to be mapped one at a time. Meaning two devices with the same device name could be mapped to a single controller profile.
Now the configuration wizard only accepts input from the physical joystick which initiated the mapping.
How Has This Been Tested?
Tested using three controllers, two of which were of the same model and a third different controller.
While trying to map one of the two similar controllers, the other two were used to send button press events regularly during each keymap. Though all events were registered, none were used in the button map.
Screenshots (if appropriate):
Types of change
Checklist: