garbear / xbmc

XBMC Main Repository
http://xbmc.org
Other
132 stars 53 forks source link

Mapping #117

Closed cool-pants closed 4 years ago

cool-pants commented 4 years ago

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: