[SOLVED]Xbox360

Post here to get support
Post Reply
Mitteau
Expert
Posts: 248
Joined: Fri Jan 29, 2016 6:00 am

[SOLVED]Xbox360

Post by Mitteau »

Hi everybody!
My json file for xbox360 wireless. Rather fine joypad... Power and rudder in right hand, control stick for roll and pitch for left hand, like in many modern real copters. The schema:
xbox_r.jpg
and the file:
§§§§§§§
{
"inputconfig": {
"inputdevice":
{"name": "Xbox 360 wireless left-handed, nexon", "updateperiod":10,
"axis": [
{"name":"Roll", "type":"Input.AXIS", "id":0, "scale":1.0, "key":"roll"},
{"name":"Pitch", "type":"Input.AXIS", "id":1, "scale":-1.0, "key":"pitch"},
{"name":"Yaw", "type":"Input.AXIS", "id":3, "scale":1.0, "key":"yaw"},
{"name":"Thrust", "type":"Input.AXIS", "id":4, "scale":-1.0, "key":"thrust"},
{"name":"Alt1(ring)+", "type":"Input.BUTTON", "id":2, "scale":1, "key":"alt1"},
{"name":"Alt2(HL)+", "type":"Input.BUTTON", "id":3, "scale":1, "key":"alt2"},
{"name":"Alt3(sound)+", "type":"Input.BUTTON", "id":1, "scale":1, "key":"alt3"},
{"name":"assistedControl", "type":"Input.BUTTON", "id":4, "scale":1, "key":"assistedControl"},
{"name":"Landing", "type":"Input.BUTTON", "id":0, "scale":1, "key":"landing"},
{"name":"Connection", "type":"Input.BUTTON", "id":7, "scale":1, "key":"connect"},
{"name":"Pitch Cal+", "type":"Input.BUTTON", "id":14, "scale":-1, "key":"pitchNeg"},
{"name":"Pitch Cal-", "type":"Input.BUTTON", "id":13, "scale":1, "key":"pitchPos"},
{"name":"Roll Cal +", "type":"Input.BUTTON", "id":12, "scale":1, "key":"rollPos"},
{"name":"Roll Cal -", "type":"Input.BUTTON", "id":11, "scale":-1, "key":"rollNeg"},
{"name":"killswitch", "type":"Input.BUTTON", "id":6, "scale":1, "key":"estop"}
]}
}
}§§§§§§§
Last edited by Mitteau on Sat Dec 30, 2017 9:23 am, edited 1 time in total.
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: Xbox360

Post by tobias »

Great!
Mitteau
Expert
Posts: 248
Joined: Fri Jan 29, 2016 6:00 am

Re: Xbox360

Post by Mitteau »

Thanks!
Post Reply