(copying from other chats)
Hi! I'm trying to use onkeypress but it doesnt seem to want to work until after having clicked something interactive in my window
I literally have to click a button for it to allow me to use that event, and if i click into the window otherwise it doesnt allow me to use the key event again
And when using the onkeypress event, is there a way to get like a capital A or something that has a modifier without having to use keydown as well?
Because the Shift and other modifier variants arent tuple types