Readme Tweaks

This commit is contained in:
Jonatan Rek 2024-09-12 15:39:20 +02:00
parent 603a171f1b
commit f31a05dcf4

View File

@ -8,7 +8,7 @@ Creates simple webserver with buttons whitch can be opened on any device an can
Just add desired macros to `configuration.yaml` and start the application, tahn zou can load dashboard on any web capable device inside of your network. Just add desired macros to `configuration.yaml` and start the application, tahn zou can load dashboard on any web capable device inside of your network.
### Example Macros: ### Example Macros:
#### Helldivers 2 Macros
```yaml ```yaml
- button: reinforce - button: reinforce
function: HelldiversTwoMacro function: HelldiversTwoMacro
@ -65,10 +65,32 @@ Just add desired macros to `configuration.yaml` and start the application, tahn
- name: Key - name: Key
value: bomb value: bomb
``` ```
#### Media Control Macros
```yaml ```yaml
- button: mute - button: mute
function: MediaMacro function: MediaMacro
parameters: parameters:
- name: Key - name: Key
value: "mute" value: "mute"
```
```yaml
- button: previous
function: MediaMacro
parameters:
- name: Key
value: "previous"
```
```yaml
- button: play
function: MediaMacro
parameters:
- name: Key
value: "play/pause"
```
```yaml
- button: next
function: MediaMacro
parameters:
- name: Key
value: "next"
``` ```