Allow binding commands to class instance
[lsnes.git] / src / cmdhelp / button.json
blobebbb079e22acff3a1a91f47529f07ad8245500ea
2         "btnp":{
3                 "__class":"button",
4                 "__name":"+controller",
5                 "__description":"Press a button",
6                 "<button>":"Press button <button>"
7         },
8         "btnr":{
9                 "__class":"button",
10                 "__name":"-controller",
11                 "__description":"Release a button",
12                 "<button>":"Release button <button>"
13         },
14         "btnh":{
15                 "__class":"button",
16                 "__name":"hold-controller",
17                 "__description":"Autohold a button",
18                 "<button>":"Autohold button <button>"
19         },
20         "btnt":{
21                 "__class":"button",
22                 "__name":"type-controller",
23                 "__description":"Type a button",
24                 "<button>":"Type button <button>"
25         },
26         "btnd":{
27                 "__class":"button",
28                 "__name":"designate-position",
29                 "__description":"Set postion",
30                 "<button>":"Designate position for an axis"
31         },
32         "btnap":{
33                 "__class":"button",
34                 "__name":"+autofire-controller",
35                 "__description":"Start autofire",
36                 "<button> [[<duty> ]<cyclelen>]":"Autofire button <button> with duty <duty> out of <cyclelen>"
37         },
38         "btnar":{
39                 "__class":"button",
40                 "__name":"-autofire-controller",
41                 "__description":"End autofire",
42                 "<button> [[<duty> ]<cyclelen>]":"End Autofire on button <button>"
43         },
44         "btnat":{
45                 "__class":"button",
46                 "__name":"autofire-controller",
47                 "__description":"Toggle autofire",
48                 "<button> [[<duty> ]<cyclelen>]":"Toggle Autofire on button <button> with duty <duty> out of <cyclelen>"
49         },
50         "btna":{
51                 "__class":"button",
52                 "__name":"controller-analog",
53                 "__description":"Analog action",
54                 "<button> <axisvalue>":"Analog action on <button> with value <axisvalue>"
55         }