StackBook Part 7 - Keyboard
30 09 09 - 00:55 (this post is disproportionately short for the amount of time this took)Ok, so after soldering a 4-pin connector onto the Stackbook's board, I interfaced a PS/2 keyboard to it.
The keyboard was this one from DealExtreme.

So let's open it up...

After this, I stripped it down and replaced the PS/2 connector with an IDC header.
A PS/2 driver was written using an interrupt pin for the clock, however, for some reason it didn't behave right - much much messing around was had with this.
Using a combination of:
http://www.atmel.com/dyn/resources/prod_documents/DOC1235.PDF and
http://code.google.com/p/ps2keypolled/source/browse/trunk/ps2keypolled.c
a polling-based driver was written instead.
.
Trackback link: http://gm.stackunderflow.com/blog/pivot/tb.php?tb_id=144