Scenario:
As a devloper, I modified my manifest to enable showing my app both in desktop mode and in game.
I then listened to the default document keyDown event, and looked at its values
expected result:
Clicked on “A key”, got event with code “KeyA”
actual result:
Clicked on “A key”, got event with code “”
how to reproduce?
-
open an overwolf app’s devtools (one that is not desktop only)
-
run the following command in the devtools terminal:
document.addEventListener(“keydown”,e=>console.log(“Event Key”,e.code,e))