PS2 Keyboard Clock Data Mixup

Your PS2 keyboard example has the clock and data lines swapped on the wiring picture on the cookbook wiki page.  [http://mbed.co.uk/projects/cookbook/wiki/PS2Keyboard]  Because of this, the information in the library has the same issue.  In PS2ASCII(int data, int clk) - you actually have to call PS2ASCII(clock, data) for it to work.  It fixes itself by calling PS2Kbd(int clk, int din);

In this case, two wrongs make it right.............

Scott