diff --git a/keyboards/test_k15r2/config.h b/keyboards/test_k15r2/config.h
new file mode 100644
index 00000000000..fa94dc64560
--- /dev/null
+++ b/keyboards/test_k15r2/config.h
@@ -0,0 +1,264 @@
+/*
+Copyright 2020 Takeshi Nishio
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
+*/
+
+#pragma once
+
+#include "config_common.h"
+
+/* USB Device descriptor parameter */
+#define VENDOR_ID 0xFEED
+#define PRODUCT_ID 0x0000
+#define DEVICE_VER 0x0001
+#define MANUFACTURER Takeshi Nishio
+#define PRODUCT test_k15r2
+#define DESCRIPTION A custom keyboard
+
+/* key matrix size */
+//#define MATRIX_ROWS 6*2
+#define MATRIX_ROWS 3
+#define MATRIX_COLS 5
+
+/*
+ * 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 { F6, F7, B1, B3, B2, B6 }
+#define MATRIX_ROW_PINS { F6, F7, B1}
+//#define MATRIX_COL_PINS { D1, D0, D4, C6, D7, E6, B4, B5, F4, F5 }
+#define MATRIX_COL_PINS { D1, D0, D4, C6, D7 }
+#define UNUSED_PINS
+
+/* COL2ROW, ROW2COL*/
+#define DIODE_DIRECTION COL2ROW
+
+/* Encorders */
+#define ENCODERS_PAD_A { B6, B5 }
+#define ENCODERS_PAD_B { B2, B4 }
+#define ENCODER_RESOLUTION 4
+
+/*
+ * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
+ */
+#define SOFT_SERIAL_PIN D2 // or D1, D2, D3, E6
+
+// #define BACKLIGHT_PIN B7
+// #define BACKLIGHT_BREATHING
+// #define BACKLIGHT_LEVELS 3
+
+#define RGB_DI_PIN D3
+#ifdef RGB_DI_PIN
+ #define RGBLED_NUM 8
+ #define RGBLIGHT_HUE_STEP 10
+ #define RGBLIGHT_SAT_STEP 17
+ #define RGBLIGHT_VAL_STEP 17
+// #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
+// #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
+// /*== all animations enable ==*/
+// #define RGBLIGHT_ANIMATIONS
+// /*== or choose animations ==*/
+// #define RGBLIGHT_EFFECT_BREATHING
+// #define RGBLIGHT_EFFECT_RAINBOW_MOOD
+// #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
+// #define RGBLIGHT_EFFECT_SNAKE
+// #define RGBLIGHT_EFFECT_KNIGHT
+// #define RGBLIGHT_EFFECT_CHRISTMAS
+// #define RGBLIGHT_EFFECT_STATIC_GRADIENT
+// #define RGBLIGHT_EFFECT_RGB_TEST
+// #define RGBLIGHT_EFFECT_ALTERNATING
+// /*== customize breathing effect ==*/
+// /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
+// #define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64
+// /*==== use exp() and sin() ====*/
+// #define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7
+// #define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255
+#endif
+
+/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
+//#define DEBOUNCE 5
+#define DEBOUNCING_DELAY 5
+/* define if matrix has ghost (lacks anti-ghosting diodes) */
+//#define MATRIX_HAS_GHOST
+
+/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
+#define LOCKING_SUPPORT_ENABLE
+/* Locking resynchronize hack */
+#define LOCKING_RESYNC_ENABLE
+
+/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
+ * This is userful for the Windows task manager shortcut (ctrl+shift+esc).
+ */
+// #define GRAVE_ESC_CTRL_OVERRIDE
+
+/*
+ * Force NKRO
+ *
+ * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
+ * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
+ * makefile for this to work.)
+ *
+ * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
+ * until the next keyboard reset.
+ *
+ * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
+ * fully operational during normal computer usage.
+ *
+ * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
+ * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
+ * bootmagic, NKRO mode will always be enabled until it is toggled again during a
+ * power-up.
+ *
+ */
+//#define FORCE_NKRO
+
+/*
+ * Magic Key Options
+ *
+ * Magic keys are hotkey commands that allow control over firmware functions of
+ * the keyboard. They are best used in combination with the HID Listen program,
+ * found here: https://www.pjrc.com/teensy/hid_listen.html
+ *
+ * The options below allow the magic key functionality to be changed. This is
+ * useful if your keyboard/keypad is missing keys and you want magic key support.
+ *
+ */
+
+/* key combination for magic key command */
+/* defined by default; to change, uncomment and set to the combination you want */
+// #define IS_COMMAND() (get_mods() == MOD_MASK_SHIFT)
+
+/* control how magic key switches layers */
+//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true
+//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true
+//#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false
+
+/* override magic key keymap */
+//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS
+//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS
+//#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM
+//#define MAGIC_KEY_HELP H
+//#define MAGIC_KEY_HELP_ALT SLASH
+//#define MAGIC_KEY_DEBUG D
+//#define MAGIC_KEY_DEBUG_MATRIX X
+//#define MAGIC_KEY_DEBUG_KBD K
+//#define MAGIC_KEY_DEBUG_MOUSE M
+//#define MAGIC_KEY_VERSION V
+//#define MAGIC_KEY_STATUS S
+//#define MAGIC_KEY_CONSOLE C
+//#define MAGIC_KEY_LAYER0 0
+//#define MAGIC_KEY_LAYER0_ALT GRAVE
+//#define MAGIC_KEY_LAYER1 1
+//#define MAGIC_KEY_LAYER2 2
+//#define MAGIC_KEY_LAYER3 3
+//#define MAGIC_KEY_LAYER4 4
+//#define MAGIC_KEY_LAYER5 5
+//#define MAGIC_KEY_LAYER6 6
+//#define MAGIC_KEY_LAYER7 7
+//#define MAGIC_KEY_LAYER8 8
+//#define MAGIC_KEY_LAYER9 9
+//#define MAGIC_KEY_BOOTLOADER B
+//#define MAGIC_KEY_BOOTLOADER_ALT ESC
+//#define MAGIC_KEY_LOCK CAPS
+//#define MAGIC_KEY_EEPROM E
+//#define MAGIC_KEY_EEPROM_CLEAR BSPACE
+//#define MAGIC_KEY_NKRO N
+//#define MAGIC_KEY_SLEEP_LED Z
+
+/*
+ * Feature disable options
+ * These options are also useful to firmware size reduction.
+ */
+
+/* disable debug print */
+//#define NO_DEBUG
+
+/* disable print */
+//#define NO_PRINT
+
+/* disable action features */
+//#define NO_ACTION_LAYER
+//#define NO_ACTION_TAPPING
+//#define NO_ACTION_ONESHOT
+
+/* disable these deprecated features by default */
+#ifndef LINK_TIME_OPTIMIZATION_ENABLE
+ #define NO_ACTION_MACRO
+ #define NO_ACTION_FUNCTION
+#endif
+/*
+ * MIDI options
+ */
+
+/* Prevent use of disabled MIDI features in the keymap */
+//#define MIDI_ENABLE_STRICT 1
+
+/* enable basic MIDI features:
+ - MIDI notes can be sent when in Music mode is on
+*/
+//#define MIDI_BASIC
+
+/* enable advanced MIDI features:
+ - MIDI notes can be added to the keymap
+ - Octave shift and transpose
+ - Virtual sustain, portamento, and modulation wheel
+ - etc.
+*/
+//#define MIDI_ADVANCED
+
+/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
+//#define MIDI_TONE_KEYCODE_OCTAVES 1
+
+/*
+ * HD44780 LCD Display Configuration
+ */
+/*
+#define LCD_LINES 2 //< number of visible lines of the display
+#define LCD_DISP_LENGTH 16 //< visibles characters per line of the display
+
+#define LCD_IO_MODE 1 //< 0: memory mapped mode, 1: IO port mode
+
+#if LCD_IO_MODE
+#define LCD_PORT PORTB //< port for the LCD lines
+#define LCD_DATA0_PORT LCD_PORT //< port for 4bit data bit 0
+#define LCD_DATA1_PORT LCD_PORT //< port for 4bit data bit 1
+#define LCD_DATA2_PORT LCD_PORT //< port for 4bit data bit 2
+#define LCD_DATA3_PORT LCD_PORT //< port for 4bit data bit 3
+#define LCD_DATA0_PIN 4 //< pin for 4bit data bit 0
+#define LCD_DATA1_PIN 5 //< pin for 4bit data bit 1
+#define LCD_DATA2_PIN 6 //< pin for 4bit data bit 2
+#define LCD_DATA3_PIN 7 //< pin for 4bit data bit 3
+#define LCD_RS_PORT LCD_PORT //< port for RS line
+#define LCD_RS_PIN 3 //< pin for RS line
+#define LCD_RW_PORT LCD_PORT //< port for RW line
+#define LCD_RW_PIN 2 //< pin for RW line
+#define LCD_E_PORT LCD_PORT //< port for Enable line
+#define LCD_E_PIN 1 //< pin for Enable line
+#endif
+*/
+
+/* Bootmagic Lite key configuration */
+// #define BOOTMAGIC_LITE_ROW 0
+// #define BOOTMAGIC_LITE_COLUMN 0
+
+/* Serial settings */
+#define USE_SERIAL
+#define RGBLED_SPLIT {8,8}
diff --git a/keyboards/test_k15r2/info.json b/keyboards/test_k15r2/info.json
new file mode 100644
index 00000000000..2b4623b0ce2
--- /dev/null
+++ b/keyboards/test_k15r2/info.json
@@ -0,0 +1,18 @@
+{
+ "keyboard_name": "test_k15r2",
+ "url": "",
+ "maintainer": "Takeshi Nishio",
+ "width": 3,
+ "height": 2,
+ "layouts": {
+ "LAYOUT": {
+ "layout": [
+ {"label":"k00", "x":0, "y":0},
+ {"label":"k01", "x":1, "y":0},
+ {"label":"k02", "x":2, "y":0},
+ {"label":"k10", "x":0, "y":1, "w":1.5},
+ {"label":"k12", "x":1.5, "y":1, "w":1.5}
+ ]
+ }
+ }
+}
diff --git a/keyboards/test_k15r2/keymaps/default/config.h b/keyboards/test_k15r2/keymaps/default/config.h
new file mode 100644
index 00000000000..6f70f09beec
--- /dev/null
+++ b/keyboards/test_k15r2/keymaps/default/config.h
@@ -0,0 +1 @@
+#pragma once
diff --git a/keyboards/test_k15r2/keymaps/default/keymap.c b/keyboards/test_k15r2/keymaps/default/keymap.c
new file mode 100644
index 00000000000..a1a236e1457
--- /dev/null
+++ b/keyboards/test_k15r2/keymaps/default/keymap.c
@@ -0,0 +1,228 @@
+/* Copyright 2019 e3w2q
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+ */
+#include QMK_KEYBOARD_H
+
+// Defines the keycodes used by our macros in process_record_user
+enum custom_keycodes {
+ SEND_A1 = SAFE_RANGE,
+ SEND_B1, SEND_C1, SEND_D1, SEND_E1, SEND_F1, SEND_G1, SEND_H1, SEND_I1, SEND_J1,
+ SEND_A2, SEND_B2, SEND_C2, SEND_D2, SEND_E2, SEND_F2, SEND_G2, SEND_H2, SEND_I2, SEND_J2,
+ SEND_A3, SEND_B3, SEND_C3, SEND_D3, SEND_E3, SEND_F3, SEND_G3, SEND_H3, SEND_I3, SEND_J3,
+ SEND_A4, SEND_B4, SEND_C4, SEND_D4, SEND_E4, SEND_F4, SEND_G4, SEND_H4, SEND_I4, SEND_J4,
+ SEND_A5, SEND_B5, SEND_C5, SEND_D5, SEND_E5, SEND_F5, SEND_G5, SEND_H5, SEND_I5, SEND_J5,
+ SEND_A6, SEND_B6, SEND_C6, SEND_D6, SEND_E6, SEND_F6, SEND_G6, SEND_H6, SEND_I6, SEND_J6,
+
+ SEND_SA1, SEND_SB1, SEND_SC1, SEND_SD1, SEND_SE1, SEND_SF1, SEND_SG1, SEND_SH1, SEND_SI1, SEND_SJ1,
+ SEND_SA2, SEND_SB2, SEND_SC2, SEND_SD2, SEND_SE2, SEND_SF2, SEND_SG2, SEND_SH2, SEND_SI2, SEND_SJ2,
+ SEND_SA3, SEND_SB3, SEND_SC3, SEND_SD3, SEND_SE3, SEND_SF3, SEND_SG3, SEND_SH3, SEND_SI3, SEND_SJ3,
+ SEND_SA4, SEND_SB4, SEND_SC4, SEND_SD4, SEND_SE4, SEND_SF4, SEND_SG4, SEND_SH4, SEND_SI4, SEND_SJ4,
+ SEND_SA5, SEND_SB5, SEND_SC5, SEND_SD5, SEND_SE5, SEND_SF5, SEND_SG5, SEND_SH5, SEND_SI5, SEND_SJ5,
+ SEND_SA6, SEND_SB6, SEND_SC6, SEND_SD6, SEND_SE6, SEND_SF6, SEND_SG6, SEND_SH6, SEND_SI6, SEND_SJ6
+};
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+
+ /* Default Layer
+ * Master Side (USB Cable Connected Side)
+ * ,---------------------------------------------------
+ * | A1 B1 C1 D1 E1 F1 G1 H1 I1 J1
+ * | A2 B2 C2 D2 E2 F2 G2 H2 I2 J2
+ * | A3 B3 C3 D3 E3 F3 G3 H3 I3 J3
+ * | A4 B4 C4 D4 E4 F4 G4 H4 I4 J4
+ * | A5 B5 C5 D5 E5 F5 G5 H5 I5 J5
+ * | A6 B6 C6 D6 E6 F6 G6 H6 I6 J6
+ * `---------------------------------------------------
+ * Slave Side (USB Cable Not Connected Side)
+ * ,---------------------------------------------------
+ * | SA1 SB1 SC1 SD1 SE1 SF1 SG1 SH1 SI1 SJ1
+ * | SA2 SB2 SC2 SD2 SE2 SF2 SG2 SH2 SI2 SJ2
+ * | SA3 SB3 SC3 SD3 SE3 SF3 SG3 SH3 SI3 SJ3
+ * | SA4 SB4 SC4 SD4 SE4 SF4 SG4 SH4 SI4 SJ4
+ * | SA5 SB5 SC5 SD5 SE5 SF5 SG5 SH5 SI5 SJ5
+ * | SA6 SB6 SC6 SD6 SE6 SF6 SG6 SH6 SI6 SJ6
+ * `---------------------------------------------------
+ */
+
+ [0] = LAYOUT( /* Base */
+ SEND_A1, SEND_B1, SEND_C1, SEND_D1, SEND_E1, SEND_F1, SEND_G1, SEND_H1, SEND_I1, SEND_J1,
+ SEND_A2, SEND_B2, SEND_C2, SEND_D2, SEND_E2, SEND_F2, SEND_G2, SEND_H2, SEND_I2, SEND_J2,
+ SEND_A3, SEND_B3, SEND_C3, SEND_D3, SEND_E3, SEND_F3, SEND_G3, SEND_H3, SEND_I3, SEND_J3,
+ SEND_A4, SEND_B4, SEND_C4, SEND_D4, SEND_E4, SEND_F4, SEND_G4, SEND_H4, SEND_I4, SEND_J4,
+ SEND_A5, SEND_B5, SEND_C5, SEND_D5, SEND_E5, SEND_F5, SEND_G5, SEND_H5, SEND_I5, SEND_J5,
+ SEND_A6, SEND_B6, SEND_C6, SEND_D6, SEND_E6, SEND_F6, SEND_G6, SEND_H6, SEND_I6, SEND_J6,
+
+ SEND_SA1, SEND_SB1, SEND_SC1, SEND_SD1, SEND_SE1, SEND_SF1, SEND_SG1, SEND_SH1, SEND_SI1, SEND_SJ1,
+ SEND_SA2, SEND_SB2, SEND_SC2, SEND_SD2, SEND_SE2, SEND_SF2, SEND_SG2, SEND_SH2, SEND_SI2, SEND_SJ2,
+ SEND_SA3, SEND_SB3, SEND_SC3, SEND_SD3, SEND_SE3, SEND_SF3, SEND_SG3, SEND_SH3, SEND_SI3, SEND_SJ3,
+ SEND_SA4, SEND_SB4, SEND_SC4, SEND_SD4, SEND_SE4, SEND_SF4, SEND_SG4, SEND_SH4, SEND_SI4, SEND_SJ4,
+ SEND_SA5, SEND_SB5, SEND_SC5, SEND_SD5, SEND_SE5, SEND_SF5, SEND_SG5, SEND_SH5, SEND_SI5, SEND_SJ5,
+ SEND_SA6, SEND_SB6, SEND_SC6, SEND_SD6, SEND_SE6, SEND_SF6, SEND_SG6, SEND_SH6, SEND_SI6, SEND_SJ6
+ ),
+
+ [1] = LAYOUT(
+ RGB_TOG, RGB_MOD, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
+ RGB_HUI, RGB_SAI, RGB_VAI, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
+ RGB_HUD, RGB_SAD, RGB_VAD, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
+ XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
+ XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
+ XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RESET,
+
+ XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
+ XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
+ XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
+ XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
+ XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
+ XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX
+ ),
+};
+
+bool process_record_user(uint16_t keycode, keyrecord_t *record) {
+ switch (keycode) {
+ case SEND_A1: if (record->event.pressed) SEND_STRING("A1"); break;
+ case SEND_B1: if (record->event.pressed) SEND_STRING("B1"); break;
+ case SEND_C1: if (record->event.pressed) SEND_STRING("C1"); break;
+ case SEND_D1: if (record->event.pressed) SEND_STRING("D1"); break;
+ case SEND_E1: if (record->event.pressed) SEND_STRING("E1"); break;
+ case SEND_F1: if (record->event.pressed) SEND_STRING("F1"); break;
+ case SEND_G1: if (record->event.pressed) SEND_STRING("G1"); break;
+ case SEND_H1: if (record->event.pressed) SEND_STRING("H1"); break;
+ case SEND_I1: if (record->event.pressed) SEND_STRING("I1"); break;
+ case SEND_J1: if (record->event.pressed) SEND_STRING("J1"); break;
+ case SEND_A2: if (record->event.pressed) SEND_STRING("A2"); break;
+ case SEND_B2: if (record->event.pressed) SEND_STRING("B2"); break;
+ case SEND_C2: if (record->event.pressed) SEND_STRING("C2"); break;
+ case SEND_D2: if (record->event.pressed) SEND_STRING("D2"); break;
+ case SEND_E2: if (record->event.pressed) SEND_STRING("E2"); break;
+ case SEND_F2: if (record->event.pressed) SEND_STRING("F2"); break;
+ case SEND_G2: if (record->event.pressed) SEND_STRING("G2"); break;
+ case SEND_H2: if (record->event.pressed) SEND_STRING("H2"); break;
+ case SEND_I2: if (record->event.pressed) SEND_STRING("I2"); break;
+ case SEND_J2: if (record->event.pressed) SEND_STRING("J2"); break;
+ case SEND_A3: if (record->event.pressed) SEND_STRING("A3"); break;
+ case SEND_B3: if (record->event.pressed) SEND_STRING("B3"); break;
+ case SEND_C3: if (record->event.pressed) SEND_STRING("C3"); break;
+ case SEND_D3: if (record->event.pressed) SEND_STRING("D3"); break;
+ case SEND_E3: if (record->event.pressed) SEND_STRING("E3"); break;
+ case SEND_F3: if (record->event.pressed) SEND_STRING("F3"); break;
+ case SEND_G3: if (record->event.pressed) SEND_STRING("G3"); break;
+ case SEND_H3: if (record->event.pressed) SEND_STRING("H3"); break;
+ case SEND_I3: if (record->event.pressed) SEND_STRING("I3"); break;
+ case SEND_J3: if (record->event.pressed) SEND_STRING("J3"); break;
+ case SEND_A4: if (record->event.pressed) SEND_STRING("A4"); break;
+ case SEND_B4: if (record->event.pressed) SEND_STRING("B4"); break;
+ case SEND_C4: if (record->event.pressed) SEND_STRING("C4"); break;
+ case SEND_D4: if (record->event.pressed) SEND_STRING("D4"); break;
+ case SEND_E4: if (record->event.pressed) SEND_STRING("E4"); break;
+ case SEND_F4: if (record->event.pressed) SEND_STRING("F4"); break;
+ case SEND_G4: if (record->event.pressed) SEND_STRING("G4"); break;
+ case SEND_H4: if (record->event.pressed) SEND_STRING("H4"); break;
+ case SEND_I4: if (record->event.pressed) SEND_STRING("I4"); break;
+ case SEND_J4: if (record->event.pressed) SEND_STRING("J4"); break;
+ case SEND_A5: if (record->event.pressed) SEND_STRING("A5"); break;
+ case SEND_B5: if (record->event.pressed) SEND_STRING("B5"); break;
+ case SEND_C5: if (record->event.pressed) SEND_STRING("C5"); break;
+ case SEND_D5: if (record->event.pressed) SEND_STRING("D5"); break;
+ case SEND_E5: if (record->event.pressed) SEND_STRING("E5"); break;
+ case SEND_F5: if (record->event.pressed) SEND_STRING("F5"); break;
+ case SEND_G5: if (record->event.pressed) SEND_STRING("G5"); break;
+ case SEND_H5: if (record->event.pressed) SEND_STRING("H5"); break;
+ case SEND_I5: if (record->event.pressed) SEND_STRING("I5"); break;
+ case SEND_J5: if (record->event.pressed) SEND_STRING("J5"); break;
+ case SEND_A6: if (record->event.pressed) SEND_STRING("A6"); break;
+ case SEND_B6: if (record->event.pressed) SEND_STRING("B6"); break;
+ case SEND_C6: if (record->event.pressed) SEND_STRING("C6"); break;
+ case SEND_D6: if (record->event.pressed) SEND_STRING("D6"); break;
+ case SEND_E6: if (record->event.pressed) SEND_STRING("E6"); break;
+ case SEND_F6: if (record->event.pressed) SEND_STRING("F6"); break;
+ case SEND_G6: if (record->event.pressed) SEND_STRING("G6"); break;
+ case SEND_H6: if (record->event.pressed) SEND_STRING("H6"); break;
+ case SEND_I6: if (record->event.pressed) SEND_STRING("I6"); break;
+ case SEND_J6: if (record->event.pressed) SEND_STRING("J6"); break;
+ case SEND_SA1: if (record->event.pressed) SEND_STRING("SA1"); break;
+ case SEND_SB1: if (record->event.pressed) SEND_STRING("SB1"); break;
+ case SEND_SC1: if (record->event.pressed) SEND_STRING("SC1"); break;
+ case SEND_SD1: if (record->event.pressed) SEND_STRING("SD1"); break;
+ case SEND_SE1: if (record->event.pressed) SEND_STRING("SE1"); break;
+ case SEND_SF1: if (record->event.pressed) SEND_STRING("SF1"); break;
+ case SEND_SG1: if (record->event.pressed) SEND_STRING("SG1"); break;
+ case SEND_SH1: if (record->event.pressed) SEND_STRING("SH1"); break;
+ case SEND_SI1: if (record->event.pressed) SEND_STRING("SI1"); break;
+ case SEND_SJ1: if (record->event.pressed) SEND_STRING("SJ1"); break;
+ case SEND_SA2: if (record->event.pressed) SEND_STRING("SA2"); break;
+ case SEND_SB2: if (record->event.pressed) SEND_STRING("SB2"); break;
+ case SEND_SC2: if (record->event.pressed) SEND_STRING("SC2"); break;
+ case SEND_SD2: if (record->event.pressed) SEND_STRING("SD2"); break;
+ case SEND_SE2: if (record->event.pressed) SEND_STRING("SE2"); break;
+ case SEND_SF2: if (record->event.pressed) SEND_STRING("SF2"); break;
+ case SEND_SG2: if (record->event.pressed) SEND_STRING("SG2"); break;
+ case SEND_SH2: if (record->event.pressed) SEND_STRING("SH2"); break;
+ case SEND_SI2: if (record->event.pressed) SEND_STRING("SI2"); break;
+ case SEND_SJ2: if (record->event.pressed) SEND_STRING("SJ2"); break;
+ case SEND_SA3: if (record->event.pressed) SEND_STRING("SA3"); break;
+ case SEND_SB3: if (record->event.pressed) SEND_STRING("SB3"); break;
+ case SEND_SC3: if (record->event.pressed) SEND_STRING("SC3"); break;
+ case SEND_SD3: if (record->event.pressed) SEND_STRING("SD3"); break;
+ case SEND_SE3: if (record->event.pressed) SEND_STRING("SE3"); break;
+ case SEND_SF3: if (record->event.pressed) SEND_STRING("SF3"); break;
+ case SEND_SG3: if (record->event.pressed) SEND_STRING("SG3"); break;
+ case SEND_SH3: if (record->event.pressed) SEND_STRING("SH3"); break;
+ case SEND_SI3: if (record->event.pressed) SEND_STRING("SI3"); break;
+ case SEND_SJ3: if (record->event.pressed) SEND_STRING("SJ3"); break;
+ case SEND_SA4: if (record->event.pressed) SEND_STRING("SA4"); break;
+ case SEND_SB4: if (record->event.pressed) SEND_STRING("SB4"); break;
+ case SEND_SC4: if (record->event.pressed) SEND_STRING("SC4"); break;
+ case SEND_SD4: if (record->event.pressed) SEND_STRING("SD4"); break;
+ case SEND_SE4: if (record->event.pressed) SEND_STRING("SE4"); break;
+ case SEND_SF4: if (record->event.pressed) SEND_STRING("SF4"); break;
+ case SEND_SG4: if (record->event.pressed) SEND_STRING("SG4"); break;
+ case SEND_SH4: if (record->event.pressed) SEND_STRING("SH4"); break;
+ case SEND_SI4: if (record->event.pressed) SEND_STRING("SI4"); break;
+ case SEND_SJ4: if (record->event.pressed) SEND_STRING("SJ4"); break;
+ case SEND_SA5: if (record->event.pressed) SEND_STRING("SA5"); break;
+ case SEND_SB5: if (record->event.pressed) SEND_STRING("SB5"); break;
+ case SEND_SC5: if (record->event.pressed) SEND_STRING("SC5"); break;
+ case SEND_SD5: if (record->event.pressed) SEND_STRING("SD5"); break;
+ case SEND_SE5: if (record->event.pressed) SEND_STRING("SE5"); break;
+ case SEND_SF5: if (record->event.pressed) SEND_STRING("SF5"); break;
+ case SEND_SG5: if (record->event.pressed) SEND_STRING("SG5"); break;
+ case SEND_SH5: if (record->event.pressed) SEND_STRING("SH5"); break;
+ case SEND_SI5: if (record->event.pressed) SEND_STRING("SI5"); break;
+ case SEND_SJ5: if (record->event.pressed) SEND_STRING("SJ5"); break;
+ case SEND_SA6: if (record->event.pressed) SEND_STRING("SA6"); break;
+ case SEND_SB6: if (record->event.pressed) SEND_STRING("SB6"); break;
+ case SEND_SC6: if (record->event.pressed) SEND_STRING("SC6"); break;
+ case SEND_SD6: if (record->event.pressed) SEND_STRING("SD6"); break;
+ case SEND_SE6: if (record->event.pressed) SEND_STRING("SE6"); break;
+ case SEND_SF6: if (record->event.pressed) SEND_STRING("SF6"); break;
+ case SEND_SG6: if (record->event.pressed) SEND_STRING("SG6"); break;
+ case SEND_SH6: if (record->event.pressed) SEND_STRING("SH6"); break;
+ case SEND_SI6: if (record->event.pressed) SEND_STRING("SI6"); break;
+ case SEND_SJ6: if (record->event.pressed) SEND_STRING("SJ6"); break;
+ }
+ return true;
+}
+
+void matrix_init_user(void) {
+
+}
+
+void matrix_scan_user(void) {
+
+}
+
+void led_set_user(uint8_t usb_led) {
+
+}
diff --git a/keyboards/test_k15r2/keymaps/default_org/config.h b/keyboards/test_k15r2/keymaps/default_org/config.h
new file mode 100644
index 00000000000..b4139651f5f
--- /dev/null
+++ b/keyboards/test_k15r2/keymaps/default_org/config.h
@@ -0,0 +1,19 @@
+/* Copyright 2020 Takeshi Nishio
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+ */
+
+#pragma once
+
+// place overrides here
diff --git a/keyboards/test_k15r2/keymaps/default_org/keymap.c b/keyboards/test_k15r2/keymaps/default_org/keymap.c
new file mode 100644
index 00000000000..1ac5a5a3d6f
--- /dev/null
+++ b/keyboards/test_k15r2/keymaps/default_org/keymap.c
@@ -0,0 +1,76 @@
+/* Copyright 2020 Takeshi Nishio
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+ */
+#include QMK_KEYBOARD_H
+
+// Defines names for use in layer keycodes and the keymap
+enum layer_names {
+ _BASE,
+ _FN
+};
+
+// Defines the keycodes used by our macros in process_record_user
+enum custom_keycodes {
+ QMKBEST = SAFE_RANGE,
+ QMKURL
+};
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ /* Base */
+ [_BASE] = LAYOUT(
+ KC_A, KC_1, MO(_FN),
+ KC_TAB, KC_SPC
+ ),
+ [_FN] = LAYOUT(
+ QMKBEST, QMKURL, _______,
+ RESET, XXXXXXX
+ )
+};
+
+bool process_record_user(uint16_t keycode, keyrecord_t *record) {
+ switch (keycode) {
+ case QMKBEST:
+ if (record->event.pressed) {
+ // when keycode QMKBEST is pressed
+ SEND_STRING("QMK is the best thing ever!");
+ } else {
+ // when keycode QMKBEST is released
+ }
+ break;
+ case QMKURL:
+ if (record->event.pressed) {
+ // when keycode QMKURL is pressed
+ SEND_STRING("https://qmk.fm/" SS_TAP(X_ENTER));
+ } else {
+ // when keycode QMKURL is released
+ }
+ break;
+ }
+ return true;
+}
+
+/*
+void matrix_init_user(void) {
+
+}
+
+void matrix_scan_user(void) {
+
+}
+
+bool led_update_user(led_t led_state) {
+ return true;
+}
+*/
diff --git a/keyboards/test_k15r2/keymaps/default_org/readme.md b/keyboards/test_k15r2/keymaps/default_org/readme.md
new file mode 100644
index 00000000000..a2f1ca1091c
--- /dev/null
+++ b/keyboards/test_k15r2/keymaps/default_org/readme.md
@@ -0,0 +1 @@
+# The default keymap for test_k15r2
diff --git a/keyboards/test_k15r2/keymaps/encorder/config.h b/keyboards/test_k15r2/keymaps/encorder/config.h
new file mode 100644
index 00000000000..6f70f09beec
--- /dev/null
+++ b/keyboards/test_k15r2/keymaps/encorder/config.h
@@ -0,0 +1 @@
+#pragma once
diff --git a/keyboards/test_k15r2/keymaps/encorder/keymap.c b/keyboards/test_k15r2/keymaps/encorder/keymap.c
new file mode 100644
index 00000000000..16252747e98
--- /dev/null
+++ b/keyboards/test_k15r2/keymaps/encorder/keymap.c
@@ -0,0 +1,111 @@
+/* Copyright 2019 e3w2q
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+ */
+#include QMK_KEYBOARD_H
+
+// Defines the keycodes used by our macros in process_record_user
+enum custom_keycodes {
+ SEND_A1 = SAFE_RANGE,
+ SEND_B1, SEND_C1, SEND_D1, SEND_E1,
+ SEND_A2, SEND_B2, SEND_C2, SEND_D2, SEND_E2,
+ SEND_A3, SEND_B3, SEND_C3, SEND_D3, SEND_E3
+};
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+
+ /* Default Layer
+ * Master Side (USB Cable Connected Side)
+ * ,---------------------------------------------------
+ * | A1 B1 C1 D1 E1 F1 G1 H1 I1 J1
+ * | A2 B2 C2 D2 E2 F2 G2 H2 I2 J2
+ * | A3 B3 C3 D3 E3 F3 G3 H3 I3 J3
+ * | A4 B4 C4 D4 E4 F4 G4 H4 I4 J4
+ * | A5 B5 C5 D5 E5 F5 G5 H5 I5 J5
+ * | A6 B6 C6 D6 E6 F6 G6 H6 I6 J6
+ * `---------------------------------------------------
+ * Slave Side (USB Cable Not Connected Side)
+ * ,---------------------------------------------------
+ * | SA1 SB1 SC1 SD1 SE1 SF1 SG1 SH1 SI1 SJ1
+ * | SA2 SB2 SC2 SD2 SE2 SF2 SG2 SH2 SI2 SJ2
+ * | SA3 SB3 SC3 SD3 SE3 SF3 SG3 SH3 SI3 SJ3
+ * | SA4 SB4 SC4 SD4 SE4 SF4 SG4 SH4 SI4 SJ4
+ * | SA5 SB5 SC5 SD5 SE5 SF5 SG5 SH5 SI5 SJ5
+ * | SA6 SB6 SC6 SD6 SE6 SF6 SG6 SH6 SI6 SJ6
+ * `---------------------------------------------------
+ */
+
+ [0] = LAYOUT( /* Base */
+ SEND_A1, SEND_B1, SEND_C1, SEND_D1, SEND_E1,
+ SEND_A2, SEND_B2, SEND_C2, SEND_D2, SEND_E2,
+ SEND_A3, SEND_B3, SEND_C3, SEND_D3, SEND_E3
+ ),
+
+ [1] = LAYOUT(
+ RGB_TOG, RGB_MOD, XXXXXXX, XXXXXXX, XXXXXXX,
+ RGB_HUI, RGB_SAI, RGB_VAI, XXXXXXX, XXXXXXX,
+ RGB_HUD, RGB_SAD, RGB_VAD, XXXXXXX, RESET
+ ),
+};
+
+bool process_record_user(uint16_t keycode, keyrecord_t *record) {
+ switch (keycode) {
+ case SEND_A1: if (record->event.pressed) SEND_STRING("A1"); break;
+ case SEND_B1: if (record->event.pressed) SEND_STRING("B1"); break;
+ case SEND_C1: if (record->event.pressed) SEND_STRING("C1"); break;
+ case SEND_D1: if (record->event.pressed) SEND_STRING("D1"); break;
+ case SEND_E1: if (record->event.pressed) SEND_STRING("E1"); break;
+ case SEND_A2: if (record->event.pressed) SEND_STRING("A2"); break;
+ case SEND_B2: if (record->event.pressed) SEND_STRING("B2"); break;
+ case SEND_C2: if (record->event.pressed) SEND_STRING("C2"); break;
+ case SEND_D2: if (record->event.pressed) SEND_STRING("D2"); break;
+ case SEND_E2: if (record->event.pressed) SEND_STRING("E2"); break;
+ case SEND_A3: if (record->event.pressed) SEND_STRING("A3"); break;
+ case SEND_B3: if (record->event.pressed) SEND_STRING("B3"); break;
+ case SEND_C3: if (record->event.pressed) SEND_STRING("C3"); break;
+ case SEND_D3: if (record->event.pressed) SEND_STRING("D3"); break;
+ case SEND_E3: if (record->event.pressed) SEND_STRING("E3"); break;
+ }
+ return true;
+}
+
+void matrix_init_user(void) {
+
+}
+
+void matrix_scan_user(void) {
+
+}
+
+void led_set_user(uint8_t usb_led) {
+
+}
+
+void encoder_update_user(uint8_t index, bool clockwise) {
+ if (index == 0) { /* First encoder */
+ if (clockwise) {
+ SEND_STRING("ENC0+");
+ // tap_code(KC_VOLD);
+ } else {
+ SEND_STRING("ENC0-");
+ // tap_code(KC_VOLU);
+ }
+ } else if (index == 1) { /* Second encoder */
+ if (clockwise) {
+ SEND_STRING("ENC1+");
+ } else {
+ SEND_STRING("ENC1-");
+ }
+ }
+}
diff --git a/keyboards/test_k15r2/readme.md b/keyboards/test_k15r2/readme.md
new file mode 100644
index 00000000000..7aadb6cdb21
--- /dev/null
+++ b/keyboards/test_k15r2/readme.md
@@ -0,0 +1,15 @@
+# test_k15r2
+
+
+
+A short description of the keyboard/project
+
+* Keyboard Maintainer: [Takeshi Nishio](https://github.com/yourusername)
+* Hardware Supported: The PCBs, controllers supported
+* Hardware Availability: Links to where you can find this hardware
+
+Make example for this keyboard (after setting up your build environment):
+
+ make test_k15r2:default
+
+See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
diff --git a/keyboards/test_k15r2/rules.mk b/keyboards/test_k15r2/rules.mk
new file mode 100644
index 00000000000..37bf0ad1020
--- /dev/null
+++ b/keyboards/test_k15r2/rules.mk
@@ -0,0 +1,43 @@
+# MCU name
+MCU = atmega32u4
+
+# Bootloader selection
+# Teensy halfkay
+# Pro Micro caterina
+# Atmel DFU atmel-dfu
+# LUFA DFU lufa-dfu
+# QMK DFU qmk-dfu
+# ATmega32A bootloadHID
+# ATmega328P USBasp
+BOOTLOADER = atmel-dfu
+
+# If you don't know the bootloader type, then you can specify the
+# Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line
+# Otherwise, delete this section
+# Teensy halfKay 512
+# Teensy++ halfKay 1024
+# Atmel DFU loader 4096
+# LUFA bootloader 4096
+# USBaspLoader 2048
+# OPT_DEFS += -DBOOTLOADER_SIZE=4096
+
+# Build Options
+# change yes to no to disable
+#
+BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
+MOUSEKEY_ENABLE = yes # Mouse keys
+EXTRAKEY_ENABLE = yes # Audio control and System control
+CONSOLE_ENABLE = yes # Console for debug
+COMMAND_ENABLE = yes # Commands for debug and configuration
+# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
+SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
+# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
+NKRO_ENABLE = no # USB Nkey Rollover
+BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
+RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
+MIDI_ENABLE = no # MIDI support
+BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
+AUDIO_ENABLE = no # Audio output on port C6
+FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
+HD44780_ENABLE = no # Enable support for HD44780 based LCDs
+ENCODER_ENABLE = yes
diff --git a/keyboards/test_k15r2/test_k15r2.c b/keyboards/test_k15r2/test_k15r2.c
new file mode 100644
index 00000000000..09e91eb6705
--- /dev/null
+++ b/keyboards/test_k15r2/test_k15r2.c
@@ -0,0 +1,50 @@
+/* Copyright 2020 Takeshi Nishio
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+ */
+
+#include "test_k15r2.h"
+
+// Optional override functions below.
+// You can leave any or all of these undefined.
+// These are only required if you want to perform custom actions.
+
+/*
+void matrix_init_kb(void) {
+ // put your keyboard start-up code here
+ // runs once when the firmware starts up
+
+ matrix_init_user();
+}
+
+void matrix_scan_kb(void) {
+ // put your looping keyboard code here
+ // runs every cycle (a lot)
+
+ matrix_scan_user();
+}
+
+bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
+ // put your per-action keyboard code here
+ // runs for every action, just before processing by the firmware
+
+ return process_record_user(keycode, record);
+}
+
+bool led_update_kb(led_t led_state) {
+ // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
+
+ return led_update_user(led_state);
+}
+*/
diff --git a/keyboards/test_k15r2/test_k15r2.h b/keyboards/test_k15r2/test_k15r2.h
new file mode 100644
index 00000000000..7be881602b8
--- /dev/null
+++ b/keyboards/test_k15r2/test_k15r2.h
@@ -0,0 +1,68 @@
+/* Copyright 2020 Takeshi Nishio
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+ */
+
+#pragma once
+
+#include "quantum.h"
+
+/* This is a shortcut to help you visually see your layout.
+ *
+ * The first section contains all of the arguments representing the physical
+ * layout of the board and position of the keys.
+ *
+ * The second converts the arguments into a two-dimensional array which
+ * represents the switch matrix.
+ */
+ /*
+ #define LAYOUT( \
+ l00, l01, l02, l03, l04, l05, l06, l07, l08, l09, \
+ l10, l11, l12, l13, l14, l15, l16, l17, l18, l19, \
+ l20, l21, l22, l23, l24, l25, l26, l27, l28, l29, \
+ l30, l31, l32, l33, l34, l35, l36, l37, l38, l39, \
+ l40, l41, l42, l43, l44, l45, l46, l47, l48, l49, \
+ l50, l51, l52, l53, l54, l55, l56, l57, l58, l59, \
+ r00, r01, r02, r03, r04, r05, r06, r07, r08, r09, \
+ r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, \
+ r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, \
+ r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, \
+ r40, r41, r42, r43, r44, r45, r46, r47, r48, r49, \
+ r50, r51, r52, r53, r54, r55, r56, r57, r58, r59 \
+ ) \
+ { \
+ { l00, l01, l02, l03, l04, l05, l06, l07, l08, l09 }, \
+ { l10, l11, l12, l13, l14, l15, l16, l17, l18, l19 }, \
+ { l20, l21, l22, l23, l24, l25, l26, l27, l28, l29 }, \
+ { l30, l31, l32, l33, l34, l35, l36, l37, l38, l39 }, \
+ { l40, l41, l42, l43, l44, l45, l46, l47, l48, l49 }, \
+ { l50, l51, l52, l53, l54, l55, l56, l57, l58, l59 }, \
+ { r00, r01, r02, r03, r04, r05, r06, r07, r08, r09 }, \
+ { r10, r11, r12, r13, r14, r15, r16, r17, r18, r19 }, \
+ { r20, r21, r22, r23, r24, r25, r26, r27, r28, r29 }, \
+ { r30, r31, r32, r33, r34, r35, r36, r37, r38, r39 }, \
+ { r40, r41, r42, r43, r44, r45, r46, r47, r48, r49 }, \
+ { r50, r51, r52, r53, r54, r55, r56, r57, r58, r59 } \
+ }
+*/
+ #define LAYOUT( \
+ l00, l01, l02, l03, l04, \
+ l10, l11, l12, l13, l14, \
+ l20, l21, l22, l23, l24 \
+ ) \
+ { \
+ { l00, l01, l02, l03, l04, }, \
+ { l10, l11, l12, l13, l14, }, \
+ { l20, l21, l22, l23, l24 } \
+ }