Joystick drivers present three kinds of elements:
Most of the time we want to know how these map to a particular system's controller (Kodi uses the Xbox 360 profile). The controller configuration GUI, however, also needs access to the raw driver elements. There is an event handler for both of these situations.