Here’s a chart to share.

If you’re doing keyboard simulation with postmessage, you’ll need this.

I found this on the internet.

scancode