PS/2 Keyboard support

PS/2 Keyboard

Would be great for “hobby” computers for example.
Based on this library for Arduino IDE : https://github.com/techpaul/PS2KeyAdvanced or this (a bit different) https://playground.arduino.cc/Main/PS2Keyboard/

Inputs

  • DATAPIN (Pin on the Arduino) — the “data” pin.
  • IRQPIN (Pin on the arduino) — the “clock” pin.

Outputs

  • OUT (byte/character) — the description
  • PULSE (pulse) — pulse whenever a key is pressed (NOT when it changes!)