USB Remote Control Enter Key Completely Blocked - No Events Fired (Need Help!)
Hi everyone,
I’m facing a critical issue with a custom USB remote control in my Tizen web app and could use a fresh set of eyes.
The Problem:
-
Samsung TV Remote Enter (keyCode 13): Works perfectly -
Custom USB Remote (all other keys): Work fine, fire events correctly -
Custom USB Remote Enter: Completely blocked - zero events fired (no keydown, keypress, or keyup)
What’s Really Weird: USB Enter DOES activate focused UI elements (e.g., closes alert dialogs, activates buttons) but fires absolutely no capturable keyboard events.
Hardware Details:
-
Custom programmable USB TV remote (HID protocol, sends standard keyboard codes)
-
When tested on PC: All keys including Enter work perfectly and fire normal keyboard events
-
On Tizen TV: Every key works EXCEPT Enter
-
The remote sends keyCode 13 (standard Enter) - verified on PC
What I’ve Tried:
-
Event listeners on document, body, window (all phases - capture and bubble)
-
Hidden input elements to “trick” IME system
-
hwkey-event="enable"in config.xml (already set) -
<tizen:metadata key="http://samsung.com/tv/metadata/use.ime" value="false"/> -
<tizen:privilege name="http://tizen.org/privilege/tv.inputdevice"/> -
Verified with on-screen debug output - other keys show up, Enter shows nothing
Test Code:
javascript
document.addEventListener('keydown', function(e) {
console.log('Key:', e.keyCode); // Shows all keys except USB Enter
}, true);
My Setup:
-
Tizen web app with iframe loading external SPA
-
All standard USB remote keys work except Enter
-
Samsung documentation says Enter is mandatory and “detected automatically”
Has anyone encountered USB input devices where Enter specifically gets blocked? Is this a known Tizen limitation? Any workarounds?
Thanks in advance!