Why do you use KeyboardEvent.keyCode that is deprecated and needs extra work in your examples (linking keyCodes to names in a collection) instead of using KeyboardEvent.code where you just have to use the key name to match the correct key?
I tested KeyboardEvent.code in a tv samsung 5.5 simulator and it works.
Why do you use KeyboardEvent.keyCode that is deprecated and needs extra work in your examples (linking keyCodes to names in a collection) instead of using KeyboardEvent.code where you just have to use the key name to match the correct key?
I tested KeyboardEvent.code in a tv samsung 5.5 simulator and it works.