lsnes rr2-β24
[lsnes.git] / src / emulation / test / ports.json
blobb0145bf20efc2ec962a3a33d2251cbd33d19b0c2
2         "buttons":[
3                 {"type":"axis", "name":"xlstick", "min":-32768, "max":32767, "centers":true},
4                 {"type":"axis", "name":"ylstick", "min":-32768, "max":32767, "centers":true},
5                 {"type":"taxis", "name":"ltrigger", "min":0, "max":255},
6                 {"type":"axis", "name":"xrstick", "min":-32768, "max":32767, "centers":true},
7                 {"type":"axis", "name":"yrstick", "min":-32768, "max":32767, "centers":true},
8                 {"type":"taxis", "name":"rtrigger", "min":0, "max":255},
9                 {"type":"button", "name":"A"},
10                 {"type":"button", "name":"B"},
11                 {"type":"button", "name":"X"},
12                 {"type":"button", "name":"Y"},
13                 {"type":"button", "name":"L"},
14                 {"type":"button", "name":"R"},
15                 {"type":"button", "name":"back", "symbol":"s"},
16                 {"type":"button", "name":"start", "symbol":"S"},
17                 {"type":"button", "name":"lstick", "symbol":"q"},
18                 {"type":"button", "name":"rstick", "symbol":"Q"},
19                 {"type":"button", "name":"ybox", "symbol":"O"},
20                 {"type":"button", "name":"left", "symbol":"l"},
21                 {"type":"button", "name":"right", "symbol":"r"},
22                 {"type":"button", "name":"up", "symbol":"u"},
23                 {"type":"button", "name":"down", "symbol":"d"}
24         ],"ports":[
25                 {"symbol":"psystem", "name":"system", "hname":"system", "controllers":[
26                         {"type":"(system)", "class":"(system)", "buttons":[
27                                 {"type":"button", "name":"framesync", "symbol":"F", "shadow":true},
28                                 {"type":"button", "name":"reset", "symbol":"R", "shadow":true},
29                                 {"type":"axis", "name":"rhigh", "shadow":true},
30                                 {"type":"axis", "name":"rlow", "shadow":true},
31                                 {"type":"button", "name":"hard", "symbol":"H", "shadow":true}
32                         ]}
33                 ],"legal":[0]},
34                 {"symbol":"ptype1", "name":"ptype1", "hname":"ptype1", "controllers":[
35                         {"type":"test1", "class":"test", "buttons":"buttons"}
36                 ],"legal":[1]},
37                 {"symbol":"ptype2", "name":"ptype2", "hname":"ptype2", "controllers":[
38                         {"type":"test2", "class":"test", "buttons":"buttons"}
39                 ],"legal":[2]}
40         ]