Repository navigation
Conversation
The Tizen section told readers to call registerKey for the arrow keys and Enter. Samsung's TVInputDevice reference says an application cannot register the mandatory keys (ArrowLeft, ArrowRight, ArrowUp, ArrowDown, Enter, Back); they are delivered without registration. The section now says that, and shows registration for a media and a colour key instead. Adds the key codes from Samsung's Remote Control guide (Back 10009, media keys, colour keys) and LG's Magic Remote guide (Back 461, colour and media keys), and a section showing that keys outside the key map, such as Back, reach the app's own keydown listener. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
The Tizen section of
docs/guides/key-mapping.mdtold readers to calltizen.tvinputdevice.registerKeyfor the arrow keys and Enter. Samsung's TVInputDevice reference says: "An application cannot register the mandatory keys (ArrowLeft, ArrowRight, ArrowUp, ArrowDown, Enter, Back)." Tizen delivers those six keys without registration.Changes, docs only (no changeset needed):
MediaPlayPauseandColorF0Redinstead. Adds Samsung's key code table for Back (10009), the media keys and the colour keys.left,right,up,downandenter, and the web adapter ignores other keys, so an app handles Back in its ownkeydownlistener. Includes a short example.setKeyMapexamples that repeated the default key map.Sources are linked in the guide: Samsung's Remote Control guide and TVInputDevice API reference, and LG's Magic Remote guide.
npm run prettier,npm run lint,npm run buildandnpm testpass.🤖 Generated with Claude Code