diff options
| -rw-r--r-- | keyboards/ryanbaekr/rb86/config.h | 150 | ||||
| -rw-r--r-- | keyboards/ryanbaekr/rb86/info.json | 12 | ||||
| -rw-r--r-- | keyboards/ryanbaekr/rb86/keymaps/default/keymap.c | 36 | ||||
| -rw-r--r-- | keyboards/ryanbaekr/rb86/keymaps/default/readme.md | 1 | ||||
| -rw-r--r-- | keyboards/ryanbaekr/rb86/keymaps/via/keymap.c | 54 | ||||
| -rw-r--r-- | keyboards/ryanbaekr/rb86/keymaps/via/rules.mk | 2 | ||||
| -rw-r--r-- | keyboards/ryanbaekr/rb86/rb86.c | 17 | ||||
| -rw-r--r-- | keyboards/ryanbaekr/rb86/rb86.h | 37 | ||||
| -rw-r--r-- | keyboards/ryanbaekr/rb86/readme.md | 15 | ||||
| -rw-r--r-- | keyboards/ryanbaekr/rb86/rules.mk | 23 |
10 files changed, 347 insertions, 0 deletions
diff --git a/keyboards/ryanbaekr/rb86/config.h b/keyboards/ryanbaekr/rb86/config.h new file mode 100644 index 000000000..39955da1d --- /dev/null +++ b/keyboards/ryanbaekr/rb86/config.h | |||
| @@ -0,0 +1,150 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 ryanbaekr | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #include "config_common.h" | ||
| 21 | |||
| 22 | /* USB Device descriptor parameter */ | ||
| 23 | #define VENDOR_ID 0x7262 | ||
| 24 | #define PRODUCT_ID 0x0086 | ||
| 25 | #define DEVICE_VER 0x0002 | ||
| 26 | #define MANUFACTURER ryanbaekr | ||
| 27 | #define PRODUCT rb86 | ||
| 28 | |||
| 29 | /* key matrix size */ | ||
| 30 | #define MATRIX_ROWS 6 | ||
| 31 | #define MATRIX_COLS 17 | ||
| 32 | |||
| 33 | /* | ||
| 34 | * Keyboard Matrix Assignments | ||
| 35 | * | ||
| 36 | * Change this to how you wired your keyboard | ||
| 37 | * COLS: AVR pins used for columns, left to right | ||
| 38 | * ROWS: AVR pins used for rows, top to bottom | ||
| 39 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
| 40 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
| 41 | * | ||
| 42 | */ | ||
| 43 | #define MATRIX_ROW_PINS { B0, B1, B2, B3, B4, D7 } | ||
| 44 | #define MATRIX_COL_PINS { B6, B5, D5, C7, F1, F0, D3, D2, D1, D0, D4, E6, B7, C6, F4, F5, F6 } | ||
| 45 | #define UNUSED_PINS | ||
| 46 | |||
| 47 | /* COL2ROW, ROW2COL*/ | ||
| 48 | #define DIODE_DIRECTION COL2ROW | ||
| 49 | |||
| 50 | /* | ||
| 51 | * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN. | ||
| 52 | */ | ||
| 53 | //#define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6 | ||
| 54 | |||
| 55 | |||
| 56 | |||
| 57 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 58 | #define DEBOUNCE 5 | ||
| 59 | |||
| 60 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
| 61 | //#define MATRIX_HAS_GHOST | ||
| 62 | |||
| 63 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 64 | #define LOCKING_SUPPORT_ENABLE | ||
| 65 | /* Locking resynchronize hack */ | ||
| 66 | #define LOCKING_RESYNC_ENABLE | ||
| 67 | |||
| 68 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
| 69 | * This is userful for the Windows task manager shortcut (ctrl+shift+esc). | ||
| 70 | */ | ||
| 71 | // #define GRAVE_ESC_CTRL_OVERRIDE | ||
| 72 | |||
| 73 | /* | ||
| 74 | * Force NKRO | ||
| 75 | * | ||
| 76 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
| 77 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
| 78 | * makefile for this to work.) | ||
| 79 | * | ||
| 80 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
| 81 | * until the next keyboard reset. | ||
| 82 | * | ||
| 83 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
| 84 | * fully operational during normal computer usage. | ||
| 85 | * | ||
| 86 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
| 87 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
| 88 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
| 89 | * power-up. | ||
| 90 | * | ||
| 91 | */ | ||
| 92 | //#define FORCE_NKRO | ||
| 93 | |||
| 94 | /* | ||
| 95 | * Magic Key Options | ||
| 96 | * | ||
| 97 | * Magic keys are hotkey commands that allow control over firmware functions of | ||
| 98 | * the keyboard. They are best used in combination with the HID Listen program, | ||
| 99 | * found here: https://www.pjrc.com/teensy/hid_listen.html | ||
| 100 | * | ||
| 101 | * The options below allow the magic key functionality to be changed. This is | ||
| 102 | * useful if your keyboard/keypad is missing keys and you want magic key support. | ||
| 103 | * | ||
| 104 | */ | ||
| 105 | |||
| 106 | /* key combination for magic key command */ | ||
| 107 | /* defined by default; to change, uncomment and set to the combination you want */ | ||
| 108 | // #define IS_COMMAND() (get_mods() == MOD_MASK_SHIFT) | ||
| 109 | |||
| 110 | /* control how magic key switches layers */ | ||
| 111 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true | ||
| 112 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true | ||
| 113 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false | ||
| 114 | |||
| 115 | /* override magic key keymap */ | ||
| 116 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS | ||
| 117 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS | ||
| 118 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM | ||
| 119 | //#define MAGIC_KEY_HELP H | ||
| 120 | //#define MAGIC_KEY_HELP_ALT SLASH | ||
| 121 | //#define MAGIC_KEY_DEBUG D | ||
| 122 | //#define MAGIC_KEY_DEBUG_MATRIX X | ||
| 123 | //#define MAGIC_KEY_DEBUG_KBD K | ||
| 124 | //#define MAGIC_KEY_DEBUG_MOUSE M | ||
| 125 | //#define MAGIC_KEY_VERSION V | ||
| 126 | //#define MAGIC_KEY_STATUS S | ||
| 127 | //#define MAGIC_KEY_CONSOLE C | ||
| 128 | //#define MAGIC_KEY_LAYER0 0 | ||
| 129 | //#define MAGIC_KEY_LAYER0_ALT GRAVE | ||
| 130 | //#define MAGIC_KEY_LAYER1 1 | ||
| 131 | //#define MAGIC_KEY_LAYER2 2 | ||
| 132 | //#define MAGIC_KEY_LAYER3 3 | ||
| 133 | //#define MAGIC_KEY_LAYER4 4 | ||
| 134 | //#define MAGIC_KEY_LAYER5 5 | ||
| 135 | //#define MAGIC_KEY_LAYER6 6 | ||
| 136 | //#define MAGIC_KEY_LAYER7 7 | ||
| 137 | //#define MAGIC_KEY_LAYER8 8 | ||
| 138 | //#define MAGIC_KEY_LAYER9 9 | ||
| 139 | //#define MAGIC_KEY_BOOTLOADER B | ||
| 140 | //#define MAGIC_KEY_BOOTLOADER_ALT ESC | ||
| 141 | //#define MAGIC_KEY_LOCK CAPS | ||
| 142 | //#define MAGIC_KEY_EEPROM E | ||
| 143 | //#define MAGIC_KEY_EEPROM_CLEAR BSPACE | ||
| 144 | //#define MAGIC_KEY_NKRO N | ||
| 145 | //#define MAGIC_KEY_SLEEP_LED Z | ||
| 146 | |||
| 147 | |||
| 148 | /* disable these deprecated features by default */ | ||
| 149 | #define NO_ACTION_MACRO | ||
| 150 | #define NO_ACTION_FUNCTION | ||
diff --git a/keyboards/ryanbaekr/rb86/info.json b/keyboards/ryanbaekr/rb86/info.json new file mode 100644 index 000000000..9a8f0c904 --- /dev/null +++ b/keyboards/ryanbaekr/rb86/info.json | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "rb86", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "qmk", | ||
| 5 | "width": 17.25, | ||
| 6 | "height": 6.25, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT_numpad_6x17": { | ||
| 9 | "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0}, {"x":12, "y":0}, {"x":13, "y":0}, {"x":14, "y":0}, {"x":15.25, "y":0}, {"x":16.25, "y":0}, {"x":0, "y":1.25}, {"x":1, "y":1.25}, {"x":2, "y":1.25}, {"x":3, "y":1.25}, {"x":4, "y":1.25}, {"x":5, "y":1.25}, {"x":6, "y":1.25}, {"x":7, "y":1.25}, {"x":8, "y":1.25}, {"x":9, "y":1.25}, {"x":10, "y":1.25}, {"x":11, "y":1.25}, {"x":12, "y":1.25}, {"x":13, "y":1.25, "w":2}, {"x":15.25, "y":1.25}, {"x":16.25, "y":1.25}, {"x":0, "y":2.25, "w":1.5}, {"x":1.5, "y":2.25}, {"x":2.5, "y":2.25}, {"x":3.5, "y":2.25}, {"x":4.5, "y":2.25}, {"x":5.5, "y":2.25}, {"x":6.5, "y":2.25}, {"x":7.5, "y":2.25}, {"x":8.5, "y":2.25}, {"x":9.5, "y":2.25}, {"x":10.5, "y":2.25}, {"x":11.5, "y":2.25}, {"x":12.5, "y":2.25}, {"x":13.5, "y":2.25, "w":1.5}, {"x":15.25, "y":2.25}, {"x":16.25, "y":2.25}, {"x":0, "y":3.25, "w":1.75}, {"x":1.75, "y":3.25}, {"x":2.75, "y":3.25}, {"x":3.75, "y":3.25}, {"x":4.75, "y":3.25}, {"x":5.75, "y":3.25}, {"x":6.75, "y":3.25}, {"x":7.75, "y":3.25}, {"x":8.75, "y":3.25}, {"x":9.75, "y":3.25}, {"x":10.75, "y":3.25}, {"x":11.75, "y":3.25}, {"x":12.75, "y":3.25, "w":2.25}, {"x":0, "y":4.25, "w":2.25}, {"x":2.25, "y":4.25}, {"x":3.25, "y":4.25}, {"x":4.25, "y":4.25}, {"x":5.25, "y":4.25}, {"x":6.25, "y":4.25}, {"x":7.25, "y":4.25}, {"x":8.25, "y":4.25}, {"x":9.25, "y":4.25}, {"x":10.25, "y":4.25}, {"x":11.25, "y":4.25}, {"x":12.25, "y":4.25, "w":2.75}, {"x":15.25, "y":4.25}, {"x":0, "y":5.25}, {"x":1, "y":5.25}, {"x":2, "y":5.25}, {"x":3, "y":5.25}, {"x":4, "y":5.25, "w":6.25}, {"x":10.25, "y":5.25, "w":1.25}, {"x":11.5, "y":5.25, "w":1.25}, {"x":12.75, "y":5.25, "w":1.25}, {"x":14.25, "y":5.25}, {"x":15.25, "y":5.25}, {"x":16.25, "y":5.25}] | ||
| 10 | } | ||
| 11 | } | ||
| 12 | } | ||
diff --git a/keyboards/ryanbaekr/rb86/keymaps/default/keymap.c b/keyboards/ryanbaekr/rb86/keymaps/default/keymap.c new file mode 100644 index 000000000..bc06b7952 --- /dev/null +++ b/keyboards/ryanbaekr/rb86/keymaps/default/keymap.c | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | /* Copyright 2021 ryanbaekr | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #include QMK_KEYBOARD_H | ||
| 17 | |||
| 18 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 19 | [0] = LAYOUT_numpad_6x17( | ||
| 20 | KC_ESC, 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_HOME, KC_END, KC_PSCR, KC_PAUS, | ||
| 21 | 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_BSPC, KC_INS, KC_PGUP, | ||
| 22 | 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_DEL, KC_PGDN, | ||
| 23 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, | ||
| 24 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, | ||
| 25 | KC_LCTL, TG(1), KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_F13, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 26 | ), | ||
| 27 | |||
| 28 | [1] = LAYOUT_numpad_6x17( | ||
| 29 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 30 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 31 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 32 | _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_SLCK, _______, _______, _______, | ||
| 33 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 34 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 35 | ) | ||
| 36 | }; | ||
diff --git a/keyboards/ryanbaekr/rb86/keymaps/default/readme.md b/keyboards/ryanbaekr/rb86/keymaps/default/readme.md new file mode 100644 index 000000000..81c91e229 --- /dev/null +++ b/keyboards/ryanbaekr/rb86/keymaps/default/readme.md | |||
| @@ -0,0 +1 @@ | |||
| # The default keymap for rb86 | |||
diff --git a/keyboards/ryanbaekr/rb86/keymaps/via/keymap.c b/keyboards/ryanbaekr/rb86/keymaps/via/keymap.c new file mode 100644 index 000000000..1d22af857 --- /dev/null +++ b/keyboards/ryanbaekr/rb86/keymaps/via/keymap.c | |||
| @@ -0,0 +1,54 @@ | |||
| 1 | /* Copyright 2021 ryanbaekr | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #include QMK_KEYBOARD_H | ||
| 17 | |||
| 18 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 19 | [0] = LAYOUT_numpad_6x17( | ||
| 20 | KC_ESC, 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_HOME, KC_END, KC_PSCR, KC_PAUS, | ||
| 21 | 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_BSPC, KC_INS, KC_PGUP, | ||
| 22 | 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_DEL, KC_PGDN, | ||
| 23 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, | ||
| 24 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, | ||
| 25 | KC_LCTL, TG(1), KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_F13, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 26 | ), | ||
| 27 | |||
| 28 | [1] = LAYOUT_numpad_6x17( | ||
| 29 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 30 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 31 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 32 | _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_SLCK, _______, _______, _______, | ||
| 33 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 34 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 35 | ), | ||
| 36 | |||
| 37 | [2] = LAYOUT_numpad_6x17( | ||
| 38 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 39 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 40 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 41 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 42 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 43 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 44 | ), | ||
| 45 | |||
| 46 | [3] = LAYOUT_numpad_6x17( | ||
| 47 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 48 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 49 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 50 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 51 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 52 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 53 | ) | ||
| 54 | }; | ||
diff --git a/keyboards/ryanbaekr/rb86/keymaps/via/rules.mk b/keyboards/ryanbaekr/rb86/keymaps/via/rules.mk new file mode 100644 index 000000000..36b7ba9cb --- /dev/null +++ b/keyboards/ryanbaekr/rb86/keymaps/via/rules.mk | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | VIA_ENABLE = yes | ||
| 2 | LTO_ENABLE = yes | ||
diff --git a/keyboards/ryanbaekr/rb86/rb86.c b/keyboards/ryanbaekr/rb86/rb86.c new file mode 100644 index 000000000..b3375cb4f --- /dev/null +++ b/keyboards/ryanbaekr/rb86/rb86.c | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | /* Copyright 2021 ryanbaekr | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #include "rb86.h" | ||
diff --git a/keyboards/ryanbaekr/rb86/rb86.h b/keyboards/ryanbaekr/rb86/rb86.h new file mode 100644 index 000000000..71a89525f --- /dev/null +++ b/keyboards/ryanbaekr/rb86/rb86.h | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | /* Copyright 2021 ryanbaekr | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #include "quantum.h" | ||
| 20 | |||
| 21 | #define ____ KC_NO | ||
| 22 | |||
| 23 | #define LAYOUT_numpad_6x17( \ | ||
| 24 | k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, k012, k013, k014, k015, k016, \ | ||
| 25 | k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, k112, k114, k115, k116, \ | ||
| 26 | k200, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, k212, k213, k214, k215, k216, \ | ||
| 27 | k300, k302, k303, k304, k305, k306, k307, k308, k309, k310, k311, k312, k313, \ | ||
| 28 | k401, k402, k403, k404, k405, k406, k407, k408, k409, k410, k411, k413, k415, \ | ||
| 29 | k500, k501, k502, k503, k507, k510, k512, k513, k514, k515, k516 \ | ||
| 30 | ){ \ | ||
| 31 | { k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, k012, k013, k014, k015, k016 }, \ | ||
| 32 | { k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, k112, ____, k114, k115, k116 }, \ | ||
| 33 | { k200, ____, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, k212, k213, k214, k215, k216 }, \ | ||
| 34 | { k300, ____, k302, k303, k304, k305, k306, k307, k308, k309, k310, k311, k312, k313, ____, ____, ____ }, \ | ||
| 35 | { ____, k401, k402, k403, k404, k405, k406, k407, k408, k409, k410, k411, ____, k413, ____, k415, ____ }, \ | ||
| 36 | { k500, k501, k502, k503, ____, ____, ____, k507, ____, ____, k510, ____, k512, k513, k514, k515, k516 } \ | ||
| 37 | } | ||
diff --git a/keyboards/ryanbaekr/rb86/readme.md b/keyboards/ryanbaekr/rb86/readme.md new file mode 100644 index 000000000..36a8c6318 --- /dev/null +++ b/keyboards/ryanbaekr/rb86/readme.md | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | # rb86 | ||
| 2 | |||
| 3 | A diy sandwich compact TKL keyboard. | ||
| 4 | |||
| 5 | * Keyboard Maintainer: [ryanbaekr](https://github.com/ryanbaekr) | ||
| 6 | * Hardware Supported: rb86 with Elite-C | ||
| 7 | * Hardware Availability: 2021/05/15 | ||
| 8 | |||
| 9 | Make example for this keyboard (after setting up your build environment): | ||
| 10 | |||
| 11 | make ryanbaekr/rb86:default | ||
| 12 | |||
| 13 | To boot into the bootloader, hold the reset button on the Elite-C on plug in | ||
| 14 | |||
| 15 | 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/ryanbaekr/rb86/rules.mk b/keyboards/ryanbaekr/rb86/rules.mk new file mode 100644 index 000000000..22b811dcd --- /dev/null +++ b/keyboards/ryanbaekr/rb86/rules.mk | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | BOOTLOADER = caterina | ||
| 6 | |||
| 7 | # Build Options | ||
| 8 | # change yes to no to disable | ||
| 9 | # | ||
| 10 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | ||
| 11 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
| 12 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 13 | CONSOLE_ENABLE = yes # Console for debug | ||
| 14 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
| 15 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 16 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 17 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 18 | NKRO_ENABLE = no # USB Nkey Rollover | ||
| 19 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 20 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
| 21 | MIDI_ENABLE = no # MIDI support | ||
| 22 | BLUETOOTH_ENABLE = no # Enable Bluetooth support | ||
| 23 | AUDIO_ENABLE = no # Audio output | ||
