You should be able to define an entire controller schema from the ground up. Functionality should resemble:
Expect:
{
"name" : "Atari Modern Controller",
"sticks" : [
"left" : { up: { (axis_no), ranges: { linux: {min: 0.5, max: 1.0}, windows: {0, 1.0}, down: (axis_no), left: (axis).... etc }
],
"buttons": [
"X" : IC_button_Y, ....
],
}
I need to double check if this functionality is already available, which brings me to the next issue.