'Google TV - Javascript Remote Keycodes
Anyone have a reference to the keycodes for sony remote, I have play and stop working but need pause keycode, play pause seems to be referencing the same keycode but the buttons are seperate on the remote
Solution 1:[1]
Here are the media keycodes: https://developers.google.com/tv/android/docs/gtv_controlguide#MediaKeys
Solution 2:[2]
The controls are mapped to similar Android keys. The corresponding key codes can be found here: https://developer.android.com/reference/android/view/KeyEvent
Please also note Google TV guidelines for building TV navigation.
If you need to know which keycode a specific key on your remote has I can recommend using KeyMapper which is free, available for Google TV and allows you to remap almost any hardware key to another function. It also shows you what keycode is triggered by a key.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Megha Joshi - GoogleTV DevRel |
| Solution 2 | Nico Wiedemann |
