Merge branch 'pull' into FIXED-WEBAPP

This commit is contained in:
Dummydude 2023-06-29 17:04:43 -04:00 • committed by GitHub
commit 58267d8e10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 31 additions and 4 deletions

View file

@ -53,8 +53,34 @@ L_STICK@+000+000 0.75s
1.0s
```
Remember, each X and Y value must be 3 digits. If you want to tilt the Right Thumbstick 75% to the left, you must write it as `R_STICK@-075+000`. Another thing to keep in mind, the sum of your X and Y can be more than 100. For example, `L_STICK@+100+100` is a 45° angle.
### Loops
A simple for-loop can be used to repeat a macro block a specified number of times. The below example loops through an indented macro block 100 times.
```
LOOP 100
B 0.1s
0.1s
```
Nested loops are also supported.
```
LOOP 100
B 0.1s
0.1s
# Nested loop
LOOP 5
A 0.1s
0.1s
```
Note, a macro line starting with `#` is ignored.
## Macro Control Values
| Macro Value | Control Name |