dppc [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=13372 Javascript &quot;keyboard adapter&quot; <p>I haven't seen anyone doing this yet, so I thought I'd give it a shot:</p> <p><a href="https://github.com/dppc/p8keyboard.js"><a href="https://github.com/dppc/p8keyboard.js">https://github.com/dppc/p8keyboard.js</a></a></p> <p>It's a total hack, and obviously works only in the context of a browser.</p> <p>I imagine it as an awkward rubber chiclet keyboard that plugs into the game controller ports.</p> <p><a href="http://dppc.github.io/p8keyboard.js/asciidraw.html">The demo</a> (arrows to move, spacebar to erase) is for making terminal/typewriter art like this:</p> <img style="margin-bottom:16px" border=0 src="https://www.lexaloffle.com/bbs/files/13372/aquarium.png" width=1184 height=1152 alt="" /> <p>Typing is possible, but would need a buffer to hold incoming characters in order to work reliably enough for something like a typing tutor game.</p> <p>Enjoy!</p> https://www.lexaloffle.com/bbs/?tid=3556 https://www.lexaloffle.com/bbs/?tid=3556 Sun, 05 Jun 2016 19:21:33 UTC