Multilanguage Support For Keyboard inputs?
Cocos
OCTOBER 1, 2024
Hi, considering following code, how it’s possible to get actual character type instead of it’s code, regardless of keyboard language it always gives same key press code input.on(Input.EventType.KEY_DOWN, (event: EventKeyboard)=>{ console.log("event.keyCode: ", event.keyCode); //65 on keyA press }, this); but following code works as per the keyboard language character typed and returns the actual character typed document.addEventListener('keydown', function(event) { console.l
Let's personalize your content