1. Hardware Simulator & Live Key Event Console
Interactive digital replica of the Singer Google TV Remote Control. Test physical remote clicks or press keys on your keyboard to inspect real-time event dispatching.
Singer Remote Replica
Click buttons to dispatch synthetic eventsLive Key Event Inspector
Captured KeyboardEvents dispatched to window listenerPress buttons on the Singer remote simulator or any key on your physical keyboard (Arrow keys, Enter, Esc, R, G, Y, B, 1-7, P).
2. Complete Remote Key Mapping Matrix
Exact key, keyCode, and directional handler specification configured in the reusable useTvRemoteNavigation hook.
D-Pad Navigation
Directional vector DOM spatial traversal| Button | DOM Key | KeyCodes | Dashboard Action |
|---|---|---|---|
| Up / Down / Left / Right | ArrowUp, ArrowDown, ArrowLeft, ArrowRight | 38, 40, 37, 39 | Spatial focus movement across active dashboard cards, KPI blocks, table headers, and menu tabs using bounding box coordinate vectors. |
| OK | Enter | 13 | Trigger click or activate focused component (open disclosure, click link, sort table column). |
System & Navigation
Context hierarchy and tab switching| Button | DOM Key | KeyCodes | Dashboard Action |
|---|---|---|---|
| Back Arrow | Escape, GoBack, BrowserBack | 27, 461, 8 | Close open modals (e.g. Date Range), dismiss popups, or retreat from sub-tabs back to the Overview tab. |
| Exit | Exit | 10182 | Reset spatial focus immediately to dashboard root or main navigation bar active tab. |
| P Rocker (Up / Down) | PageUp, PageDown, ChannelUp, ChannelDown | 33, 34, 427, 428 | Step through dashboard view tabs sequentially (Overview β Outright & Rental β Marketing β Pending β Churn β Ops β Stock). |
Color Action Keys
Singer remote bottom dedicated color buttons| Button | DOM Key | KeyCodes | Dashboard Action |
|---|---|---|---|
| R Red | ColorF0Red, Red, r | 403 | Trigger live data refresh, re-query sales workbook metrics, and flash live timestamp indicator. |
| G Green | ColorF1Green, Green, g | 404 | Toggle Date Range selector modal (Today, Week 1, Month to Date, Q4 Forecast, Full Year Audit). |
| Y Yellow | ColorF2Yellow, Yellow, y | 405 | Toggle Print / Snapshot presentation layout (renders all seven sections simultaneously for report printouts). |
| B Blue | ColorF3Blue, Blue, b | 406 | Toggle full-screen presentation mode for boardroom TV kiosks. |
Numeric & Media Controls
Direct access and automated kiosk cycling| Button | DOM Key | KeyCodes | Dashboard Action |
|---|---|---|---|
| Number Keys (0-9) | 0 through 9 | 48 through 57 (Numpad: 96-105) | Direct jump to numbered dashboard tabs:
|
| Play / Pause (>||) | MediaPlayPause, p | 179 | Pause or resume automated live kiosk carousel transitions (cycles through tabs every 12 seconds automatically). |
3. Spatial Navigation Architecture & TV Optimization
Core engineering principles applied to deliver smooth 60fps interaction on Google TV and Android TV web runtimes.
Vector Bounding Box Algorithm
Calculates Euclidean center coordinates $$(cx, cy)$$ for the currently focused element. Filters candidates strictly within the directional half-plane (e.g., $$cx_{cand} > cx_{curr}$$ for Right). Applies distance and overlap penalty weighting:
Score = dPrimary + (dSecondary Γ 2.4) - (overlap Γ 1.5)This prioritizes visually adjacent elements on the same row or column before jumping off-axis.
High-Contrast TV Visual Focus Ring
Engineered for 10-foot viewing distance on 55" to 85" 4K televisions. Uses an ultra-crisp focus ring:
outline: 3px solid #2563eb;
outline-offset: 4px;
box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.35);Zero-delay transitions (0.08s) prevent frame drops on lower-powered ARM TV processors.
Native Pointer & Touch Fallback
Supports hybrid setups with air mice, wireless trackpads, or touch-enabled interactive conference displays. When pointer events occur, focus is synchronized seamlessly without breaking D-Pad spatial tracking.
Overscan Safe Zones & Kiosk Mode
Respects 5% overscan margins on television displays. In kiosk mode, the auto-cycle timer shifts through agenda sections automatically during weekly executive meetings.