equal
deleted
inserted
replaced
166 |
166 |
167 ===== Buttons ===== |
167 ===== Buttons ===== |
168 |
168 |
169 Syntax: `jJbB` |
169 Syntax: `jJbB` |
170 |
170 |
171 * `J`: Controller ID beginning with 0 |
171 * `J`: Controller ID beginning with 0 |
172 * `A`: Button ID beginning with 0 |
172 * `A`: Button ID beginning with 0 |
173 |
173 |
174 Examples: |
174 Examples: |
175 || *Code* || Description || |
175 || *Code* || Description || |
176 || `j0b0` || First controller, first button || |
176 || `j0b0` || First controller, first button || |
177 || `j0b1` || First controller, second button || |
177 || `j0b1` || First controller, second button || |
179 |
179 |
180 ===== Axes ===== |
180 ===== Axes ===== |
181 |
181 |
182 Syntax: `jJaAD` |
182 Syntax: `jJaAD` |
183 |
183 |
184 * `J`: Controller ID beginning with 0 |
184 * `J`: Controller ID beginning with 0 |
185 * `A`: Axis |
185 * `A`: Axis |
186 * `D`: Axis direction. One of the following letters: |
186 * `D`: Axis direction. One of the following letters: |
187 * `u`: positive (“up”) |
187 * `u`: positive (“up”) |
188 * `d`: negative (“down”) |
188 * `d`: negative (“down”) |
189 |
189 |
190 Examples: |
190 Examples: |
191 |
191 |
192 || *Code* || Description || |
192 || *Code* || Description || |
193 || `j0a0u` || First controller, first axis up || |
193 || `j0a0u` || First controller, first axis up || |
196 |
196 |
197 ===== Hats/D-pads ===== |
197 ===== Hats/D-pads ===== |
198 |
198 |
199 Syntax: `jJhHD` |
199 Syntax: `jJhHD` |
200 |
200 |
201 * `J`: Controller ID beginning with 0 |
201 * `J`: Controller ID beginning with 0 |
202 * `A`: D-pad ID |
202 * `A`: D-pad ID |
203 * `D`: Direction, it is one of 4 letters: |
203 * `D`: Direction, it is one of 4 letters: |
204 * `u`: up |
204 * `u`: up |
205 * `r`: right |
205 * `r`: right |
206 * `d`: down |
206 * `d`: down |
207 * `l`: left |
207 * `l`: left |
208 |
|
209 |
208 |
210 Examples: |
209 Examples: |
211 || *Code* || Description || |
210 || *Code* || Description || |
212 || `j0h0u` || First controller, first D-pad up || |
211 || `j0h0u` || First controller, first D-pad up || |
213 || `j0h1l` || First controller, second D-pad left || |
212 || `j0h1l` || First controller, second D-pad left || |