Adds key codes to document (#10445)

The link given to the valid key codes is dead and doesn't seem to be in the Roku dev docs. 
I found the codes elsewhere and thought they'd be useful here.
This commit is contained in:
Joel Spiers 2019-09-24 03:10:31 -04:00 committed by Franck Nijhof
parent 29bab515e6
commit f9db3ed34f

View File

@ -84,8 +84,23 @@ Field | Description
`key` | the code of the pressed key when the command `type` is `keypress`, `keyup` or `keydown`.
`app_id` | the id of the app that was launched when command `type` is `launch`.
The available keys are listed here:
[Roku key codes](https://sdkdocs.roku.com/display/sdkdoc/External+Control+API#ExternalControlAPI-KeypressKeyValues)
Available key codes |
------------------- |
`Home`
`Rev`
`Fwd`
`Play`
`Select`
`Left`
`Right`
`Down`
`Up`
`Back`
`InstantReplay`
`Info`
`Backspace`
`Search`
`Enter`
## Automations