Event JSON
{
"id": "63eac75c2c2cbedf10ee1b63ee77007671897121ee13458d0cf5d3eb2ed26691",
"pubkey": "9fbbbaddfa6ab98d755449718b76a1413f0f11849bb84755d70ff9010c52ec1e",
"created_at": 1721768889,
"kind": 1,
"tags": [
[
"proxy",
"https://hachyderm.io/@0xSim/112837845968210591",
"web"
],
[
"t",
"gamedev"
],
[
"t",
"javascript"
],
[
"proxy",
"https://hachyderm.io/users/0xSim/statuses/112837845968210591",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://hachyderm.io/users/0xSim/statuses/112837845968210591",
"pink.momostr"
],
[
"-"
]
],
"content": "If you're making a JavaScript game that takes keyboard input, please use the KeyboardEvent.code attribute (instead of .key).\n\nhttps://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/code\n\n\u003e this property returns a value that isn't altered by keyboard layout or the state of the modifier keys.\n\nYour players who don't use a QWERTY layout will thank you.\n\n#javascript #gamedev",
"sig": "74bf98e6dc1d0318bc1875014405f99fcef335fe6691b46b929d82618ada291f63d3b37564de7e0a0deeafe4d7f88f09ba4d1d9f3df0b290add5f521d9cd1e23"
}