  var m = mapping[e.code];
            if (m !== undefined) {
                if (m.length > 1) {
                    updatePs2([m[0]].concat([0xf0], m.slice(1)));
                } else {
                    updatePs2([0xf0].concat(m));

                }
            } else {
                console.log("Unhandled", e);
            }
        }
    </script>
</body>
</html>
