{
	"buttons":[
		{"type":"axis", "name":"xlstick", "min":-32768, "max":32767, "centers":true},
		{"type":"axis", "name":"ylstick", "min":-32768, "max":32767, "centers":true},
		{"type":"taxis", "name":"ltrigger", "min":0, "max":255},
		{"type":"axis", "name":"xrstick", "min":-32768, "max":32767, "centers":true},
		{"type":"axis", "name":"yrstick", "min":-32768, "max":32767, "centers":true},
		{"type":"taxis", "name":"rtrigger", "min":0, "max":255},
		{"type":"button", "name":"A"},
		{"type":"button", "name":"B"},
		{"type":"button", "name":"X"},
		{"type":"button", "name":"Y"},
		{"type":"button", "name":"L"},
		{"type":"button", "name":"R"},
		{"type":"button", "name":"back", "symbol":"s"},
		{"type":"button", "name":"start", "symbol":"S"},
		{"type":"button", "name":"lstick", "symbol":"q"},
		{"type":"button", "name":"rstick", "symbol":"Q"},
		{"type":"button", "name":"ybox", "symbol":"O"},
		{"type":"button", "name":"left", "symbol":"l"},
		{"type":"button", "name":"right", "symbol":"r"},
		{"type":"button", "name":"up", "symbol":"u"},
		{"type":"button", "name":"down", "symbol":"d"}
	],"ports":[
		{"symbol":"psystem", "name":"system", "hname":"system", "controllers":[
			{"type":"(system)", "class":"(system)", "buttons":[
				{"type":"button", "name":"framesync", "symbol":"F", "shadow":true},
				{"type":"button", "name":"reset", "symbol":"R", "shadow":true},
				{"type":"axis", "name":"rhigh", "shadow":true},
				{"type":"axis", "name":"rlow", "shadow":true},
				{"type":"button", "name":"hard", "symbol":"H", "shadow":true}
			]}
		],"legal":[0]},
		{"symbol":"ptype1", "name":"ptype1", "hname":"ptype1", "controllers":[
			{"type":"test1", "class":"test", "buttons":"buttons"}
		],"legal":[1]},
		{"symbol":"ptype2", "name":"ptype2", "hname":"ptype2", "controllers":[
			{"type":"test2", "class":"test", "buttons":"buttons"}
		],"legal":[2]}
	]
}
