aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/meson
diff options
context:
space:
mode:
authorLuciano Malavasi <lm11887@gmail.com>2019-08-09 18:38:13 -0700
committerDrashna Jaelre <drashna@live.com>2019-08-09 18:38:13 -0700
commitb93e1309e5fbc0438485e5eb18af666ad3508d4a (patch)
treec274b5766df3075184eeb991cf1a352ed7c29b58 /keyboards/meson
parent9114d6ebe9edfa03f0cf3f902ab3040c4fe57872 (diff)
downloadfirmware-b93e1309e5fbc0438485e5eb18af666ad3508d4a.tar.gz
firmware-b93e1309e5fbc0438485e5eb18af666ad3508d4a.tar.bz2
firmware-b93e1309e5fbc0438485e5eb18af666ad3508d4a.zip
[Keyboard] Add meson keyboard (#6482)
* Add meson keyboard * Apply suggestions from code review Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Added soft reset and layer 3 * bootmagic light Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
Diffstat (limited to 'keyboards/meson')
-rw-r--r--keyboards/meson/config.h172
-rw-r--r--keyboards/meson/info.json108
-rw-r--r--keyboards/meson/keymaps/default/config.h19
-rw-r--r--keyboards/meson/keymaps/default/keymap.c78
-rw-r--r--keyboards/meson/keymaps/default/readme.md1
-rw-r--r--keyboards/meson/meson.c51
-rw-r--r--keyboards/meson/meson.h56
-rw-r--r--keyboards/meson/readme.md13
-rw-r--r--keyboards/meson/rules.mk81
9 files changed, 579 insertions, 0 deletions
diff --git a/keyboards/meson/config.h b/keyboards/meson/config.h
new file mode 100644
index 000000000..3e37c89fd
--- /dev/null
+++ b/keyboards/meson/config.h
@@ -0,0 +1,172 @@
+/*
+Copyright 2019 Luciano M
+
+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 <http://www.gnu.org/licenses/>.
+*/
+
+#pragma once
+
+#include "config_common.h"
+
+/* USB Device descriptor parameter */
+#define VENDOR_ID 0xFEED
+#define PRODUCT_ID 0x0000
+#define DEVICE_VER 0x0001
+#define MANUFACTURER Luciano M
+#define PRODUCT Meson
+#define DESCRIPTION 3x14 split keyboard with two thumb keys per side
+
+/* key matrix size */
+#define MATRIX_ROWS 8 // 4 rows each half
+#define MATRIX_COLS 7
+
+#define MATRIX_ROW_PINS { F7, C6, F6, F5 }
+#define MATRIX_COL_PINS { D4, D7, E6, B3, B2, B6, F4 }
+// #define UNUSED_PINS
+
+/* COL2ROW, ROW2COL*/
+#define DIODE_DIRECTION COL2ROW
+
+#define USE_I2C
+#define SOFT_SERIAL_PIN D0
+
+#define RGB_DI_PIN B5
+#ifdef RGB_DI_PIN
+ #define RGBLED_NUM 10
+ #define RGBLIGHT_SPLIT
+ #define RGBLED_SPLIT { 5, 5 }
+ #define RGBLIGHT_HUE_STEP 8
+ #define RGBLIGHT_SAT_STEP 8
+ #define RGBLIGHT_VAL_STEP 8
+ #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
+ /*== 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
+
+/* 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_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)))
+
+/* 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
+//#define NO_ACTION_MACRO
+//#define NO_ACTION_FUNCTION
+
+
+/* Bootmagic Lite key configuration */
+// #define BOOTMAGIC_LITE_ROW 0
+// #define BOOTMAGIC_LITE_COLUMN 0
diff --git a/keyboards/meson/info.json b/keyboards/meson/info.json
new file mode 100644
index 000000000..3d7eab847
--- /dev/null
+++ b/keyboards/meson/info.json
@@ -0,0 +1,108 @@
+{
+ "keyboard_name": "Meson",
+ "keyboard_folder": "meson",
+ "maintainer": "qmk",
+ "width": 15.5,
+ "height": 4,
+ "layouts": {
+ "LAYOUT": {
+ "layout": [
+ {"label": "", "x": 0, "y": 0},
+ {"label": "", "x": 1, "y": 0},
+ {"label": "", "x": 2, "y": 0},
+ {"label": "", "x": 3, "y": 0},
+ {"label": "", "x": 4, "y": 0},
+ {"label": "", "x": 5, "y": 0},
+ {"label": "", "x": 6, "y": 0},
+ {"label": "", "x": 8.5, "y": 0},
+ {"label": "", "x": 9.5, "y": 0},
+ {"label": "", "x": 10.5, "y": 0},
+ {"label": "", "x": 11.5, "y": 0},
+ {"label": "", "x": 12.5, "y": 0},
+ {"label": "", "x": 13.5, "y": 0},
+ {"label": "", "x": 14.5, "y": 0},
+ {"label": "", "x": 0, "y": 1},
+ {"label": "", "x": 1, "y": 1},
+ {"label": "", "x": 2, "y": 1},
+ {"label": "", "x": 3, "y": 1},
+ {"label": "", "x": 4, "y": 1},
+ {"label": "", "x": 5, "y": 1},
+ {"label": "", "x": 6, "y": 1},
+ {"label": "", "x": 8.5, "y": 1},
+ {"label": "", "x": 9.5, "y": 1},
+ {"label": "", "x": 10.5, "y": 1},
+ {"label": "", "x": 11.5, "y": 1},
+ {"label": "", "x": 12.5, "y": 1},
+ {"label": "", "x": 13.5, "y": 1},
+ {"label": "", "x": 14.5, "y": 1},
+ {"label": "", "x": 0, "y": 2},
+ {"label": "", "x": 1, "y": 2},
+ {"label": "", "x": 2, "y": 2},
+ {"label": "", "x": 3, "y": 2},
+ {"label": "", "x": 4, "y": 2},
+ {"label": "", "x": 5, "y": 2},
+ {"label": "", "x": 6, "y": 2},
+ {"label": "", "x": 8.5, "y": 2},
+ {"label": "", "x": 9.5, "y": 2},
+ {"label": "", "x": 10.5, "y": 2},
+ {"label": "", "x": 11.5, "y": 2},
+ {"label": "", "x": 12.5, "y": 2},
+ {"label": "", "x": 13.5, "y": 2},
+ {"label": "", "x": 14.5, "y": 2},
+ {"label": "", "x": 4, "y": 3},
+ {"label": "", "x": 5, "y": 3},
+ {"label": "", "x": 9.5, "y": 3},
+ {"label": "", "x": 10.5, "y": 3}
+ ]
+ },
+ "LAYOUT_2u": {
+ "layout": [
+ {"label": "", "x": 0, "y": 0},
+ {"label": "", "x": 1, "y": 0},
+ {"label": "", "x": 2, "y": 0},
+ {"label": "", "x": 3, "y": 0},
+ {"label": "", "x": 4, "y": 0},
+ {"label": "", "x": 5, "y": 0},
+ {"label": "", "x": 6, "y": 0},
+ {"label": "", "x": 8.5, "y": 0},
+ {"label": "", "x": 9.5, "y": 0},
+ {"label": "", "x": 10.5, "y": 0},
+ {"label": "", "x": 11.5, "y": 0},
+ {"label": "", "x": 12.5, "y": 0},
+ {"label": "", "x": 13.5, "y": 0},
+ {"label": "", "x": 14.5, "y": 0},
+ {"label": "", "x": 0, "y": 1},
+ {"label": "", "x": 1, "y": 1},
+ {"label": "", "x": 2, "y": 1},
+ {"label": "", "x": 3, "y": 1},
+ {"label": "", "x": 4, "y": 1},
+ {"label": "", "x": 5, "y": 1},
+ {"label": "", "x": 6, "y": 1},
+ {"label": "", "x": 8.5, "y": 1},
+ {"label": "", "x": 9.5, "y": 1},
+ {"label": "", "x": 10.5, "y": 1},
+ {"label": "", "x": 11.5, "y": 1},
+ {"label": "", "x": 12.5, "y": 1},
+ {"label": "", "x": 13.5, "y": 1},
+ {"label": "", "x": 14.5, "y": 1},
+ {"label": "", "x": 0, "y": 2},
+ {"label": "", "x": 1, "y": 2},
+ {"label": "", "x": 2, "y": 2},
+ {"label": "", "x": 3, "y": 2},
+ {"label": "", "x": 4, "y": 2},
+ {"label": "", "x": 5, "y": 2},
+ {"label": "", "x": 6, "y": 2},
+ {"label": "", "x": 8.5, "y": 2},
+ {"label": "", "x": 9.5, "y": 2},
+ {"label": "", "x": 10.5, "y": 2},
+ {"label": "", "x": 11.5, "y": 2},
+ {"label": "", "x": 12.5, "y": 2},
+ {"label": "", "x": 13.5, "y": 2},
+ {"label": "", "x": 14.5, "y": 2},
+ {"label": "", "x": 4, "y": 3, "w": 2},
+ {"label": "", "x": 9.5, "y": 3, "w": 2}
+ ]
+ }
+ }
+ }
+
diff --git a/keyboards/meson/keymaps/default/config.h b/keyboards/meson/keymaps/default/config.h
new file mode 100644
index 000000000..cb7294536
--- /dev/null
+++ b/keyboards/meson/keymaps/default/config.h
@@ -0,0 +1,19 @@
+/* Copyright 2019 Luciano M
+ *
+ * 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 <http://www.gnu.org/licenses/>.
+ */
+
+#pragma once
+
+// place overrides here \ No newline at end of file
diff --git a/keyboards/meson/keymaps/default/keymap.c b/keyboards/meson/keymaps/default/keymap.c
new file mode 100644
index 000000000..002fc7977
--- /dev/null
+++ b/keyboards/meson/keymaps/default/keymap.c
@@ -0,0 +1,78 @@
+/* Copyright 2019 Luciano M
+ *
+ * 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 <http://www.gnu.org/licenses/>.
+ */
+#include QMK_KEYBOARD_H
+
+// Defines the keycodes used by our macros in process_record_user
+enum custom_keycodes {
+ MESON = SAFE_RANGE,
+};
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+
+ [0] = LAYOUT( /* Base */
+ KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_TAB, KC_BSLS, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
+ KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_LALT, KC_GRV, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT,
+ KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LGUI, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_QUOT,
+ MO(1), KC_SPC, KC_SPC, MO(2)
+ ),
+
+ [1] = LAYOUT( /* Symbols */
+ KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_TAB, KC_BSLS, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, RGB_VAI,
+ KC_LCTL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, RGB_VAD,
+ KC_LSFT, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, KC_LGUI, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_TRNS, MESON, RGB_MOD,
+ MO(1), KC_SPC, KC_SPC, MO(3)
+ ),
+
+ [2] = LAYOUT( /* Numbers */
+ KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_TAB, KC_BSLS, KC_6, KC_7, KC_8, KC_9, KC_0, KC_VOLU,
+ KC_LCTL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_VOLD,
+ KC_LSFT, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, KC_LGUI, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_MPRV, KC_MNXT, KC_MPLY,
+ MO(3), KC_SPC, KC_SPC, MO(2)
+ ),
+
+ [3] = LAYOUT( /* Reset, other functions if you want */
+ RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
+ ),
+};
+
+bool process_record_user(uint16_t keycode, keyrecord_t *record) {
+ switch (keycode) {
+ case MESON:
+ if (record->event.pressed) {
+ // when keycode MESON is pressed
+ SEND_STRING("Meson macro working");
+ } else {
+ // when keycode MESON is released
+ }
+ 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/meson/keymaps/default/readme.md b/keyboards/meson/keymaps/default/readme.md
new file mode 100644
index 000000000..04d94252b
--- /dev/null
+++ b/keyboards/meson/keymaps/default/readme.md
@@ -0,0 +1 @@
+# The default keymap for meson
diff --git a/keyboards/meson/meson.c b/keyboards/meson/meson.c
new file mode 100644
index 000000000..9dc6f6a2e
--- /dev/null
+++ b/keyboards/meson/meson.c
@@ -0,0 +1,51 @@
+/* Copyright 2019 Luciano M
+ *
+ * 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 <http://www.gnu.org/licenses/>.
+ */
+#include "meson.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);
+}
+
+void led_set_kb(uint8_t usb_led) {
+ // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
+
+ led_set_user(usb_led);
+}
+
+*/
diff --git a/keyboards/meson/meson.h b/keyboards/meson/meson.h
new file mode 100644
index 000000000..5344d5410
--- /dev/null
+++ b/keyboards/meson/meson.h
@@ -0,0 +1,56 @@
+/* Copyright 2019 Luciano M
+ *
+ * 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 <http://www.gnu.org/licenses/>.
+ */
+
+#pragma once
+#include "quantum.h"
+
+#define ___ KC_NO
+
+#define LAYOUT( \
+ L00, L01, L02, L03, L04, L05, L06, R06, R05, R04, R03, R02, R01, R00, \
+ L10, L11, L12, L13, L14, L15, L16, R16, R15, R14, R13, R12, R11, R10, \
+ L20, L21, L22, L23, L24, L25, L26, R26, R25, R24, R23, R22, R21, R20, \
+ L30, L31, R31, R30 \
+) \
+{ \
+ { L00, L01, L02, L03, L04, L05, L06}, \
+ { L10, L11, L12, L13, L14, L15, L16}, \
+ { L20, L21, L22, L23, L24, L25, L26}, \
+ { ___, ___, ___, ___, L30, L31, ___}, \
+ { R00, R01, R02, R03, R04, R05, R06}, \
+ { R10, R11, R12, R13, R14, R15, R16}, \
+ { R20, R21, R22, R23, R24, R25, R26}, \
+ { ___, ___, ___, ___, R30, R31, ___}, \
+}
+
+// 2u SPACEBAR LAYOUT, DON'T FORGET TO CHANGE NAME OF LAYOUTS IN KEYMAP.C
+
+#define LAYOUT_2u( \
+ L00, L01, L02, L03, L04, L05, L06, R06, R05, R04, R03, R02, R01, R00, \
+ L10, L11, L12, L13, L14, L15, L16, R16, R15, R14, R13, R12, R11, R10, \
+ L20, L21, L22, L23, L24, L25, L26, R26, R25, R24, R23, R22, R21, R20, \
+ L30, R30 \
+) \
+{ \
+ { L00, L01, L02, L03, L04, L05, L06}, \
+ { L10, L11, L12, L13, L14, L15, L16}, \
+ { L20, L21, L22, L23, L24, L25, L26}, \
+ { ___, ___, ___, ___, L30, ___, ___},\
+ { R00, R01, R02, R03, R04, R05, R06}, \
+ { R10, R11, R12, R13, R14, R15, R16}, \
+ { R20, R21, R22, R23, R24, R25, R26}, \
+ { ___, ___, ___, ___, R30, ___, ___},\
+}
diff --git a/keyboards/meson/readme.md b/keyboards/meson/readme.md
new file mode 100644
index 000000000..3824690c1
--- /dev/null
+++ b/keyboards/meson/readme.md
@@ -0,0 +1,13 @@
+# meson
+
+A 3x14 split keyboard with two thumb keys on each half. Supports MX, Alps, and Choc reversible.
+
+Keyboard Maintainer: [PyroL](https://github.com/PyrooL)
+Hardware Supported: Meson PCBs, Pro Micro
+Hardware Availability: [open source at PyroL's Github](https://github.com/PyrooL/Meson)
+
+Make example for this keyboard (after setting up your build environment):
+
+ make meson: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/meson/rules.mk b/keyboards/meson/rules.mk
new file mode 100644
index 000000000..4b585e829
--- /dev/null
+++ b/keyboards/meson/rules.mk
@@ -0,0 +1,81 @@
+# MCU name
+MCU = atmega32u4
+
+# Processor frequency.
+# This will define a symbol, F_CPU, in all source code files equal to the
+# processor frequency in Hz. You can then use this symbol in your source code to
+# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
+# automatically to create a 32-bit value in your source code.
+#
+# This will be an integer division of F_USB below, as it is sourced by
+# F_USB after it has run through any CPU prescalers. Note that this value
+# does not *change* the processor frequency - it should merely be updated to
+# reflect the processor speed set externally so that the code can use accurate
+# software delays.
+F_CPU = 16000000
+
+
+#
+# LUFA specific
+#
+# Target architecture (see library "Board Types" documentation).
+ARCH = AVR8
+
+# Input clock frequency.
+# This will define a symbol, F_USB, in all source code files equal to the
+# input clock frequency (before any prescaling is performed) in Hz. This value may
+# differ from F_CPU if prescaling is used on the latter, and is required as the
+# raw input clock is fed directly to the PLL sections of the AVR for high speed
+# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
+# at the end, this will be done automatically to create a 32-bit value in your
+# source code.
+#
+# If no clock division is performed on the input clock inside the AVR (via the
+# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
+F_USB = $(F_CPU)
+
+# Interrupt driven control endpoint task(+60)
+OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
+
+
+# Bootloader selection
+# Teensy halfkay
+# Pro Micro caterina
+# Atmel DFU atmel-dfu
+# LUFA DFU lufa-dfu
+# QMK DFU qmk-dfu
+# atmega32a bootloadHID
+BOOTLOADER = caterina
+
+
+# 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
+# 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
+#
+SPLIT_KEYBOARD = yes
+BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration(+1000)
+MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
+EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
+CONSOLE_ENABLE = no # Console for debug(+400)
+COMMAND_ENABLE = no # 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 = yes # USB Nkey Rollover
+BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default
+RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
+MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config)
+UNICODE_ENABLE = no # Unicode
+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 (+400)