PrinsValium/Phantom-Keyboard — pull request #1 by Pyrolistical (2012-02-20 06:33:20+00:00)
Title: Allow rows/cols to be configured in code

The code had the right idea to configure which pins were row/col, but it hardcoded which pins were init. I continued that line of thought and allowed configuration of which pins are init to be input and output. This allows easy reconfiguration of which pins are used for input and which pins are used for output.

This patch is not complete as I had to disable the keyboard led logic as I could not test it. Continuing my line of think it should be easy add another array which defines which pins are used for the leds.