I found an old style yubikey after a clear out, plugged it in as you do to see if still worked - It did, and so I thought what other uses can you do with it.
Ended up turning into a web browser button for now, wonder if can be used for some game mechanic:
[code] press key to start let startTime, count, press, posLeft = 0, o = document.getElementById("t"); o.style.position = "relative"; document.addEventListener('keyup', (event) => { if (!startTime) { startTime = Date.now(); o.innerHTML = "#"; } else { const endTime = Date.now(); const timeDiff = endTime - startTime; if (timeDiff > 100) { press = count = 0; } if (timeDiff > 3 && timeDiff [/code]
(not sure if the code will show as expected but you get the idea)