6 ms·
Reverse Engineering a Keyboard to Play Snake
- unwind 12y agoThis was very educational. I find it equally hilarious, scary and wonderful that it's now cost-effective to build a keyboard whose brain is a 72 MHz ARM Cortex-M3 with 127 KB of program space. Of course the manufacturer also proudly tells you this, that the keyboard is powered by an ARM. It's also fun that the firmware of the keyboard is protected (partly by the old-faithful XOR trick, even!) against IP theft. Too bad they didn't include a hub in there, but I guess someone thinks doing so would introduce scary latency, or whatever. Gamers can be a sensitive bunch.
- digi_owl 12y agoFor his next trick, create a worm that can use these keyboards to hide a rootkit?
- userbinator 12y agoIt's probably more than powerful enough to emulate a C64... where the computer is literally inside the keyboard. But with all the concern over malicious USB devices, I'll take a dumb and simple PS/2 keyboard with a mask-programmed 8048 over anything "smarter". Otherwise, his idea of requiring a special key combination to enter firmware update mode is also good - something like "unplug, then hold down X while plugging in" easily stops any malware attempting to do a silent firmware update.
- niklasni1 12y agoPersonally, I think we need more open source day-to-day peripherals like this: keyboards, USB hubs, card readers, everything. It all needs to be replaced with open, inspectable, blob-less, user-upgradable alternatives.
- ericlathrop 12y agoThere's a growing open source keyboard community built around keyboards like the ErgoDox using the Teensy Microcontroller. Keyboards are surprisingly easy to build from scratch by hand.
- cnvogel 12y agoIt's "cost effective" for a €150 keyboard. http://www.amazon.com/dp/B00JM61264 http://www.amazon.com/dp/B00JM61264
- dbcooper 12y agoThey are normally €100 (including shipping) in Europe, but the ISO layout models are out of stock everywhere.
- frozenport 12y agoAnother view is that microchips are made of what is essentially sand.
- 0942v8653 12y agohttps://xkcd.com/1349/ https://xkcd.com/1349/
- bizocean 12y agoyeah nice read dude.
- boomskats 12y agoIt's awesome to see the writeup on this. Ran into the video a few days ago on /r/mechanicalkeyboards and was surprised that it didn't got more attention than it did! I think I might end up buying one of these CMs now... If I knew what I was doing I'd try to write an OSC interface into a DAW. Things like transport control or mapping the 10 columns of keys to solo/mute/group buttons on a mixer, or trying to rig it up so that 1QAZ 2WSX 3EDC 4RFV are the 16 keys on a drum machine...
- m00dy 12y agoNice Hack!
- digi_owl 12y agoThat is downright hilarious!
- NicoJuicy 12y agoThis is actually pretty nice, the guy is a Tweaker... Which means he is a member of the Dutch newssite : Tweakers.nl which is a very popular site for Dutch speaking persons (The Netherlands and Belgians). There is a video about it on (same as on the conclusion page of the site though) : http://tweakers.net/video/9730/tweaker-hackt-keyboard-om-snake-op-toetsenbord-te-laten-draaien.html http://tweakers.net/video/9730/tweaker-hackt-keyboard-om-sna...
- jszymborski 12y agoI thought at first you were trying to say he was a meth addict :P
- annnnd 12y agoThat's incredibly entertaining and educational read! One of the best lately. What is interesting is that "low security" of the flashing process won't hurt their sales - I would expect the opposite to happen. Free publicity exactly where your customers are. Good for you, Coolermaster!
- xtrumanx 12y agoI'm surprised no one is complaining about it being split into multiple pages considering this is HN and more inconsequential stuff have been complained about. I like skimming articles. Got to page 2 and lost interest. If it was all in one page, I may have found something of interest further down and gone back up to read the whole thing.
- breakingcups 12y agoWould you like your waiter to cut up your food for you too?
- hardwaresofton 12y agoGreat thorough write up, and awesome hack.
- _almosnow 12y ago"There are a few other things in the firmware I improved." He even had time for that.
- wyc 12y agoAn equally impressive and amusing tour de force. I'd like to see self-proclaimed "full stack" developers pull this off.
- Qantourisc 12y agoI'm rather surprised each key can be lid and unlit. I'd expected it to be 2 circuit.
- Aldo_MX 12y agoThe video from the article for those who want to see the game in action before reading. https://www.youtube.com/watch?v=enzU9u328Fc https://www.youtube.com/watch?v=enzU9u328Fc
- ecesena 12y agoEnlightening... does anyone know if you can turn on/off the backlight of a single key on a macbook pro/air keyboard?
- elwell 12y agoThis is what Hacker News is for.