summaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/keyprez/bison/bison.c35
-rw-r--r--keyboards/keyprez/bison/bison.h99
-rw-r--r--keyboards/keyprez/bison/config.h158
-rw-r--r--keyboards/keyprez/bison/info.json308
-rw-r--r--keyboards/keyprez/bison/keymaps/default/keymap.c226
-rw-r--r--keyboards/keyprez/bison/keymaps/default/readme.md1
-rw-r--r--keyboards/keyprez/bison/keymaps/default_6_6/keymap.c226
-rw-r--r--keyboards/keyprez/bison/keymaps/default_6_6/readme.md1
-rw-r--r--keyboards/keyprez/bison/keymaps/default_6_8/keymap.c226
-rw-r--r--keyboards/keyprez/bison/keymaps/default_6_8/readme.md1
-rw-r--r--keyboards/keyprez/bison/keymaps/default_8_6/keymap.c226
-rw-r--r--keyboards/keyprez/bison/keymaps/default_8_6/readme.md1
-rw-r--r--keyboards/keyprez/bison/readme.md21
-rw-r--r--keyboards/keyprez/bison/rules.mk25
14 files changed, 1554 insertions, 0 deletions
diff --git a/keyboards/keyprez/bison/bison.c b/keyboards/keyprez/bison/bison.c
new file mode 100644
index 0000000000..66b86dfc90
--- /dev/null
+++ b/keyboards/keyprez/bison/bison.c
@@ -0,0 +1,35 @@
+/* Copyright 2021 csandven
+ *
+ * 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 "bison.h"
+
+bool encoder_update_kb(uint8_t index, bool clockwise) {
+ if (!encoder_update_user(index, clockwise)) { return false; }
+ if (index == 0) {
+ if (clockwise) {
+ tap_code(KC_VOLU);
+ } else {
+ tap_code(KC_VOLD);
+ }
+ } else if (index == 1) {
+ if (clockwise) {
+ tap_code(KC_PGDOWN);
+ } else {
+ tap_code(KC_PGUP);
+ }
+ }
+ return true;
+}
diff --git a/keyboards/keyprez/bison/bison.h b/keyboards/keyprez/bison/bison.h
new file mode 100644
index 0000000000..74b7bae985
--- /dev/null
+++ b/keyboards/keyprez/bison/bison.h
@@ -0,0 +1,99 @@
+/* Copyright 2021 csandven
+ *
+ * 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 LAYOUT( \
+ L00, L01, L02, L03, L04, L05, L06, L07, R00, R01, R02, R03, R04, R05, R06, R07, \
+ L10, L11, L12, L13, L14, L15, L16, L17, R10, R11, R12, R13, R14, R15, R16, R17, \
+ L20, L21, L22, L23, L24, L25, L26, L27, R20, R21, R22, R23, R24, R25, R26, R27, \
+ L30, L31, L32, L33, L34, L35, L36, L37, L44, R40, R30, R31, R32, R33, R34, R35, R36, R37, \
+ L40, L41, L42, L43, R41, R42, R43, R44 \
+ ) \
+ { \
+ { L07, L06, L05, L04, L03, L02, L01, L00 }, \
+ { L17, L16, L15, L14, L13, L12, L11, L10 }, \
+ { L27, L26, L25, L24, L23, L22, L21, L20 }, \
+ { L37, L36, L35, L34, L33, L32, L31, L30 }, \
+ { L43, L42, L41, L40, L44, KC_NO, KC_NO, KC_NO }, \
+ { R00, R01, R02, R03, R04, R05, R06, R07 }, \
+ { R10, R11, R12, R13, R14, R15, R16, R17 }, \
+ { R20, R21, R22, R23, R24, R25, R26, R27 }, \
+ { R30, R31, R32, R33, R34, R35, R36, R37 }, \
+ { R41, R42, R43, R44, R40, KC_NO, KC_NO } \
+ }
+
+#define LAYOUT_6_8( \
+ L02, L03, L04, L05, L06, L07, R00, R01, R02, R03, R04, R05, R06, R07, \
+ L12, L13, L14, L15, L16, L17, R10, R11, R12, R13, R14, R15, R16, R17, \
+ L22, L23, L24, L25, L26, L27, R20, R21, R22, R23, R24, R25, R26, R27, \
+ L32, L33, L34, L35, L36, L37, L44, R40, R30, R31, R32, R33, R34, R35, R36, R37, \
+ L40, L41, L42, L43, R41, R42, R43, R44 \
+ ) \
+ { \
+ { L07, L06, L05, L04, L03, L02, KC_NO, KC_NO }, \
+ { L17, L16, L15, L14, L13, L12, KC_NO, KC_NO }, \
+ { L27, L26, L25, L24, L23, L22, KC_NO, KC_NO }, \
+ { L37, L36, L35, L34, L33, L32, KC_NO, KC_NO }, \
+ { L43, L42, L41, L40, L44, KC_NO, KC_NO, KC_NO }, \
+ { R00, R01, R02, R03, R04, R05, R06, R07 }, \
+ { R10, R11, R12, R13, R14, R15, R16, R17 }, \
+ { R20, R21, R22, R23, R24, R25, R26, R27 }, \
+ { R30, R31, R32, R33, R34, R35, R36, R37 }, \
+ { R41, R42, R43, R44, R40, KC_NO, KC_NO } \
+ }
+
+#define LAYOUT_8_6( \
+ L00, L01, L02, L03, L04, L05, L06, L07, R00, R01, R02, R03, R04, R05, \
+ L10, L11, L12, L13, L14, L15, L16, L17, R10, R11, R12, R13, R14, R15, \
+ L20, L21, L22, L23, L24, L25, L26, L27, R20, R21, R22, R23, R24, R25, \
+ L30, L31, L32, L33, L34, L35, L36, L37, L44, R40, R30, R31, R32, R33, R34, R35, \
+ L40, L41, L42, L43, R41, R42, R43, R44 \
+ ) \
+ { \
+ { L07, L06, L05, L04, L03, L02, L01, L00 }, \
+ { L17, L16, L15, L14, L13, L12, L11, L10 }, \
+ { L27, L26, L25, L24, L23, L22, L21, L20 }, \
+ { L37, L36, L35, L34, L33, L32, L31, L30 }, \
+ { L43, L42, L41, L40, L44, KC_NO, KC_NO, KC_NO }, \
+ { R00, R01, R02, R03, R04, R05, KC_NO, KC_NO }, \
+ { R10, R11, R12, R13, R14, R15, KC_NO, KC_NO }, \
+ { R20, R21, R22, R23, R24, R25, KC_NO, KC_NO }, \
+ { R30, R31, R32, R33, R34, R35, KC_NO, KC_NO }, \
+ { R41, R42, R43, R44, R40, KC_NO, KC_NO } \
+ }
+
+#define LAYOUT_6_6( \
+ L02, L03, L04, L05, L06, L07, R00, R01, R02, R03, R04, R05, \
+ L12, L13, L14, L15, L16, L17, R10, R11, R12, R13, R14, R15, \
+ L22, L23, L24, L25, L26, L27, R20, R21, R22, R23, R24, R25, \
+ L32, L33, L34, L35, L36, L37, L44, R40, R30, R31, R32, R33, R34, R35, \
+ L40, L41, L42, L43, R41, R42, R43, R44 \
+ ) \
+ { \
+ { L07, L06, L05, L04, L03, L02, KC_NO, KC_NO }, \
+ { L17, L16, L15, L14, L13, L12, KC_NO, KC_NO }, \
+ { L27, L26, L25, L24, L23, L22, KC_NO, KC_NO }, \
+ { L37, L36, L35, L34, L33, L32, KC_NO, KC_NO }, \
+ { L43, L42, L41, L40, L44, KC_NO, KC_NO, KC_NO }, \
+ { R00, R01, R02, R03, R04, R05, KC_NO, KC_NO }, \
+ { R10, R11, R12, R13, R14, R15, KC_NO, KC_NO }, \
+ { R20, R21, R22, R23, R24, R25, KC_NO, KC_NO }, \
+ { R30, R31, R32, R33, R34, R35, KC_NO, KC_NO }, \
+ { R41, R42, R43, R44, R40, KC_NO, KC_NO } \
+ }
diff --git a/keyboards/keyprez/bison/config.h b/keyboards/keyprez/bison/config.h
new file mode 100644
index 0000000000..a85e33c7e9
--- /dev/null
+++ b/keyboards/keyprez/bison/config.h
@@ -0,0 +1,158 @@
+/*
+Copyright 2021 csandven
+
+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 csandven
+#define PRODUCT bison
+
+/* key matrix size */
+#define MATRIX_ROWS 10
+#define MATRIX_COLS 8
+
+/*
+ * 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 { D2, F7, B1, B3, D7 }
+#define MATRIX_COL_PINS { D3, E6, B2, B4, D4, F6, F5, F4 }
+#define UNUSED_PINS
+
+/* COL2ROW, ROW2COL */
+#define DIODE_DIRECTION COL2ROW
+
+/*
+ * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
+ */
+#define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6
+
+//#define LED_NUM_LOCK_PIN B0
+//#define LED_CAPS_LOCK_PIN B1
+//#define LED_SCROLL_LOCK_PIN B2
+//#define LED_COMPOSE_PIN B3
+//#define LED_KANA_PIN B4
+
+//#define BACKLIGHT_PIN B7
+//#define BACKLIGHT_LEVELS 3
+//#define BACKLIGHT_BREATHING
+
+//#define RGB_DI_PIN E2
+//#ifdef RGB_DI_PIN
+//# define RGBLED_NUM 16
+//# 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
+/*== 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
+
+#define ENCODERS_PAD_A { B6 }
+#define ENCODERS_PAD_B { B5 }
+#define ENCODERS_PAD_A_RIGHT { B5 }
+#define ENCODERS_PAD_B_RIGHT { B6 }
+#define ENCODER_RESOLUTION 4
+
+/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
+#define DEBOUNCE 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 useful 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
+
+/*
+ * 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 */
+#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/keyprez/bison/info.json b/keyboards/keyprez/bison/info.json
new file mode 100644
index 0000000000..58de9b1ae8
--- /dev/null
+++ b/keyboards/keyprez/bison/info.json
@@ -0,0 +1,308 @@
+{
+ "keyboard_name": "bison",
+ "url": "",
+ "maintainer": "Christian Sandven",
+ "width": 18,
+ "height": 5,
+ "layouts": {
+ "LAYOUT": {
+ "layout": [
+ {"label": "F1", "x": 0, "y": 0},
+ {"label": "F2", "x": 1, "y": 0},
+ {"label": "~", "x": 2, "y": 0},
+ {"label": "1", "x": 3, "y": 0},
+ {"label": "2", "x": 4, "y": 0},
+ {"label": "3", "x": 5, "y": 0},
+ {"label": "4", "x": 6, "y": 0},
+ {"label": "5", "x": 7, "y": 0},
+ {"label": "6", "x": 10, "y": 0},
+ {"label": "7", "x": 11, "y": 0},
+ {"label": "8", "x": 12, "y": 0},
+ {"label": "9", "x": 13, "y": 0},
+ {"label": "0", "x": 14, "y": 0},
+ {"label": "-", "x": 15, "y": 0},
+ {"label": "=", "x": 16, "y": 0},
+ {"label": "Del", "x": 17, "y": 0},
+
+ {"label": "F3", "x": 0, "y": 1},
+ {"label": "F4", "x": 1, "y": 1},
+ {"label": "Tab", "x": 2, "y": 1},
+ {"label": "Q", "x": 3, "y": 1},
+ {"label": "W", "x": 4, "y": 1},
+ {"label": "E", "x": 5, "y": 1},
+ {"label": "R", "x": 6, "y": 1},
+ {"label": "T", "x": 7, "y": 1},
+ {"label": "Y", "x": 10, "y": 1},
+ {"label": "U", "x": 11, "y": 1},
+ {"label": "I", "x": 12, "y": 1},
+ {"label": "O", "x": 13, "y": 1},
+ {"label": "P", "x": 14, "y": 1},
+ {"label": "[", "x": 15, "y": 1},
+ {"label": "]", "x": 16, "y": 1},
+ {"label": "\\", "x": 17, "y": 1},
+
+ {"label": "F5", "x": 0, "y": 2},
+ {"label": "F6", "x": 1, "y": 2},
+ {"label": "Esc", "x": 2, "y": 2},
+ {"label": "A", "x": 3, "y": 2},
+ {"label": "S", "x": 4, "y": 2},
+ {"label": "D", "x": 5, "y": 2},
+ {"label": "F", "x": 6, "y": 2},
+ {"label": "G", "x": 7, "y": 2},
+ {"label": "H", "x": 10, "y": 2},
+ {"label": "J", "x": 11, "y": 2},
+ {"label": "K", "x": 12, "y": 2},
+ {"label": "L", "x": 13, "y": 2},
+ {"label": ";", "x": 14, "y": 2},
+ {"label": "'", "x": 15, "y": 2},
+ {"label": "BS", "x": 16, "y": 2},
+ {"label": "FN", "x": 17, "y": 2},
+
+ {"label": "F7", "x": 0, "y": 3},
+ {"label": "F8", "x": 1, "y": 3},
+ {"label": "Shift", "x": 2, "y": 3},
+ {"label": "Z", "x": 3, "y": 3},
+ {"label": "X", "x": 4, "y": 3},
+ {"label": "C", "x": 5, "y": 3},
+ {"label": "V", "x": 6, "y": 3},
+ {"label": "B", "x": 7, "y": 3},
+ {"label": "Mute", "x": 8, "y": 3},
+ {"label": "MPLY", "x": 9, "y": 3},
+ {"label": "N", "x": 10, "y": 3},
+ {"label": "M", "x": 11, "y": 3},
+ {"label": ",", "x": 12, "y": 3},
+ {"label": ".", "x": 13, "y": 3},
+ {"label": "/", "x": 14, "y": 3},
+ {"label": "Enter", "x": 15, "y": 3},
+ {"label": "Home", "x": 16, "y": 3},
+ {"label": "End", "x": 17, "y": 3},
+
+ {"label": "OS", "x": 1.75, "y": 4},
+ {"label": "Alt", "x": 2.75, "y": 4},
+ {"label": "Lower", "x": 3.75, "y": 4},
+ {"label": "BS", "x": 4.75, "y": 4, "w": 1.5},
+ {"label": "", "x": 7.75, "y": 4, "w": 1.5},
+ {"label": "Raise", "x": 9.25, "y": 4},
+ {"label": "Alt", "x": 10.25, "y": 4},
+ {"label": "OS", "x": 11.25, "y": 4}
+ ]
+ },
+
+ "LAYOUT_6_8": {
+ "layout": [
+ {"label": "~", "x": 2, "y": 0},
+ {"label": "1", "x": 3, "y": 0},
+ {"label": "2", "x": 4, "y": 0},
+ {"label": "3", "x": 5, "y": 0},
+ {"label": "4", "x": 6, "y": 0},
+ {"label": "5", "x": 7, "y": 0},
+ {"label": "6", "x": 10, "y": 0},
+ {"label": "7", "x": 11, "y": 0},
+ {"label": "8", "x": 12, "y": 0},
+ {"label": "9", "x": 13, "y": 0},
+ {"label": "0", "x": 14, "y": 0},
+ {"label": "-", "x": 15, "y": 0},
+ {"label": "=", "x": 16, "y": 0},
+ {"label": "Del", "x": 17, "y": 0},
+
+ {"label": "Tab", "x": 2, "y": 1},
+ {"label": "Q", "x": 3, "y": 1},
+ {"label": "W", "x": 4, "y": 1},
+ {"label": "E", "x": 5, "y": 1},
+ {"label": "R", "x": 6, "y": 1},
+ {"label": "T", "x": 7, "y": 1},
+ {"label": "Y", "x": 10, "y": 1},
+ {"label": "U", "x": 11, "y": 1},
+ {"label": "I", "x": 12, "y": 1},
+ {"label": "O", "x": 13, "y": 1},
+ {"label": "P", "x": 14, "y": 1},
+ {"label": "[", "x": 15, "y": 1},
+ {"label": "]", "x": 16, "y": 1},
+ {"label": "\\", "x": 17, "y": 1},
+
+ {"label": "Esc", "x": 2, "y": 2},
+ {"label": "A", "x": 3, "y": 2},
+ {"label": "S", "x": 4, "y": 2},
+ {"label": "D", "x": 5, "y": 2},
+ {"label": "F", "x": 6, "y": 2},
+ {"label": "G", "x": 7, "y": 2},
+ {"label": "H", "x": 10, "y": 2},
+ {"label": "J", "x": 11, "y": 2},
+ {"label": "K", "x": 12, "y": 2},
+ {"label": "L", "x": 13, "y": 2},
+ {"label": ";", "x": 14, "y": 2},
+ {"label": "'", "x": 15, "y": 2},
+ {"label": "BS", "x": 16, "y": 2},
+ {"label": "FN", "x": 17, "y": 2},
+
+ {"label": "Shift", "x": 2, "y": 3},
+ {"label": "Z", "x": 3, "y": 3},
+ {"label": "X", "x": 4, "y": 3},
+ {"label": "C", "x": 5, "y": 3},
+ {"label": "V", "x": 6, "y": 3},
+ {"label": "B", "x": 7, "y": 3},
+ {"label": "Mute", "x": 8, "y": 3},
+ {"label": "MPLY", "x": 9, "y": 3},
+ {"label": "N", "x": 10, "y": 3},
+ {"label": "M", "x": 11, "y": 3},
+ {"label": ",", "x": 12, "y": 3},
+ {"label": ".", "x": 13, "y": 3},
+ {"label": "/", "x": 14, "y": 3},
+ {"label": "Enter", "x": 15, "y": 3},
+ {"label": "Home", "x": 16, "y": 3},
+ {"label": "End", "x": 17, "y": 3},
+
+ {"label": "OS", "x": 1.75, "y": 4},
+ {"label": "Alt", "x": 2.75, "y": 4},
+ {"label": "Lower", "x": 3.75, "y": 4},
+ {"label": "BS", "x": 4.75, "y": 4, "w": 1.5},
+ {"label": "", "x": 7.75, "y": 4, "w": 1.5},
+ {"label": "Raise", "x": 9.25, "y": 4},
+ {"label": "Alt", "x": 10.25, "y": 4},
+ {"label": "OS", "x": 11.25, "y": 4}
+ ]
+ },
+
+ "LAYOUT_8_6": {
+ "layout": [
+ {"label": "F1", "x": 0, "y": 0},
+ {"label": "F2", "x": 1, "y": 0},
+ {"label": "~", "x": 2, "y": 0},
+ {"label": "1", "x": 3, "y": 0},
+ {"label": "2", "x": 4, "y": 0},
+ {"label": "3", "x": 5, "y": 0},
+ {"label": "4", "x": 6, "y": 0},
+ {"label": "5", "x": 7, "y": 0},
+ {"label": "6", "x": 10, "y": 0},
+ {"label": "7", "x": 11, "y": 0},
+ {"label": "8", "x": 12, "y": 0},
+ {"label": "9", "x": 13, "y": 0},
+ {"label": "0", "x": 14, "y": 0},
+ {"label": "Del", "x": 15, "y": 0},
+
+ {"label": "F3", "x": 0, "y": 1},
+ {"label": "F4", "x": 1, "y": 1},
+ {"label": "Tab", "x": 2, "y": 1},
+ {"label": "Q", "x": 3, "y": 1},
+ {"label": "W", "x": 4, "y": 1},
+ {"label": "E", "x": 5, "y": 1},
+ {"label": "R", "x": 6, "y": 1},
+ {"label": "T", "x": 7, "y": 1},
+ {"label": "Y", "x": 10, "y": 1},
+ {"label": "U", "x": 11, "y": 1},
+ {"label": "I", "x": 12, "y": 1},
+ {"label": "O", "x": 13, "y": 1},
+ {"label": "P", "x": 14, "y": 1},
+ {"label": "BS", "x": 15, "y": 1},
+
+ {"label": "F5", "x": 0, "y": 2},
+ {"label": "F6", "x": 1, "y": 2},
+ {"label": "Esc", "x": 2, "y": 2},
+ {"label": "A", "x": 3, "y": 2},
+ {"label": "S", "x": 4, "y": 2},
+ {"label": "D", "x": 5, "y": 2},
+ {"label": "F", "x": 6, "y": 2},
+ {"label": "G", "x": 7, "y": 2},
+ {"label": "H", "x": 10, "y": 2},
+ {"label": "J", "x": 11, "y": 2},
+ {"label": "K", "x": 12, "y": 2},
+ {"label": "L", "x": 13, "y": 2},
+ {"label": ";", "x": 14, "y": 2},
+ {"label": "'", "x": 15, "y": 2},
+
+ {"label": "F7", "x": 0, "y": 3},
+ {"label": "F8", "x": 1, "y": 3},
+ {"label": "Shift", "x": 2, "y": 3},
+ {"label": "Z", "x": 3, "y": 3},
+ {"label": "X", "x": 4, "y": 3},
+ {"label": "C", "x": 5, "y": 3},
+ {"label": "V", "x": 6, "y": 3},
+ {"label": "B", "x": 7, "y": 3},
+ {"label": "Mute", "x": 8, "y": 3},
+ {"label": "MPLY", "x": 9, "y": 3},
+ {"label": "N", "x": 10, "y": 3},
+ {"label": "M", "x": 11, "y": 3},
+ {"label": ",", "x": 12, "y": 3},
+ {"label": ".", "x": 13, "y": 3},
+ {"label": "/", "x": 14, "y": 3},
+ {"label": "Enter", "x": 15, "y": 3},
+
+ {"label": "OS", "x": 1.75, "y": 4},
+ {"label": "Alt", "x": 2.75, "y": 4},
+ {"label": "Lower", "x": 3.75, "y": 4},
+ {"label": "BS", "x": 4.75, "y": 4, "w": 1.5},
+ {"label": "", "x": 7.75, "y": 4, "w": 1.5},
+ {"label": "Raise", "x": 9.25, "y": 4},
+ {"label": "Alt", "x": 10.25, "y": 4},
+ {"label": "FN", "x": 11.25, "y": 4}
+ ]
+ },
+
+ "LAYOUT_6_6": {
+ "layout": [
+ {"label": "~", "x": 2, "y": 0},
+ {"label": "1", "x": 3, "y": 0},
+ {"label": "2", "x": 4, "y": 0},
+ {"label": "3", "x": 5, "y": 0},
+ {"label": "4", "x": 6, "y": 0},
+ {"label": "5", "x": 7, "y": 0},
+ {"label": "6", "x": 10, "y": 0},
+ {"label": "7", "x": 11, "y": 0},
+ {"label": "8", "x": 12, "y": 0},
+ {"label": "9", "x": 13, "y": 0},
+ {"label": "0", "x": 14, "y": 0},
+ {"label": "Del", "x": 15, "y": 0},
+
+ {"label": "Tab", "x": 2, "y": 1},
+ {"label": "Q", "x": 3, "y": 1},
+ {"label": "W", "x": 4, "y": 1},
+ {"label": "E", "x": 5, "y": 1},
+ {"label": "R", "x": 6, "y": 1},
+ {"label": "T", "x": 7, "y": 1},
+ {"label": "Y", "x": 10, "y": 1},
+ {"label": "U", "x": 11, "y": 1},
+ {"label": "I", "x": 12, "y": 1},
+ {"label": "O", "x": 13, "y": 1},
+ {"label": "P", "x": 14, "y": 1},
+ {"label": "BS", "x": 15, "y": 1},
+
+ {"label": "Esc", "x": 2, "y": 2},
+ {"label": "A", "x": 3, "y": 2},
+ {"label": "S", "x": 4, "y": 2},
+ {"label": "D", "x": 5, "y": 2},
+ {"label": "F", "x": 6, "y": 2},
+ {"label": "G", "x": 7, "y": 2},
+ {"label": "H", "x": 10, "y": 2},
+ {"label": "J", "x": 11, "y": 2},
+ {"label": "K", "x": 12, "y": 2},
+ {"label": "L", "x": 13, "y": 2},
+ {"label": ";", "x": 14, "y": 2},
+ {"label": "'", "x": 15, "y": 2},
+
+ {"label": "Shift", "x": 2, "y": 3},
+ {"label": "Z", "x": 3, "y": 3},
+ {"label": "X", "x": 4, "y": 3},
+ {"label": "C", "x": 5, "y": 3},
+ {"label": "V", "x": 6, "y": 3},
+ {"label": "B", "x": 7, "y": 3},
+ {"label": "Mute", "x": 8, "y": 3},
+ {"label": "MPLY", "x": 9, "y": 3},
+ {"label": "N", "x": 10, "y": 3},
+ {"label": "M", "x": 11, "y": 3},
+ {"label": ",", "x": 12, "y": 3},
+ {"label": ".", "x": 13, "y": 3},
+ {"label": "/", "x": 14, "y": 3},
+ {"label": "Enter", "x": 15, "y": 3},
+
+ {"label": "OS", "x": 1.75, "y": 4},
+ {"label": "Alt", "x": 2.75, "y": 4},
+ {"label": "Lower", "x": 3.75, "y": 4},
+ {"label": "BS", "x": 4.75, "y": 4, "w": 1.5},
+ {"label": "", "x": 7.75, "y": 4, "w": 1.5},
+ {"label": "Raise", "x": 9.25, "y": 4},
+ {"label": "Alt", "x": 10.25, "y": 4},
+ {"label": "FN", "x": 11.25, "y": 4}
+ ]
+ }
+ }
+}
diff --git a/keyboards/keyprez/bison/keymaps/default/keymap.c b/keyboards/keyprez/bison/keymaps/default/keymap.c
new file mode 100644
index 0000000000..fc1f346647
--- /dev/null
+++ b/keyboards/keyprez/bison/keymaps/default/keymap.c
@@ -0,0 +1,226 @@
+/* Copyright 2021 csandven
+ *
+ * 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 names for use in layer keycodes and the keymap
+enum layer_names {
+ _QWERTY,
+ _COLEMAK,
+ _LOWER,
+ _RAISE,
+ _HRM,
+ _FN,
+};
+
+enum custom_keycodes {
+ KC_QWRTY = SAFE_RANGE,
+ KC_COLMK,
+ KC_HRM,
+ KC_PRVWD,
+ KC_NXTWD
+};
+
+#define LOWER MO(_LOWER)
+#define RAISE MO(_RAISE)
+#define FN MO(_FN)
+#define ESC_CTL MT(MOD_LCTL, KC_ESC)
+#define HRM_LG MT(MOD_LGUI, KC_A)
+#define HRM_LA MT(MOD_LALT, KC_S)
+#define HRM_LC MT(MOD_LCTL, KC_D)
+#define HRM_LS MT(MOD_LSFT, KC_F)
+#define HRM_RG MT(MOD_RGUI, KC_SCLN)
+#define HRM_RA MT(MOD_RALT, KC_L)
+#define HRM_RC MT(MOD_RCTL, KC_K)
+#define HRM_RS MT(MOD_RSFT, KC_J)
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ /*
+ * QWERTY
+ * ,-------------------------------------------------------. ,-------------------------------------------------------.
+ * | F1 | F2 | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | - | = | DEL |
+ * |------+------+------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
+ * | F3 | F4 | Tab | Q | W | E | R | T | | Y | U | I | O | P | [ | ] | \ |
+ * |------+------+------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
+ * | F5 | F6 | ESC | A | S | D | F | G |-------. ,-------| H | J | K | L | ; | ' | BS | Fn |
+ * |------+------+------+------+------+------+------+------| | | |------+------+------+------+------+------+------+------|
+ * | F7 | F8 |LShift| Z | X | C | V | B | | | | N | M | , | . | / | Enter| Home | End |
+ * `-------------------------------------------------------/-------/ \------\-------------------------------------------------------'
+ * | LGUI | LAlt | LCTR |LOWER | BS / \Space |RAISE | RCTR | RAlt | RGUI |
+ * | | | | | / \ | | | | |
+ * `----------------------------------' '------''---------------------------'
+ */
+ [_QWERTY] = LAYOUT(
+ KC_F1, KC_F2, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_DEL ,
+ KC_F3, KC_F4, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
+ KC_F5, KC_F6, ESC_CTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_BSPC, FN,
+ KC_F7, KC_F8, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_MUTE, KC_MPLY,KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, KC_HOME, KC_END,
+ KC_LGUI,KC_LALT, LOWER, KC_BSPC, KC_SPC, RAISE, KC_RALT, KC_RGUI
+ ),
+
+ /*
+ * COLEMAK
+ * ,-------------------------------------------------------. ,-------------------------------------------------------.
+ * | F1 | F2 | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | - | = | DEL |
+ * |------+------+------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
+ * | F3 | F4 | Tab | Q | W | F | P | G | | J | L | U | Y | ; | [ | ] | \ |
+ * |------+------+------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
+ * | F5 | F6 | ESC | A | R | S | T | D |-------. ,-------| H | N | E | I | O | ' | BS | Fn |
+ * |------+------+------+------+------+------+------+------| | | |------+------+------+------+------+------+------+------|
+ * | F7 | F8 |LShift| Z | X | C | V | B | | | | K | M | , | . | / | Enter| Home | End |
+ * `-------------------------------------------------------/-------/ \------\-------------------------------------------------------'
+ * | LGUI | LAlt | LCTR |LOWER | BS / \Space \ |RAISE | RCTR | RAlt | RGUI |
+ * | | | | | / \ \ | | | | |
+ * `----------------------------------' '------''---------------------------'
+ */
+ [_COLEMAK] = LAYOUT(
+ KC_F1, KC_F2, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_DEL,
+ KC_F3, KC_F4, KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_LBRC, KC_RBRC, KC_BSLS,
+ KC_F5, KC_F6, ESC_CTL, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, KC_BSPC, FN,
+ KC_F7, KC_F8, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_MUTE, XXXXXXX,KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, KC_HOME, KC_END,
+ KC_LGUI,KC_LALT, LOWER, KC_BSPC, KC_SPC, RAISE, KC_RALT, KC_RGUI
+ ),
+
+ /*
+ * LOWER
+ * ,-------------------------------------------------------. ,-------------------------------------------------------.
+ * | | | | | | | | | | | | | | | | | |
+ * |------+------+------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
+ * | | | | F1 | F2 | F3 | F4 | | | | | | | | | | |
+ * |------+------+------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
+ * | | | | F5 | F6 | F7 | F8 | |-------. ,-------| LEFT | DOWN | UP | RIGHT| | | | |
+ * |------+------+------+------+------+------+------+------| | | |------+------+------+------+------+------+------+------|
+ * | | | | F9 | F10 | F11 | F12 | | | | | | | | | | | | |
+ * `-------------------------------------------------------/-------/ \------\-------------------------------------------------------'
+ * | | | | | / \ \ | | | | |
+ * | | | | | / \ \ | | | | |
+ * `----------------------------------' '------''---------------------------'
+ */
+ [_LOWER] = LAYOUT(
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, _______, _______, KC_F1, KC_F2, KC_F3, KC_F4, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, _______, _______, KC_F5, KC_F6, KC_F7, KC_F8, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, _______, _______, _______, _______,
+ _______, _______, _______, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______,_______, _______, _______, _______, _______, _______, _______, _______,
+ _______,_______, _______, _______, _______, _______, _______, _______
+ ),
+
+ /*
+ * RAISE
+ * ,-------------------------------------------------------. ,-------------------------------------------------------.
+ * | | | | | | | | | | | | | | | | | |
+ * |------+------+------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
+ * | | | | F1 | F2 | F3 | F4 | | | | | PrevW| UP | NextW| | | |
+ * |------+------+------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
+ * | | | | F5 | F6 | F7 | F8 | |-------. ,-------| | | LEFT | DOWN | RIGHT| | | |
+ * |------+------+------+------+------+------+------+------| | | |------+------+------+------+------+------+------+------|
+ * | | | | F9 | F10 | F11 | F12 | | | | | | | | | | | | |
+ * `-------------------------------------------------------/-------/ \------\-------------------------------------------------------'
+ * | | | | | / \ \ | | | | |
+ * | | | | | / \ \ | | | | |
+ * `----------------------------------' '------''---------------------------'
+ */
+ [_RAISE] = LAYOUT(
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, _______, _______, KC_F1, KC_F2, KC_F3, KC_F4, _______, _______, _______,KC_PRVWD, KC_UP,KC_NXTWD, _______, _______, _______,
+ _______, _______, _______, KC_F5, KC_F6, KC_F7, KC_F8, _______, _______, _______, KC_LEFT, KC_DOWN,KC_RIGHT, _______, _______, _______,
+ _______, _______, _______, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______,_______, _______, _______, _______, _______, _______, _______, _______,
+ _______,_______, _______, _______, _______, _______, _______, _______
+ ),
+
+ /*
+ * HRM
+ * ,-------------------------------------------------------. ,-------------------------------------------------------.
+ * | | | | | | | | | | | | | | | | | |
+ * |------+------+------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
+ * | | | | | | | | | | | | | | | | | |
+ * |------+------+------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
+ * | | | |HRM_LG|HRM_LA|HRM_LC|HRM_LS| |-------. ,-------| |HRM_RS|HRM_RC|HRM_RA|HRM_RG| | | |
+ * |------+------+------+------+------+------+------+------| | | |------+------+------+------+------+------+------+------|
+ * | | | | | | | | | | | | | | | | | | | |
+ * `-------------------------------------------------------/-------/ \------\-------------------------------------------------------'
+ * | | | | | / \ \ | | | | |
+ * | | | | | / \ \ | | | | |
+ * `----------------------------------' '------''---------------------------'
+ */
+ [_HRM] = LAYOUT(
+ _______, _______, _______, _______, _______, _______,_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, _______, _______, _______, _______, _______,_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, _______, _______, HRM_LG, HRM_LA, HRM_LC, HRM_LS, _______, _______, HRM_RS, HRM_RC, HRM_RA, HRM_RG, _______, _______, _______,
+ _______, _______, _______, _______, _______, _______,_______, _______, _______, _______,_______, _______, _______, _______, _______, _______, _______, _______,
+ _______,_______, _______, _______, _______, _______, _______, _______
+ ),
+
+ /*
+ * FN
+ * ,-------------------------------------------------------. ,-------------------------------------------------------.
+ * | | | | | | | | | | | | | | | | | |
+ * |------+------+------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
+ * | | | |QWERTY| | | | | | | | | | | | | |
+ * |------+------+------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
+ * | | | | | | | | |-------. ,-------|KC_HRM| | | | | | | |
+ * |------+------+------+------+------+------+------+------| | | |------+------+------+------+------+------+------+------|
+ * | | | | | |COLEMAK| | | | | | | | | | | | | |
+ * `-------------------------------------------------------/-------/ \------\-------------------------------------------------------'
+ * | | | | | / \ \ | | | | |
+ * | | | | | / \ \ | | | | |
+ * `----------------------------------' '------''---------------------------'
+ */
+ [_FN] = LAYOUT(
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, _______, _______,KC_QWRTY, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, _______, _______, _______, _______, _______, _______, _______, KC_HRM, _______, _______, _______, _______, _______, _______, _______,
+ _______, _______, _______, _______, _______,KC_COLMK, _______, _______, _______, _______,_______, _______, _______, _______, _______, _______, _______, _______,
+ _______,_______, _______, _______, _______, _______, _______, _______
+ ),
+};
+
+bool process_record_user(uint16_t keycode, keyrecord_t *record) {
+ switch (keycode) {
+ case KC_QWRTY:
+ if (record->event.pressed) {
+ set_single_persistent_default_layer(_QWERTY);
+ }
+ return false;
+ case KC_COLMK:
+ if (record->event.pressed) {
+ set_single_persistent_default_layer(_COLEMAK);
+ }
+ return false;
+ case KC_HRM:
+ if (record->event.pressed) {
+ set_single_persistent_default_layer(_HRM);
+ }
+ return false;
+ case KC_PRVWD:
+ if (record->event.pressed) {
+ register_mods(mod_config(MOD_LCTL));
+ register_code(KC_LEFT);
+ } else {
+ unregister_mods(mod_config(MOD_LCTL));
+ unregister_code(KC_LEFT);
+ }
+ break;
+ case KC_NXTWD:
+ if (record->event.pressed) {
+ register_mods(mod_config(MOD_LCTL));
+ register_code(KC_RIGHT);
+ } else {
+ unregister_mods(mod_config(MOD_LCTL));
+ unregister_code(KC_RIGHT);
+ }
+ break;
+ }
+ return true;
+}
diff --git a/keyboards/keyprez/bison/keymaps/default/readme.md b/keyboards/keyprez/bison/keymaps/default/readme.md
new file mode 100644
index 0000000000..b8557bbc8e
--- /dev/null
+++ b/keyboards/keyprez/bison/keymaps/default/readme.md
@@ -0,0 +1 @@
+# The default keymap for bison
diff --git a/keyboards/keyprez/bison/keymaps/default_6_6/keymap.c b/keyboards/keyprez/bison/keymaps/default_6_6/keymap.c
new file mode 100644
index 0000000000..816cd2fda6
--- /dev/null
+++ b/keyboards/keyprez/bison/keymaps/default_6_6/keymap.c
@@ -0,0 +1,226 @@
+/* Copyright 2021 csandven
+ *
+ * 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 names for use in layer keycodes and the keymap
+enum layer_names {
+ _QWERTY,
+ _COLEMAK,
+ _LOWER,
+ _RAISE,
+ _HRM,
+ _FN,
+};
+
+enum custom_keycodes {
+ KC_QWRTY = SAFE_RANGE,
+ KC_COLMK,
+ KC_HRM,
+ KC_PRVWD,
+ KC_NXTWD
+};
+
+#define LOWER MO(_LOWER)
+#define RAISE MO(_RAISE)
+#define FN MO(_FN)
+#define ESC_CTL MT(MOD_LCTL, KC_ESC)
+#define HRM_LG MT(MOD_LGUI, KC_A)
+#define HRM_LA MT(MOD_LALT, KC_S)
+#define HRM_LC MT(MOD_LCTL, KC_D)
+#define HRM_LS MT(MOD_LSFT, KC_F)
+#define HRM_RG MT(MOD_RGUI, KC_SCLN)
+#define HRM_RA MT(MOD_RALT, KC_L)
+#define HRM_RC MT(MOD_RCTL, KC_K)
+#define HRM_RS MT(MOD_RSFT, KC_J)
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ /*
+ * QWERTY
+ * ,-----------------------------------------. ,-----------------------------------------.
+ * | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | DEL |
+ * |------+------+------+------+------+------| |------+------+------+------+------+------+
+ * | Tab | Q | W | E | R | T | | Y | U | I | O | P | BS |
+ * |------+------+------+------+------+------| |------+------+------+------+------+------+
+ * | ESC | A | S | D | F | G |-------. ,-------| H | J | K | L | ; | ' |
+ * |------+------+------+------+------+------| | | |------+------+------+------+------+------+
+ * |LShift| Z | X | C | V | B | | | | N | M | , | . | / | Enter|
+ * `-----------------------------------------/-------/ \------\-----------------------------------------'
+ * | LGUI | LAlt | LCTR |LOWER | BS / \Space |RAISE | RCTR | RAlt | FN |
+ * | | | | | / \ | | | | |
+ * `----------------------------------' '------''---------------------------'
+ */
+ [_QWERTY] = LAYOUT_6_6(
+ KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL,
+ KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
+ ESC_CTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
+ KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_MUTE, KC_MPLY,KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT,
+ KC_LGUI,KC_LALT, LOWER, KC_BSPC, KC_SPC, RAISE, KC_RALT, FN
+ ),
+
+ /*
+ * COLEMAK
+ * ,-----------------------------------------. ,-----------------------------------------.
+ * | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | DEL |
+ * |------+------+------+------+------+------| |------+------+------+------+------+------+
+ * | Tab | Q | W | F | P | G | | J | L | U | Y | ; | BS |
+ * |------+------+------+------+------+------| |------+------+------+------+------+------+
+ * | ESC | A | R | S | T | D |-------. ,-------| H | N | E | I | O | ' |
+ * |------+------+------+------+------+------| | | |------+------+------+------+------+------+
+ * |LShift| Z | X | C | V | B | | | | K | M | , | . | / | Enter|
+ * `-----------------------------------------/-------/ \------\-----------------------------------------'
+ * | LGUI | LAlt | LCTR |LOWER | BS / \Space \ |RAISE | RCTR | RAlt | FN |
+ * | | | | | / \ \ | | | | |
+ * `----------------------------------' '------''---------------------------'
+ */
+ [_COLEMAK] = LAYOUT_6_6(
+ KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL,
+ KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC,
+ ESC_CTL, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT,
+ KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_MUTE, XXXXXXX,KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT,
+ KC_LGUI,KC_LALT, LOWER, KC_BSPC, KC_SPC, RAISE, KC_RALT, FN
+ ),
+
+ /*
+ * LOWER
+ * ,-----------------------------------------. ,-----------------------------------------.
+ * | | | | | | | | | | | | | |
+ * |------+------+------+------+------+------| |------+------+------+------+------+------+
+ * | | F1 | F2 | F3 | F4 | | | | | | [ | ] | \ |
+ * |------+------+------+------+------+------| |------+------+------+------+------+------+
+ * | | F5 | F6 | F7 | F8 | |-------. ,-------| LEFT | DOWN | UP | RIGHT| | |
+ * |------+------+------+------+------+------| | | |------+------+------+------+------+------+
+ * | | F9 | F10 | F11 | F12 | | | | | Home | | | End | | |
+ * `-----------------------------------------/-------/ \------\-----------------------------------------'
+ * | | | | | / \ \ | | | | |
+ * | | | | | / \ \ | | | | |
+ * `----------------------------------' '------''---------------------------'
+ */
+ [_LOWER] = LAYOUT_6_6(
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, KC_F1, KC_F2, KC_F3, KC_F4, _______, _______, _______, _______, KC_LBRC, KC_RBRC, KC_BSLS,
+ _______, KC_F5, KC_F6, KC_F7, KC_F8, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, _______, _______,
+ _______, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______,KC_HOME, _______, _______, KC_END, _______, _______,
+ _______,_______, _______, _______, _______, _______, _______, _______
+ ),
+
+ /*
+ * RAISE
+ * ,-----------------------------------------. ,-------------------------------------------------------.
+ * | | | | | | | | | | | | | | | |
+ * |------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
+ * | | F1 | F2 | F3 | F4 | | | | | PrevW| UP | NextW| | | |
+ * |------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
+ * | | F5 | F6 | F7 | F8 | |-------. ,-------| | | LEFT | DOWN | RIGHT| | | |
+ * |------+------+------+------+------+------| | | |------+------+------+------+------+------+------+------|
+ * | | F9 | F10 | F11 | F12 | | | | | | | | | | | | |
+ * `-----------------------------------------/-------/ \------\-------------------------------------------------------'
+ * | | | | | / \ \ | | | | |
+ * | | | | | / \ \ | | | | |
+ * `----------------------------------' '------''---------------------------'
+ */
+ [_RAISE] = LAYOUT_6_6(
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, KC_F1, KC_F2, KC_F3, KC_F4, _______, _______, _______,KC_PRVWD, KC_UP,KC_NXTWD, _______,
+ _______, KC_F5, KC_F6, KC_F7, KC_F8, _______, _______, _______, KC_LEFT, KC_DOWN,KC_RIGHT, _______,
+ _______, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______,_______, _______, _______, _______, _______, _______,
+ _______,_______, _______, _______, _______, _______, _______, _______
+ ),
+
+ /*
+ * HRM
+ * ,-----------------------------------------. ,-------------------------------------------------------.
+ * | | | | | | | | | | | | | | | |
+ * |------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
+ * | | | | | | | | | | | | | | | |
+ * |------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
+ * | |HRM_LG|HRM_LA|HRM_LC|HRM_LS| |-------. ,-------| |HRM_RS|HRM_RC|HRM_RA|HRM_RG| | | |
+ * |------+------+------+------+------+------| | | |------+------+------+------+------+------+------+------|
+ * | | | | | | | | | | | | | | | | | |
+ * `-----------------------------------------/-------/ \------\-------------------------------------------------------'
+ * | | | | | / \ \ | | | | |
+ * | | | | | / \ \ | | | | |
+ * `----------------------------------' '------''---------------------------'
+ */
+ [_HRM] = LAYOUT_6_6(
+ _______, _______, _______, _______,_______, _______, _______, _______, _______, _______, _______, _______,
+ _______, _______, _______, _______,_______, _______, _______, _______, _______, _______, _______, _______,
+ _______, HRM_LG, HRM_LA, HRM_LC, HRM_LS, _______, _______, HRM_RS, HRM_RC, HRM_RA, HRM_RG, _______,
+ _______, _______, _______, _______,_______, _______, _______, _______,_______, _______, _______, _______, _______, _______,
+ _______,_______, _______, _______, _______, _______, _______, _______
+ ),
+
+ /*
+ * FN
+ * ,-----------------------------------------. ,-------------------------------------------------------.
+ * | | | | | | | | | | | | | | | |
+ * |------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
+ * | |QWERTY| | | | | | | | | | | | | |
+ * |------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
+ * | | | | | | |-------. ,-------|KC_HRM| | | | | | | |
+ * |------+------+------+------+------+------| | | |------+------+------+------+------+------+------+------|
+ * | | | |COLEMAK| | | | | | | | | | | | | |
+ * `-----------------------------------------/-------/ \------\-------------------------------------------------------'
+ * | | | | | / \ \ | | | | |
+ * | | | | | / \ \ | | | | |
+ * `----------------------------------' '------''---------------------------'
+ */
+ [_FN] = LAYOUT_6_6(
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______,KC_QWRTY, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, _______, _______, _______, _______, _______, KC_HRM, _______, _______, _______, _______, _______,
+ _______, _______, _______,KC_COLMK, _______, _______, _______, _______,_______, _______, _______, _______, _______, _______,
+ _______,_______, _______, _______, _______, _______, _______, _______
+ ),
+};
+
+bool process_record_user(uint16_t keycode, keyrecord_t *record) {
+ switch (keycode) {
+ case KC_QWRTY:
+ if (record->event.pressed) {
+ set_single_persistent_default_layer(_QWERTY);
+ }
+ return false;
+ case KC_COLMK:
+ if (record->event.pressed) {
+ set_single_persistent_default_layer(_COLEMAK);
+ }
+ return false;
+ case KC_HRM:
+ if (record->event.pressed) {
+ set_single_persistent_default_layer(_HRM);
+ }
+ return false;
+ case KC_PRVWD:
+ if (record->event.pressed) {
+ register_mods(mod_config(MOD_LCTL));
+ register_code(KC_LEFT);
+ } else {
+ unregister_mods(mod_config(MOD_LCTL));
+ unregister_code(KC_LEFT);
+ }
+ break;
+ case KC_NXTWD:
+ if (record->event.pressed) {
+ register_mods(mod_config(MOD_LCTL));
+ register_code(KC_RIGHT);
+ } else {
+ unregister_mods(mod_config(MOD_LCTL));
+ unregister_code(KC_RIGHT);
+ }
+ break;
+ }
+ return true;
+}
diff --git a/keyboards/keyprez/bison/keymaps/default_6_6/readme.md b/keyboards/keyprez/bison/keymaps/default_6_6/readme.md
new file mode 100644
index 0000000000..b8557bbc8e
--- /dev/null
+++ b/keyboards/keyprez/bison/keymaps/default_6_6/readme.md
@@ -0,0 +1 @@
+# The default keymap for bison
diff --git a/keyboards/keyprez/bison/keymaps/default_6_8/keymap.c b/keyboards/keyprez/bison/keymaps/default_6_8/keymap.c
new file mode 100644
index 0000000000..c42ee631db
--- /dev/null
+++ b/keyboards/keyprez/bison/keymaps/default_6_8/keymap.c
@@ -0,0 +1,226 @@
+/* Copyright 2021 csandven
+ *
+ * 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 names for use in layer keycodes and the keymap
+enum layer_names {
+ _QWERTY,
+ _COLEMAK,
+ _LOWER,
+ _RAISE,
+ _HRM,
+ _FN,
+};
+
+enum custom_keycodes {
+ KC_QWRTY = SAFE_RANGE,
+ KC_COLMK,
+ KC_HRM,
+ KC_PRVWD,
+ KC_NXTWD
+};
+
+#define LOWER MO(_LOWER)
+#define RAISE MO(_RAISE)
+#define FN MO(_FN)
+#define ESC_CTL MT(MOD_LCTL, KC_ESC)
+#define HRM_LG MT(MOD_LGUI, KC_A)
+#define HRM_LA MT(MOD_LALT, KC_S)
+#define HRM_LC MT(MOD_LCTL, KC_D)
+#define HRM_LS MT(MOD_LSFT, KC_F)
+#define HRM_RG MT(MOD_RGUI, KC_SCLN)
+#define HRM_RA MT(MOD_RALT, KC_L)
+#define HRM_RC MT(MOD_RCTL, KC_K)
+#define HRM_RS MT(MOD_RSFT, KC_J)
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ /*
+ * QWERTY
+ * ,-----------------------------------------. ,-------------------------------------------------------.
+ * | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | - | = | DEL |
+ * |------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
+ * | Tab | Q | W | E | R | T | | Y | U | I | O | P | [ | ] | \ |
+ * |------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
+ * | ESC | A | S | D | F | G |-------. ,-------| H | J | K | L | ; | ' | BS | Fn |
+ * |------+------+------+------+------+------| | | |------+------+------+------+------+------+------+------|
+ * |LShift| Z | X | C | V | B | | | | N | M | , | . | / | Enter| Home | End |
+ * `----------------------------------------/-------/ \------\-------------------------------------------------------'
+ * | LGUI | LAlt | LCTR |LOWER | BS / \Space \ |RAISE | RCTR | RAlt | RGUI |
+ * | | | | | / \ \ | | | | |
+ * `----------------------------------' '------''---------------------------'
+ */
+ [_QWERTY] = LAYOUT_6_8(
+ KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_DEL,
+ KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
+ ESC_CTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_BSPC, FN,
+ KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_MUTE, KC_MPLY,KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, KC_HOME, KC_END,
+ KC_LGUI,KC_LALT, LOWER, KC_BSPC, KC_SPC, RAISE, KC_RALT, KC_RGUI
+ ),
+
+ /*
+ * COLEMAK
+ * ,-----------------------------------------. ,-------------------------------------------------------.
+ * | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | - | = | DEL |
+ * |------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
+ * | Tab | Q | W | F | P | G | | J | L | U | Y | ; | [ | ] | \ |
+ * |------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
+ * | ESC | A | R | S | T | D |-------. ,-------| H | N | E | I | O | ' | BS | Fn |
+ * |------+------+------+------+------+------| | | |------+------+------+------+------+------+------+------|
+ * |LShift| Z | X | C | V | B | | | | K | M | , | . | / | Enter| Home | End |
+ * `-----------------------------------------/-------/ \------\-------------------------------------------------------'
+ * | LGUI | LAlt | LCTR |LOWER | BS / \Space \ |RAISE | RCTR | RAlt | RGUI |
+ * | | | | | / \ \ | | | | |
+ * `----------------------------------' '------''---------------------------'
+ */
+ [_COLEMAK] = LAYOUT_6_8(
+ KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_DEL,
+ KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_LBRC, KC_RBRC, KC_BSLS,
+ ESC_CTL, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, KC_BSPC, FN,
+ KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_MUTE, XXXXXXX,KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, KC_HOME, KC_END,
+ KC_LGUI,KC_LALT, LOWER, KC_BSPC, KC_SPC, RAISE, KC_RALT, KC_RGUI
+ ),
+
+ /*
+ * LOWER
+ * ,-----------------------------------------. ,-------------------------------------------------------.
+ * | | | | | | | | | | | | | | | |
+ * |------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
+ * | | F1 | F2 | F3 | F4 | | | | | | | | | | |
+ * |------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
+ * | | F5 | F6 | F7 | F8 | |-------. ,-------| LEFT | DOWN | UP | RIGHT| | | | |
+ * |------+------+------+------+------+------| | | |------+------+------+------+------+------+------+------|
+ * | | F9 | F10 | F11 | F12 | | | | | | | | | | | | |
+ * `-----------------------------------------/-------/ \------\-------------------------------------------------------'
+ * | | | | | / \ \ | | | | |
+ * | | | | | / \ \ | | | | |
+ * `----------------------------------' '------''---------------------------'
+ */
+ [_LOWER] = LAYOUT_6_8(
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, KC_F1, KC_F2, KC_F3, KC_F4, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, KC_F5, KC_F6, KC_F7, KC_F8, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, _______, _______, _______, _______,
+ _______, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______,_______, _______, _______, _______, _______, _______, _______, _______,
+ _______,_______, _______, _______, _______, _______, _______, _______
+ ),
+
+ /*
+ * RAISE
+ * ,-----------------------------------------. ,-------------------------------------------------------.
+ * | | | | | | | | | | | | | | | |
+ * |------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
+ * | | F1 | F2 | F3 | F4 | | | | | PrevW| UP | NextW| | | |
+ * |------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
+ * | | F5 | F6 | F7 | F8 | |-------. ,-------| | | LEFT | DOWN | RIGHT| | | |
+ * |------+------+------+------+------+------| | | |------+------+------+------+------+------+------+------|
+ * | | F9 | F10 | F11 | F12 | | | | | | | | | | | | |
+ * `-----------------------------------------/-------/ \------\-------------------------------------------------------'
+ * | | | | | / \ \ | | | | |
+ * | | | | | / \ \ | | | | |
+ * `----------------------------------' '------''---------------------------'
+ */
+ [_RAISE] = LAYOUT_6_8(
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, KC_F1, KC_F2, KC_F3, KC_F4, _______, _______, _______,KC_PRVWD, KC_UP,KC_NXTWD, _______, _______, _______,
+ _______, KC_F5, KC_F6, KC_F7, KC_F8, _______, _______, _______, KC_LEFT, KC_DOWN,KC_RIGHT, _______, _______, _______,
+ _______, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______,_______, _______, _______, _______, _______, _______, _______, _______,
+ _______,_______, _______, _______, _______, _______, _______, _______
+ ),
+
+ /*
+ * HRM
+ * ,-----------------------------------------. ,-------------------------------------------------------.
+ * | | | | | | | | | | | | | | | |
+ * |------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
+ * | | | | | | | | | | | | | | | |
+ * |------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
+ * | |HRM_LG|HRM_LA|HRM_LC|HRM_LS| |-------. ,-------| |HRM_RS|HRM_RC|HRM_RA|HRM_RG| | | |
+ * |------+------+------+------+------+------| | | |------+------+------+------+------+------+------+------|
+ * | | | | | | | | | | | | | | | | | |
+ * `-----------------------------------------/-------/ \------\-------------------------------------------------------'
+ * | | | | | / \ \ | | | | |
+ * | | | | | / \ \ | | | | |
+ * `----------------------------------' '------''---------------------------'
+ */
+ [_HRM] = LAYOUT_6_8(
+ _______, _______, _______, _______,_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, _______, _______, _______,_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, HRM_LG, HRM_LA, HRM_LC, HRM_LS, _______, _______, HRM_RS, HRM_RC, HRM_RA, HRM_RG, _______, _______, _______,
+ _______, _______, _______, _______,_______, _______, _______, _______,_______, _______, _______, _______, _______, _______, _______, _______,
+ _______,_______, _______, _______, _______, _______, _______, _______
+ ),
+
+ /*
+ * FN
+ * ,-----------------------------------------. ,-------------------------------------------------------.
+ * | | | | | | | | | | | | | | | |
+ * |------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
+ * | |QWERTY| | | | | | | | | | | | | |
+ * |------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
+ * | | | | | | |-------. ,-------|KC_HRM| | | | | | | |
+ * |------+------+------+------+------+------| | | |------+------+------+------+------+------+------+------|
+ * | | | |COLEMAK| | | | | | | | | | | | | |
+ * `-----------------------------------------/-------/ \------\-------------------------------------------------------'
+ * | | | | | / \ \ | | | | |
+ * | | | | | / \ \ | | | | |
+ * `----------------------------------' '------''---------------------------'
+ */
+ [_FN] = LAYOUT_6_8(
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______,KC_QWRTY, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, _______, _______, _______, _______, _______, KC_HRM, _______, _______, _______, _______, _______, _______, _______,
+ _______, _______, _______,KC_COLMK, _______, _______, _______, _______,_______, _______, _______, _______, _______, _______, _______, _______,
+ _______,_______, _______, _______, _______, _______, _______, _______
+ ),
+};
+
+bool process_record_user(uint16_t keycode, keyrecord_t *record) {
+ switch (keycode) {
+ case KC_QWRTY:
+ if (record->event.pressed) {
+ set_single_persistent_default_layer(_QWERTY);
+ }
+ return false;
+ case KC_COLMK:
+ if (record->event.pressed) {
+ set_single_persistent_default_layer(_COLEMAK);
+ }
+ return false;
+ case KC_HRM:
+ if (record->event.pressed) {
+ set_single_persistent_default_layer(_HRM);
+ }
+ return false;
+ case KC_PRVWD:
+ if (record->event.pressed) {
+ register_mods(mod_config(MOD_LCTL));
+ register_code(KC_LEFT);
+ } else {
+ unregister_mods(mod_config(MOD_LCTL));
+ unregister_code(KC_LEFT);
+ }
+ break;
+ case KC_NXTWD:
+ if (record->event.pressed) {
+ register_mods(mod_config(MOD_LCTL));
+ register_code(KC_RIGHT);
+ } else {
+ unregister_mods(mod_config(MOD_LCTL));
+ unregister_code(KC_RIGHT);
+ }
+ break;
+ }
+ return true;
+}
diff --git a/keyboards/keyprez/bison/keymaps/default_6_8/readme.md b/keyboards/keyprez/bison/keymaps/default_6_8/readme.md
new file mode 100644
index 0000000000..b8557bbc8e
--- /dev/null
+++ b/keyboards/keyprez/bison/keymaps/default_6_8/readme.md
@@ -0,0 +1 @@
+# The default keymap for bison
diff --git a/keyboards/keyprez/bison/keymaps/default_8_6/keymap.c b/keyboards/keyprez/bison/keymaps/default_8_6/keymap.c
new file mode 100644
index 0000000000..173b9bc387
--- /dev/null
+++ b/keyboards/keyprez/bison/keymaps/default_8_6/keymap.c
@@ -0,0 +1,226 @@
+/* Copyright 2021 csandven
+ *
+ * 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 names for use in layer keycodes and the keymap
+enum layer_names {
+ _QWERTY,
+ _COLEMAK,
+ _LOWER,
+ _RAISE,
+ _HRM,
+ _FN,
+};
+
+enum custom_keycodes {
+ KC_QWRTY = SAFE_RANGE,
+ KC_COLMK,
+ KC_HRM,
+ KC_PRVWD,
+ KC_NXTWD
+};
+
+#define LOWER MO(_LOWER)
+#define RAISE MO(_RAISE)
+#define FN MO(_FN)
+#define ESC_CTL MT(MOD_LCTL, KC_ESC)
+#define HRM_LG MT(MOD_LGUI, KC_A)
+#define HRM_LA MT(MOD_LALT, KC_S)
+#define HRM_LC MT(MOD_LCTL, KC_D)
+#define HRM_LS MT(MOD_LSFT, KC_F)
+#define HRM_RG MT(MOD_RGUI, KC_SCLN)
+#define HRM_RA MT(MOD_RALT, KC_L)
+#define HRM_RC MT(MOD_RCTL, KC_K)
+#define HRM_RS MT(MOD_RSFT, KC_J)
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ /*
+ * QWERTY
+ * ,-------------------------------------------------------. ,-----------------------------------------.
+ * | F1 | F2 | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | DEL |
+ * |------+------+------+------+------+------+------+------| |------+------+------+------+------+------+
+ * | F3 | F4 | Tab | Q | W | E | R | T | | Y | U | I | O | P | BS |
+ * |------+------+------+------+------+------+------+------| |------+------+------+------+------+------+
+ * | F5 | F6 | ESC | A | S | D | F | G |-------. ,-------| H | J | K | L | ; | ' |
+ * |------+------+------+------+------+------+------+------| | | |------+------+------+------+------+------+
+ * | F7 | F8 |LShift| Z | X | C | V | B | | | | N | M | , | . | / | Enter|
+ * `-------------------------------------------------------/-------/ \------\-----------------------------------------'
+ * | LGUI | LAlt | LCTR |LOWER | BS / \Space |RAISE | RCTR | RAlt | FN |
+ * | | | | | / \ | | | | |
+ * `----------------------------------' '------''---------------------------'
+ */
+ [_QWERTY] = LAYOUT_8_6(
+ KC_F1, KC_F2, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL,
+ KC_F3, KC_F4, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
+ KC_F5, KC_F6, ESC_CTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
+ KC_F7, KC_F8, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_MUTE, KC_MPLY,KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT,
+ KC_LGUI,KC_LALT, LOWER, KC_BSPC, KC_SPC, RAISE, KC_RALT, FN
+ ),
+
+ /*
+ * COLEMAK
+ * ,-------------------------------------------------------. ,-----------------------------------------.
+ * | F1 | F2 | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | DEL |
+ * |------+------+------+------+------+------+------+------| |------+------+------+------+------+------+
+ * | F3 | F4 | Tab | Q | W | F | P | G | | J | L | U | Y | ; | BS |
+ * |------+------+------+------+------+------+------+------| |------+------+------+------+------+------+
+ * | F5 | F6 | ESC | A | R | S | T | D |-------. ,-------| H | N | E | I | O | ' |
+ * |------+------+------+------+------+------+------+------| | | |------+------+------+------+------+------+
+ * | F7 | F8 |LShift| Z | X | C | V | B | | | | K | M | , | . | / | Enter|
+ * `-------------------------------------------------------/-------/ \------\-----------------------------------------'
+ * | LGUI | LAlt | LCTR |LOWER | BS / \Space \ |RAISE | RCTR | RAlt | FN |
+ * | | | | | / \ \ | | | | |
+ * `----------------------------------' '------''---------------------------'
+ */
+ [_COLEMAK] = LAYOUT_8_6(
+ KC_F1, KC_F2, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL,
+ KC_F3, KC_F4, KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC,
+ KC_F5, KC_F6, ESC_CTL, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT,
+ KC_F7, KC_F8, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_MUTE, XXXXXXX,KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT,
+ KC_LGUI,KC_LALT, LOWER, KC_BSPC, KC_SPC, RAISE, KC_RALT, FN
+ ),
+
+ /*
+ * LOWER
+ * ,-------------------------------------------------------. ,-----------------------------------------.
+ * | | | | | | | | | | | | | | | |
+ * |------+------+------+------+------+------+------+------| |------+------+------+------+------+------+
+ * | | | | F1 | F2 | F3 | F4 | | | | | | [ | ] | \ |
+ * |------+------+------+------+------+------+------+------| |------+------+------+------+------+------+
+ * | | | | F5 | F6 | F7 | F8 | |-------. ,-------| LEFT | DOWN | UP | RIGHT| | |
+ * |------+------+------+------+------+------+------+------| | | |------+------+------+------+------+------+
+ * | | | | F9 | F10 | F11 | F12 | | | | | Home | | | End | | |
+ * `-------------------------------------------------------/-------/ \------\-----------------------------------------'
+ * | | | | | / \ \ | | | | |
+ * | | | | | / \ \ | | | | |
+ * `----------------------------------' '------''---------------------------'
+ */
+ [_LOWER] = LAYOUT_8_6(
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, _______, _______, KC_F1, KC_F2, KC_F3, KC_F4, _______, _______, _______, _______, KC_LBRC, KC_RBRC, KC_BSLS,
+ _______, _______, _______, KC_F5, KC_F6, KC_F7, KC_F8, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, _______, _______,
+ _______, _______, _______, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______,KC_HOME, _______, _______, KC_END, _______, _______,
+ _______,_______, _______, _______, _______, _______, _______, _______
+ ),
+
+ /*
+ * RAISE
+ * ,-------------------------------------------------------. ,-------------------------------------------------------.
+ * | | | | | | | | | | | | | | | | | |
+ * |------+------+------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
+ * | | | | F1 | F2 | F3 | F4 | | | | | PrevW| UP | NextW| | | |
+ * |------+------+------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
+ * | | | | F5 | F6 | F7 | F8 | |-------. ,-------| | | LEFT | DOWN | RIGHT| | | |
+ * |------+------+------+------+------+------+------+------| | | |------+------+------+------+------+------+------+------|
+ * | | | | F9 | F10 | F11 | F12 | | | | | | | | | | | | |
+ * `-------------------------------------------------------/-------/ \------\-------------------------------------------------------'
+ * | | | | | / \ \ | | | | |
+ * | | | | | / \ \ | | | | |
+ * `----------------------------------' '------''---------------------------'
+ */
+ [_RAISE] = LAYOUT_8_6(
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, _______, _______, KC_F1, KC_F2, KC_F3, KC_F4, _______, _______, _______,KC_PRVWD, KC_UP,KC_NXTWD, _______,
+ _______, _______, _______, KC_F5, KC_F6, KC_F7, KC_F8, _______, _______, _______, KC_LEFT, KC_DOWN,KC_RIGHT, _______,
+ _______, _______, _______, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______,_______, _______, _______, _______, _______, _______,
+ _______,_______, _______, _______, _______, _______, _______, _______
+ ),
+
+ /*
+ * HRM
+ * ,-------------------------------------------------------. ,-------------------------------------------------------.
+ * | | | | | | | | | | | | | | | | | |
+ * |------+------+------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
+ * | | | | | | | | | | | | | | | | | |
+ * |------+------+------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
+ * | | | |HRM_LG|HRM_LA|HRM_LC|HRM_LS| |-------. ,-------| |HRM_RS|HRM_RC|HRM_RA|HRM_RG| | | |
+ * |------+------+------+------+------+------+------+------| | | |------+------+------+------+------+------+------+------|
+ * | | | | | | | | | | | | | | | | | | | |
+ * `-------------------------------------------------------/-------/ \------\-------------------------------------------------------'
+ * | | | | | / \ \ | | | | |
+ * | | | | | / \ \ | | | | |
+ * `----------------------------------' '------''---------------------------'
+ */
+ [_HRM] = LAYOUT_8_6(
+ _______, _______, _______, _______, _______, _______,_______, _______, _______, _______, _______, _______, _______, _______,
+ _______, _______, _______, _______, _______, _______,_______, _______, _______, _______, _______, _______, _______, _______,
+ _______, _______, _______, HRM_LG, HRM_LA, HRM_LC, HRM_LS, _______, _______, HRM_RS, HRM_RC, HRM_RA, HRM_RG, _______,
+ _______, _______, _______, _______, _______, _______,_______, _______, _______, _______,_______, _______, _______, _______, _______, _______,
+ _______,_______, _______, _______, _______, _______, _______, _______
+ ),
+
+ /*
+ * FN
+ * ,-------------------------------------------------------. ,-------------------------------------------------------.
+ * | | | | | | | | | | | | | | | | | |
+ * |------+------+------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
+ * | | | |QWERTY| | | | | | | | | | | | | |
+ * |------+------+------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
+ * | | | | | | | | |-------. ,-------|KC_HRM| | | | | | | |
+ * |------+------+------+------+------+------+------+------| | | |------+------+------+------+------+------+------+------|
+ * | | | | | |COLEMAK| | | | | | | | | | | | | |
+ * `-------------------------------------------------------/-------/ \------\-------------------------------------------------------'
+ * | | | | | / \ \ | | | | |
+ * | | | | | / \ \ | | | | |
+ * `----------------------------------' '------''---------------------------'
+ */
+ [_FN] = LAYOUT_8_6(
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, _______, _______,KC_QWRTY, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, _______, _______, _______, _______, _______, _______, _______, KC_HRM, _______, _______, _______, _______, _______,
+ _______, _______, _______, _______, _______,KC_COLMK, _______, _______, _______, _______,_______, _______, _______, _______, _______, _______,
+ _______,_______, _______, _______, _______, _______, _______, _______
+ ),
+};
+
+bool process_record_user(uint16_t keycode, keyrecord_t *record) {
+ switch (keycode) {
+ case KC_QWRTY:
+ if (record->event.pressed) {
+ set_single_persistent_default_layer(_QWERTY);
+ }
+ return false;
+ case KC_COLMK:
+ if (record->event.pressed) {
+ set_single_persistent_default_layer(_COLEMAK);
+ }
+ return false;
+ case KC_HRM:
+ if (record->event.pressed) {
+ set_single_persistent_default_layer(_HRM);
+ }
+ return false;
+ case KC_PRVWD:
+ if (record->event.pressed) {
+ register_mods(mod_config(MOD_LCTL));
+ register_code(KC_LEFT);
+ } else {
+ unregister_mods(mod_config(MOD_LCTL));
+ unregister_code(KC_LEFT);
+ }
+ break;
+ case KC_NXTWD:
+ if (record->event.pressed) {
+ register_mods(mod_config(MOD_LCTL));
+ register_code(KC_RIGHT);
+ } else {
+ unregister_mods(mod_config(MOD_LCTL));
+ unregister_code(KC_RIGHT);
+ }
+ break;
+ }
+ return true;
+}
diff --git a/keyboards/keyprez/bison/keymaps/default_8_6/readme.md b/keyboards/keyprez/bison/keymaps/default_8_6/readme.md
new file mode 100644
index 0000000000..b8557bbc8e
--- /dev/null
+++ b/keyboards/keyprez/bison/keymaps/default_8_6/readme.md
@@ -0,0 +1 @@
+# The default keymap for bison
diff --git a/keyboards/keyprez/bison/readme.md b/keyboards/keyprez/bison/readme.md
new file mode 100644
index 0000000000..d537d98673
--- /dev/null
+++ b/keyboards/keyprez/bison/readme.md
@@ -0,0 +1,21 @@
+# bison
+
+![Imgur](https://i.imgur.com/FTOUHTqh.jpg)
+
+A split 60% ergonomic keyboard with a slight columnar stagger. Should provide an easy transition from a ortholinear keyboard to a split ergonomic keyboard.
+
+* Keyboard Maintainer: [csandven](https://github.com/csandven)
+* Hardware Supported: Pro micro compatible boards
+* Hardware Availability: *TBA*
+
+Make example for this keyboard (after setting up your build environment):
+
+ make bison:default
+
+Flashing example for this keyboard:
+
+ make bison:default:flash
+
+Simply click the reset button on the keyboard. Only the left button is needed if it is only a keymap update.
+
+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/keyprez/bison/rules.mk b/keyboards/keyprez/bison/rules.mk
new file mode 100644
index 0000000000..632119a25d
--- /dev/null
+++ b/keyboards/keyprez/bison/rules.mk
@@ -0,0 +1,25 @@
+# MCU name
+MCU = atmega32u4
+
+# Bootloader selection
+BOOTLOADER = atmel-dfu
+
+# Build Options
+# change yes to no to disable
+#
+BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
+MOUSEKEY_ENABLE = yes # Mouse keys
+EXTRAKEY_ENABLE = yes # Audio control and System control
+CONSOLE_ENABLE = no # Console for debug
+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 = no # USB Nkey Rollover
+BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
+RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
+BLUETOOTH_ENABLE = no # Enable Bluetooth
+AUDIO_ENABLE = no # Audio output
+
+SPLIT_KEYBOARD = yes
+ENCODER_ENABLE = yes