diff options
Diffstat (limited to 'keyboards/lfkeyboards/lfkpad')
-rw-r--r-- | keyboards/lfkeyboards/lfkpad/config.h | 17 | ||||
-rw-r--r-- | keyboards/lfkeyboards/lfkpad/info.json | 5 |
2 files changed, 5 insertions, 17 deletions
diff --git a/keyboards/lfkeyboards/lfkpad/config.h b/keyboards/lfkeyboards/lfkpad/config.h index 8b94c56803..4db1c623ce 100644 --- a/keyboards/lfkeyboards/lfkpad/config.h +++ b/keyboards/lfkeyboards/lfkpad/config.h @@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once - -/* - * Keyboard Matrix Assignments - * - * Change this to how you wired your keyboard - * COLS: AVR pins used for columns, left to right - * ROWS: AVR pins used for rows, top to bottom - * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) - * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) - * - */ -#define MATRIX_ROW_PINS { D5, F4, F6, F7, C7, C6 } -#define MATRIX_COL_PINS { F1, F0, D4, D6 } - -/* COL2ROW, ROW2COL*/ -#define DIODE_DIRECTION COL2ROW - #define RGB_DI_PIN C7 // Have to set it to something to get the ws2812 code to compile #ifdef RGB_DI_PIN # define RGBLED_NUM 28 diff --git a/keyboards/lfkeyboards/lfkpad/info.json b/keyboards/lfkeyboards/lfkpad/info.json index 86180fc6ca..421ddd9d3f 100644 --- a/keyboards/lfkeyboards/lfkpad/info.json +++ b/keyboards/lfkeyboards/lfkpad/info.json @@ -8,6 +8,11 @@ "pid": "0x3231", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["F1", "F0", "D4", "D6"], + "rows": ["D5", "F4", "F6", "F7", "C7", "C6"] + }, + "diode_direction": "COL2ROW", "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["numpad_6x4"], |