[lgwebos] Actions: sendButton updated, sendRCButton removed, sendKeyboard added (#13618)
* README: make the list of remote control buttons less specific to a model Fix #13600 Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
@@ -70,8 +70,8 @@ Here are examples of values that could be available for your TV: airplay, amazon
|
||||
|
||||
### Remote Control Buttons
|
||||
|
||||
The rcButton channel has only been tested on an LGUJ657A TV. and this is a list of button codes that are known to work with this device.
|
||||
This list has been compiled mostly through trial and error. Your mileage may vary.
|
||||
This is a list of button codes that are known to work with several LG WebOS TV models.
|
||||
This list has been compiled mostly through trial and error, but the codes applicable to your model may vary.
|
||||
|
||||
| Code String | Description |
|
||||
|-------------|----------------------------------------------------------|
|
||||
@@ -314,14 +314,33 @@ Sends a button press event to a WebOS device.
|
||||
|
||||
Parameters:
|
||||
|
||||
| Name | Description |
|
||||
|---------|------------------------------------------------------------------------|
|
||||
| button | Can be one of UP, DOWN, LEFT, RIGHT, BACK, DELETE, ENTER, HOME, or OK |
|
||||
| Name | Description |
|
||||
|---------|------------------------------------------------------------------------------------------------|
|
||||
| button | Can be one of UP, DOWN, LEFT, RIGHT, BACK, EXIT, ENTER, HOME, OK or any other supported value. |
|
||||
|
||||
Example:
|
||||
|
||||
```
|
||||
actions.sendButton("OK")
|
||||
actions.sendButton("HOME")
|
||||
```
|
||||
|
||||
### sendKeyboard(key)
|
||||
|
||||
Sends a keyboard input to the WebOS on-screen keyboard.
|
||||
|
||||
Parameters:
|
||||
|
||||
| Name | Description |
|
||||
|---------|--------------------------------|
|
||||
| key | Can be either DELETE or ENTER. |
|
||||
|
||||
DELETE will delete the last character when on-screen keyboard is displayed with focus in the text field.
|
||||
ENTER will remove the keyboard when on-screen keyboard is displayed with focus in the text field.
|
||||
|
||||
Example:
|
||||
|
||||
```
|
||||
actions.sendKeyboard("ENTER")
|
||||
```
|
||||
|
||||
### increaseChannel()
|
||||
|
||||
Reference in New Issue
Block a user