Skip to content

Commit

Permalink
Improve documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
sbryfcz committed Feb 3, 2020
1 parent 57a5875 commit dc24ff9
Showing 1 changed file with 19 additions and 37 deletions.
56 changes: 19 additions & 37 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,97 +64,79 @@ These options let you override the default icon, commands, devices, and visibili
| hide | string | **Optional** | Should this button be hidden | false |

Buttons Available to Configure with Defaults:
```json
'volume_down': {
```yaml
volume_down:
command: 'VolumeDown',
icon: 'mdi:volume-medium',
hide: false
},
'volume_up': {
volume_up:
command: 'VolumeUp',
icon: 'mdi:volume-high',
hide: false
},
'volume_mute': {
volume_mute:
command: 'Mute',
icon: 'mdi:volume-off',
hide: false
},
'skip_back': {
skip_back:
command: 'SkipBack',
icon: 'mdi:skip-previous',
hide: false
},
'play': {
play:
command: 'Play',
icon: 'mdi:play',
hide: false
},
'pause': {
pause:
command: 'Pause',
icon: 'mdi:pause',
hide: false
},
'skip_forward': {
skip_forward:
command: 'SkipForward',
icon: 'mdi:skip-next',
hide: false
},
'dpad_up': {
dpad_up:
command: 'DirectionUp',
icon: 'mdi:chevron-up-circle',
hide: false
},
'dpad_down': {
dpad_down:
command: 'DirectionDown',
icon: 'mdi:chevron-down-circle',
hide: false
},
'dpad_left': {
dpad_left:
command: 'DirectionLeft',
icon: 'mdi:chevron-left-circle',
hide: false
},
'dpad_right': {
dpad_right:
command: 'DirectionRight',
icon: 'mdi:chevron-right-circle',
hide: false
},
'dpad_center': {
dpad_center:
command: 'OK',
icon: 'mdi:checkbox-blank-circle',
hide: false
},
'xbox': {
xbox:
command: 'Xbox',
icon: 'mdi:xbox',
hide: false
},
'back': {
back:
command: 'Back',
icon: 'mdi:undo-variant',
hide: false
},
'a': {
a:
command: 'A',
icon: 'mdi:alpha-a-circle',
hide: false
},
'b': {
b:
command: 'B',
icon: 'mdi:alpha-b-circle',
hide: false
},
'x': {
x:
command: 'X',
icon: 'mdi:alpha-x-circle',
hide: false
},
'y': {
y:
command: 'Y',
icon: 'mdi:alpha-y-circle',
hide: false
}
```
### Configuration Order of Precedence
Expand Down

0 comments on commit dc24ff9

Please sign in to comment.