58 lines
632 B
Go
58 lines
632 B
Go
package joystick
|
|
|
|
var xbox360RockBandDrumsConfig = joystickConfig{
|
|
Name: "XBox 360 Rock Band Drums Controller",
|
|
GUID: "4444",
|
|
Axis: []pair{},
|
|
Buttons: []pair{
|
|
{
|
|
Name: "green",
|
|
ID: 0,
|
|
},
|
|
{
|
|
Name: "red",
|
|
ID: 1,
|
|
},
|
|
{
|
|
Name: "blue",
|
|
ID: 2,
|
|
},
|
|
{
|
|
Name: "yellow",
|
|
ID: 3,
|
|
},
|
|
{
|
|
Name: "pedal",
|
|
ID: 4,
|
|
},
|
|
{
|
|
Name: "back",
|
|
ID: 6,
|
|
},
|
|
{
|
|
Name: "start",
|
|
ID: 7,
|
|
},
|
|
{
|
|
Name: "home",
|
|
ID: 8,
|
|
},
|
|
{
|
|
Name: "left",
|
|
ID: 11,
|
|
},
|
|
{
|
|
Name: "right",
|
|
ID: 12,
|
|
},
|
|
{
|
|
Name: "up",
|
|
ID: 13,
|
|
},
|
|
{
|
|
Name: "down",
|
|
ID: 14,
|
|
},
|
|
},
|
|
}
|