diff options
| author | Ramon Imbao <ramonimbao@gmail.com> | 2020-06-28 23:22:11 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-28 16:22:11 +0100 |
| commit | 32a47e7af4a2ce21260aadde5bf7ed8f78293ff9 (patch) | |
| tree | c7829647002b8f793edb6bf6bc32492f1e10b146 /keyboards/ramonimbao | |
| parent | b27c20d2041a3569f126e7901b9a926c0169fbc6 (diff) | |
| download | qmk_firmware-32a47e7af4a2ce21260aadde5bf7ed8f78293ff9.tar.gz qmk_firmware-32a47e7af4a2ce21260aadde5bf7ed8f78293ff9.zip | |
Add Herringbone keyboard (#9495)
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Erovia <Erovia@users.noreply.github.com>
Diffstat (limited to 'keyboards/ramonimbao')
| -rw-r--r-- | keyboards/ramonimbao/herringbone/config.h | 218 | ||||
| -rw-r--r-- | keyboards/ramonimbao/herringbone/herringbone.c | 17 | ||||
| -rw-r--r-- | keyboards/ramonimbao/herringbone/herringbone.h | 82 | ||||
| -rw-r--r-- | keyboards/ramonimbao/herringbone/info.json | 317 | ||||
| -rw-r--r-- | keyboards/ramonimbao/herringbone/keymaps/default/keymap.c | 27 | ||||
| -rw-r--r-- | keyboards/ramonimbao/herringbone/keymaps/iso/keymap.c | 27 | ||||
| -rw-r--r-- | keyboards/ramonimbao/herringbone/keymaps/via/keymap.c | 51 | ||||
| -rw-r--r-- | keyboards/ramonimbao/herringbone/keymaps/via/rules.mk | 3 | ||||
| -rw-r--r-- | keyboards/ramonimbao/herringbone/readme.md | 14 | ||||
| -rw-r--r-- | keyboards/ramonimbao/herringbone/rules.mk | 34 |
10 files changed, 790 insertions, 0 deletions
diff --git a/keyboards/ramonimbao/herringbone/config.h b/keyboards/ramonimbao/herringbone/config.h new file mode 100644 index 000000000..3dab5ddeb --- /dev/null +++ b/keyboards/ramonimbao/herringbone/config.h | |||
| @@ -0,0 +1,218 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 Ramon Imbao | ||
| 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 0xB16B | ||
| 24 | #define PRODUCT_ID 0x04E5 | ||
| 25 | #define DEVICE_VER 0x0012 | ||
| 26 | #define MANUFACTURER Ramon Imbao | ||
| 27 | #define PRODUCT Herringbone | ||
| 28 | #define DESCRIPTION A through hole 75% keyboard | ||
| 29 | |||
| 30 | /* key matrix size */ | ||
| 31 | #define MATRIX_ROWS 6 | ||
| 32 | #define MATRIX_COLS 15 | ||
| 33 | |||
| 34 | /* | ||
| 35 | * Keyboard Matrix Assignments | ||
| 36 | * | ||
| 37 | * Change this to how you wired your keyboard | ||
| 38 | * COLS: AVR pins used for columns, left to right | ||
| 39 | * ROWS: AVR pins used for rows, top to bottom | ||
| 40 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
| 41 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
| 42 | * | ||
| 43 | */ | ||
| 44 | #define MATRIX_ROW_PINS { C5, C6, C7, A7, A6, A5 } | ||
| 45 | #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, C4, D6, D5, D1, B0, B1, B3, B4, B7 } | ||
| 46 | #define UNUSED_PINS | ||
| 47 | |||
| 48 | /* COL2ROW, ROW2COL*/ | ||
| 49 | #define DIODE_DIRECTION COL2ROW | ||
| 50 | |||
| 51 | // #define BACKLIGHT_PIN B7 | ||
| 52 | // #define BACKLIGHT_BREATHING | ||
| 53 | // #define BACKLIGHT_LEVELS 3 | ||
| 54 | |||
| 55 | // #define RGB_DI_PIN E2 | ||
| 56 | // #ifdef RGB_DI_PIN | ||
| 57 | // #define RGBLED_NUM 16 | ||
| 58 | // #define RGBLIGHT_HUE_STEP 8 | ||
| 59 | // #define RGBLIGHT_SAT_STEP 8 | ||
| 60 | // #define RGBLIGHT_VAL_STEP 8 | ||
| 61 | // #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | ||
| 62 | // #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||
| 63 | // /*== all animations enable ==*/ | ||
| 64 | // #define RGBLIGHT_ANIMATIONS | ||
| 65 | // /*== or choose animations ==*/ | ||
| 66 | // #define RGBLIGHT_EFFECT_BREATHING | ||
| 67 | // #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 68 | // #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 69 | // #define RGBLIGHT_EFFECT_SNAKE | ||
| 70 | // #define RGBLIGHT_EFFECT_KNIGHT | ||
| 71 | // #define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 72 | // #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 73 | // #define RGBLIGHT_EFFECT_RGB_TEST | ||
| 74 | // #define RGBLIGHT_EFFECT_ALTERNATING | ||
| 75 | // /*== customize breathing effect ==*/ | ||
| 76 | // /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ | ||
| 77 | // #define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64 | ||
| 78 | // /*==== use exp() and sin() ====*/ | ||
| 79 | // #define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7 | ||
| 80 | // #define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 | ||
| 81 | // #endif | ||
| 82 | |||
| 83 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 84 | #define DEBOUNCE 5 | ||
| 85 | |||
| 86 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
| 87 | //#define MATRIX_HAS_GHOST | ||
| 88 | |||
| 89 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 90 | #define LOCKING_SUPPORT_ENABLE | ||
| 91 | /* Locking resynchronize hack */ | ||
| 92 | #define LOCKING_RESYNC_ENABLE | ||
| 93 | |||
| 94 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
| 95 | * This is userful for the Windows task manager shortcut (ctrl+shift+esc). | ||
| 96 | */ | ||
| 97 | // #define GRAVE_ESC_CTRL_OVERRIDE | ||
| 98 | |||
| 99 | /* | ||
| 100 | * Force NKRO | ||
| 101 | * | ||
| 102 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
| 103 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
| 104 | * makefile for this to work.) | ||
| 105 | * | ||
| 106 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
| 107 | * until the next keyboard reset. | ||
| 108 | * | ||
| 109 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
| 110 | * fully operational during normal computer usage. | ||
| 111 | * | ||
| 112 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
| 113 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
| 114 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
| 115 | * power-up. | ||
| 116 | * | ||
| 117 | */ | ||
| 118 | //#define FORCE_NKRO | ||
| 119 | |||
| 120 | /* | ||
| 121 | * Magic Key Options | ||
| 122 | * | ||
| 123 | * Magic keys are hotkey commands that allow control over firmware functions of | ||
| 124 | * the keyboard. They are best used in combination with the HID Listen program, | ||
| 125 | * found here: https://www.pjrc.com/teensy/hid_listen.html | ||
| 126 | * | ||
| 127 | * The options below allow the magic key functionality to be changed. This is | ||
| 128 | * useful if your keyboard/keypad is missing keys and you want magic key support. | ||
| 129 | * | ||
| 130 | */ | ||
| 131 | |||
| 132 | /* key combination for magic key command */ | ||
| 133 | /* defined by default; to change, uncomment and set to the combination you want */ | ||
| 134 | // #define IS_COMMAND() (get_mods() == MOD_MASK_SHIFT) | ||
| 135 | |||
| 136 | /* control how magic key switches layers */ | ||
| 137 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true | ||
| 138 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true | ||
| 139 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false | ||
| 140 | |||
| 141 | /* override magic key keymap */ | ||
| 142 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS | ||
| 143 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS | ||
| 144 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM | ||
| 145 | //#define MAGIC_KEY_HELP H | ||
| 146 | //#define MAGIC_KEY_HELP_ALT SLASH | ||
| 147 | //#define MAGIC_KEY_DEBUG D | ||
| 148 | //#define MAGIC_KEY_DEBUG_MATRIX X | ||
| 149 | //#define MAGIC_KEY_DEBUG_KBD K | ||
| 150 | //#define MAGIC_KEY_DEBUG_MOUSE M | ||
| 151 | //#define MAGIC_KEY_VERSION V | ||
| 152 | //#define MAGIC_KEY_STATUS S | ||
| 153 | //#define MAGIC_KEY_CONSOLE C | ||
| 154 | //#define MAGIC_KEY_LAYER0 0 | ||
| 155 | //#define MAGIC_KEY_LAYER0_ALT GRAVE | ||
| 156 | //#define MAGIC_KEY_LAYER1 1 | ||
| 157 | //#define MAGIC_KEY_LAYER2 2 | ||
| 158 | //#define MAGIC_KEY_LAYER3 3 | ||
| 159 | //#define MAGIC_KEY_LAYER4 4 | ||
| 160 | //#define MAGIC_KEY_LAYER5 5 | ||
| 161 | //#define MAGIC_KEY_LAYER6 6 | ||
| 162 | //#define MAGIC_KEY_LAYER7 7 | ||
| 163 | //#define MAGIC_KEY_LAYER8 8 | ||
| 164 | //#define MAGIC_KEY_LAYER9 9 | ||
| 165 | //#define MAGIC_KEY_BOOTLOADER B | ||
| 166 | //#define MAGIC_KEY_BOOTLOADER_ALT ESC | ||
| 167 | //#define MAGIC_KEY_LOCK CAPS | ||
| 168 | //#define MAGIC_KEY_EEPROM E | ||
| 169 | //#define MAGIC_KEY_EEPROM_CLEAR BSPACE | ||
| 170 | //#define MAGIC_KEY_NKRO N | ||
| 171 | //#define MAGIC_KEY_SLEEP_LED Z | ||
| 172 | |||
| 173 | /* | ||
| 174 | * Feature disable options | ||
| 175 | * These options are also useful to firmware size reduction. | ||
| 176 | */ | ||
| 177 | |||
| 178 | /* disable debug print */ | ||
| 179 | //#define NO_DEBUG | ||
| 180 | |||
| 181 | /* disable print */ | ||
| 182 | //#define NO_PRINT | ||
| 183 | |||
| 184 | /* disable action features */ | ||
| 185 | //#define NO_ACTION_LAYER | ||
| 186 | //#define NO_ACTION_TAPPING | ||
| 187 | //#define NO_ACTION_ONESHOT | ||
| 188 | |||
| 189 | /* disable these deprecated features by default */ | ||
| 190 | #define NO_ACTION_MACRO | ||
| 191 | #define NO_ACTION_FUNCTION | ||
| 192 | |||
| 193 | /* | ||
| 194 | * MIDI options | ||
| 195 | */ | ||
| 196 | |||
| 197 | /* Prevent use of disabled MIDI features in the keymap */ | ||
| 198 | //#define MIDI_ENABLE_STRICT 1 | ||
| 199 | |||
| 200 | /* enable basic MIDI features: | ||
| 201 | - MIDI notes can be sent when in Music mode is on | ||
| 202 | */ | ||
| 203 | //#define MIDI_BASIC | ||
| 204 | |||
| 205 | /* enable advanced MIDI features: | ||
| 206 | - MIDI notes can be added to the keymap | ||
| 207 | - Octave shift and transpose | ||
| 208 | - Virtual sustain, portamento, and modulation wheel | ||
| 209 | - etc. | ||
| 210 | */ | ||
| 211 | //#define MIDI_ADVANCED | ||
| 212 | |||
| 213 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | ||
| 214 | //#define MIDI_TONE_KEYCODE_OCTAVES 1 | ||
| 215 | |||
| 216 | /* Bootmagic Lite key configuration */ | ||
| 217 | // #define BOOTMAGIC_LITE_ROW 0 | ||
| 218 | // #define BOOTMAGIC_LITE_COLUMN 0 | ||
diff --git a/keyboards/ramonimbao/herringbone/herringbone.c b/keyboards/ramonimbao/herringbone/herringbone.c new file mode 100644 index 000000000..c7087ea0a --- /dev/null +++ b/keyboards/ramonimbao/herringbone/herringbone.c | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | /* Copyright 2020 Ramon Imbao | ||
| 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 "herringbone.h" | ||
diff --git a/keyboards/ramonimbao/herringbone/herringbone.h b/keyboards/ramonimbao/herringbone/herringbone.h new file mode 100644 index 000000000..80c411690 --- /dev/null +++ b/keyboards/ramonimbao/herringbone/herringbone.h | |||
| @@ -0,0 +1,82 @@ | |||
| 1 | /* Copyright 2020 Ramon Imbao | ||
| 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 | /* This is a shortcut to help you visually see your layout. | ||
| 22 | * | ||
| 23 | * The first section contains all of the arguments representing the physical | ||
| 24 | * layout of the board and position of the keys. | ||
| 25 | * | ||
| 26 | * The second converts the arguments into a two-dimensional array which | ||
| 27 | * represents the switch matrix. | ||
| 28 | */ | ||
| 29 | |||
| 30 | #define XXX KC_NO | ||
| 31 | |||
| 32 | #define LAYOUT_ansi( \ | ||
| 33 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, \ | ||
| 34 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, \ | ||
| 35 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, \ | ||
| 36 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3d, k3e, \ | ||
| 37 | k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, k4d, k4e, \ | ||
| 38 | k50, k52, k53, k55, k59, k5a, k5c, k5d, k5e \ | ||
| 39 | ) \ | ||
| 40 | { \ | ||
| 41 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e }, \ | ||
| 42 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e }, \ | ||
| 43 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e }, \ | ||
| 44 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, XXX, k3d, k3e }, \ | ||
| 45 | { k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, XXX, k4d, k4e }, \ | ||
| 46 | { k50, XXX, k52, k53, XXX, k55, XXX, XXX, XXX, k59, k5a, XXX, k5c, k5d, k5e } \ | ||
| 47 | } | ||
| 48 | |||
| 49 | #define LAYOUT_iso( \ | ||
| 50 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, \ | ||
| 51 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, \ | ||
| 52 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, \ | ||
| 53 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3d, k3e, \ | ||
| 54 | k40, k51, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, k4d, k4e, \ | ||
| 55 | k50, k52, k53, k55, k59, k5a, k5c, k5d, k5e \ | ||
| 56 | ) \ | ||
| 57 | { \ | ||
| 58 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e }, \ | ||
| 59 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e }, \ | ||
| 60 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e }, \ | ||
| 61 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, XXX, k3d, k3e }, \ | ||
| 62 | { k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, XXX, k4d, k4e }, \ | ||
| 63 | { k50, k51, k52, k53, XXX, k55, XXX, XXX, XXX, k59, k5a, XXX, k5c, k5d, k5e } \ | ||
| 64 | } | ||
| 65 | |||
| 66 | // Split backspace | ||
| 67 | #define LAYOUT_all( \ | ||
| 68 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, \ | ||
| 69 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k3c, k1e, \ | ||
| 70 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, \ | ||
| 71 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3d, k3e, \ | ||
| 72 | k40, k51, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, k4d, k4e, \ | ||
| 73 | k50, k52, k53, k55, k59, k5a, k5c, k5d, k5e \ | ||
| 74 | ) \ | ||
| 75 | { \ | ||
| 76 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e }, \ | ||
| 77 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e }, \ | ||
| 78 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e }, \ | ||
| 79 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e }, \ | ||
| 80 | { k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, XXX, k4d, k4e }, \ | ||
| 81 | { k50, k51, k52, k53, XXX, k55, XXX, XXX, XXX, k59, k5a, XXX, k5c, k5d, k5e } \ | ||
| 82 | } | ||
diff --git a/keyboards/ramonimbao/herringbone/info.json b/keyboards/ramonimbao/herringbone/info.json new file mode 100644 index 000000000..5a23ec0b1 --- /dev/null +++ b/keyboards/ramonimbao/herringbone/info.json | |||
| @@ -0,0 +1,317 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Herringbone", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "Ramon Imbao", | ||
| 5 | "width": 16.5, | ||
| 6 | "height": 6.5, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT_ansi": { | ||
| 9 | "layout": [ | ||
| 10 | {"x": 0, "y": 0}, | ||
| 11 | |||
| 12 | {"x": 1.5, "y": 0}, | ||
| 13 | {"x": 2.5, "y": 0}, | ||
| 14 | {"x": 3.5, "y": 0}, | ||
| 15 | {"x": 4.5, "y": 0}, | ||
| 16 | |||
| 17 | {"x": 5.75, "y": 0}, | ||
| 18 | {"x": 6.75, "y": 0}, | ||
| 19 | {"x": 7.75, "y": 0}, | ||
| 20 | {"x": 8.75, "y": 0}, | ||
| 21 | |||
| 22 | {"x": 10, "y": 0}, | ||
| 23 | {"x": 11, "y": 0}, | ||
| 24 | {"x": 12, "y": 0}, | ||
| 25 | {"x": 13, "y": 0}, | ||
| 26 | |||
| 27 | {"x": 14.25, "y": 0}, | ||
| 28 | |||
| 29 | {"x": 15.5, "y": 0}, | ||
| 30 | |||
| 31 | {"x": 0, "y": 1.25}, | ||
| 32 | {"x": 1, "y": 1.25}, | ||
| 33 | {"x": 2, "y": 1.25}, | ||
| 34 | {"x": 3, "y": 1.25}, | ||
| 35 | {"x": 4, "y": 1.25}, | ||
| 36 | {"x": 5, "y": 1.25}, | ||
| 37 | {"x": 6, "y": 1.25}, | ||
| 38 | {"x": 7, "y": 1.25}, | ||
| 39 | {"x": 8, "y": 1.25}, | ||
| 40 | {"x": 9, "y": 1.25}, | ||
| 41 | {"x": 10, "y": 1.25}, | ||
| 42 | {"x": 11, "y": 1.25}, | ||
| 43 | {"x": 12, "y": 1.25}, | ||
| 44 | {"x": 13, "y": 1.25, "w": 2}, | ||
| 45 | |||
| 46 | {"x": 15.5, "y": 1.25}, | ||
| 47 | |||
| 48 | {"x": 0, "y": 2.25, "w": 1.5}, | ||
| 49 | {"x": 1.5, "y": 2.25}, | ||
| 50 | {"x": 2.5, "y": 2.25}, | ||
| 51 | {"x": 3.5, "y": 2.25}, | ||
| 52 | {"x": 4.5, "y": 2.25}, | ||
| 53 | {"x": 5.5, "y": 2.25}, | ||
| 54 | {"x": 6.5, "y": 2.25}, | ||
| 55 | {"x": 7.5, "y": 2.25}, | ||
| 56 | {"x": 8.5, "y": 2.25}, | ||
| 57 | {"x": 9.5, "y": 2.25}, | ||
| 58 | {"x": 10.5, "y": 2.25}, | ||
| 59 | {"x": 11.5, "y": 2.25}, | ||
| 60 | {"x": 12.5, "y": 2.25}, | ||
| 61 | {"x": 13.5, "y": 2.25, "w": 1.5}, | ||
| 62 | |||
| 63 | {"x": 15.5, "y": 2.25}, | ||
| 64 | |||
| 65 | {"x": 0, "y": 3.25, "w": 1.75}, | ||
| 66 | {"x": 1.75, "y": 3.25}, | ||
| 67 | {"x": 2.75, "y": 3.25}, | ||
| 68 | {"x": 3.75, "y": 3.25}, | ||
| 69 | {"x": 4.75, "y": 3.25}, | ||
| 70 | {"x": 5.75, "y": 3.25}, | ||
| 71 | {"x": 6.75, "y": 3.25}, | ||
| 72 | {"x": 7.75, "y": 3.25}, | ||
| 73 | {"x": 8.75, "y": 3.25}, | ||
| 74 | {"x": 9.75, "y": 3.25}, | ||
| 75 | {"x": 10.75, "y": 3.25}, | ||
| 76 | {"x": 11.75, "y": 3.25}, | ||
| 77 | {"x": 12.75, "y": 3.25, "w": 2.25}, | ||
| 78 | |||
| 79 | {"x": 15.5, "y": 3.25}, | ||
| 80 | |||
| 81 | {"x": 0, "y": 4.25, "w": 2.25}, | ||
| 82 | {"x": 2.25, "y": 4.25}, | ||
| 83 | {"x": 3.25, "y": 4.25}, | ||
| 84 | {"x": 4.25, "y": 4.25}, | ||
| 85 | {"x": 5.25, "y": 4.25}, | ||
| 86 | {"x": 6.25, "y": 4.25}, | ||
| 87 | {"x": 7.25, "y": 4.25}, | ||
| 88 | {"x": 8.25, "y": 4.25}, | ||
| 89 | {"x": 9.25, "y": 4.25}, | ||
| 90 | {"x": 10.25, "y": 4.25}, | ||
| 91 | {"x": 11.25, "y": 4.25}, | ||
| 92 | {"x": 12.25, "y": 4.25, "w": 1.75}, | ||
| 93 | |||
| 94 | {"x": 14.25, "y": 4.5}, | ||
| 95 | |||
| 96 | {"x": 15.5, "y": 4.25}, | ||
| 97 | |||
| 98 | {"x": 0, "y": 5.25, "w": 1.25}, | ||
| 99 | {"x": 1.25, "y": 5.25, "w": 1.25}, | ||
| 100 | {"x": 2.5, "y": 5.25, "w": 1.25}, | ||
| 101 | {"x": 3.75, "y": 5.25, "w": 6.25}, | ||
| 102 | {"x": 10, "y": 5.25, "w": 1.5}, | ||
| 103 | {"x": 11.5, "y": 5.25, "w": 1.5}, | ||
| 104 | |||
| 105 | {"x": 13.25, "y": 5.5}, | ||
| 106 | {"x": 14.25, "y": 5.5}, | ||
| 107 | {"x": 15.25, "y": 5.5} | ||
| 108 | ] | ||
| 109 | }, | ||
| 110 | "LAYOUT_iso": { | ||
| 111 | "layout": [ | ||
| 112 | {"x": 0, "y": 0}, | ||
| 113 | |||
| 114 | {"x": 1.5, "y": 0}, | ||
| 115 | {"x": 2.5, "y": 0}, | ||
| 116 | {"x": 3.5, "y": 0}, | ||
| 117 | {"x": 4.5, "y": 0}, | ||
| 118 | |||
| 119 | {"x": 5.75, "y": 0}, | ||
| 120 | {"x": 6.75, "y": 0}, | ||
| 121 | {"x": 7.75, "y": 0}, | ||
| 122 | {"x": 8.75, "y": 0}, | ||
| 123 | |||
| 124 | {"x": 10, "y": 0}, | ||
| 125 | {"x": 11, "y": 0}, | ||
| 126 | {"x": 12, "y": 0}, | ||
| 127 | {"x": 13, "y": 0}, | ||
| 128 | |||
| 129 | {"x": 14.25, "y": 0}, | ||
| 130 | |||
| 131 | {"x": 15.5, "y": 0}, | ||
| 132 | |||
| 133 | {"x": 0, "y": 1.25}, | ||
| 134 | {"x": 1, "y": 1.25}, | ||
| 135 | {"x": 2, "y": 1.25}, | ||
| 136 | {"x": 3, "y": 1.25}, | ||
| 137 | {"x": 4, "y": 1.25}, | ||
| 138 | {"x": 5, "y": 1.25}, | ||
| 139 | {"x": 6, "y": 1.25}, | ||
| 140 | {"x": 7, "y": 1.25}, | ||
| 141 | {"x": 8, "y": 1.25}, | ||
| 142 | {"x": 9, "y": 1.25}, | ||
| 143 | {"x": 10, "y": 1.25}, | ||
| 144 | {"x": 11, "y": 1.25}, | ||
| 145 | {"x": 12, "y": 1.25}, | ||
| 146 | {"x": 13, "y": 1.25, "w": 2}, | ||
| 147 | |||
| 148 | {"x": 15.5, "y": 1.25}, | ||
| 149 | |||
| 150 | {"x": 0, "y": 2.25, "w": 1.5}, | ||
| 151 | {"x": 1.5, "y": 2.25}, | ||
| 152 | {"x": 2.5, "y": 2.25}, | ||
| 153 | {"x": 3.5, "y": 2.25}, | ||
| 154 | {"x": 4.5, "y": 2.25}, | ||
| 155 | {"x": 5.5, "y": 2.25}, | ||
| 156 | {"x": 6.5, "y": 2.25}, | ||
| 157 | {"x": 7.5, "y": 2.25}, | ||
| 158 | {"x": 8.5, "y": 2.25}, | ||
| 159 | {"x": 9.5, "y": 2.25}, | ||
| 160 | {"x": 10.5, "y": 2.25}, | ||
| 161 | {"x": 11.5, "y": 2.25}, | ||
| 162 | {"x": 12.5, "y": 2.25}, | ||
| 163 | {"x": 13.75, "y": 2.25, "w": 1.25, "h": 2}, | ||
| 164 | |||
| 165 | {"x": 15.5, "y": 2.25}, | ||
| 166 | |||
| 167 | {"x": 0, "y": 3.25, "w": 1.75}, | ||
| 168 | {"x": 1.75, "y": 3.25}, | ||
| 169 | {"x": 2.75, "y": 3.25}, | ||
| 170 | {"x": 3.75, "y": 3.25}, | ||
| 171 | {"x": 4.75, "y": 3.25}, | ||
| 172 | {"x": 5.75, "y": 3.25}, | ||
| 173 | {"x": 6.75, "y": 3.25}, | ||
| 174 | {"x": 7.75, "y": 3.25}, | ||
| 175 | {"x": 8.75, "y": 3.25}, | ||
| 176 | {"x": 9.75, "y": 3.25}, | ||
| 177 | {"x": 10.75, "y": 3.25}, | ||
| 178 | {"x": 11.75, "y": 3.25}, | ||
| 179 | {"x": 12.75, "y": 3.25}, | ||
| 180 | {"x": 15.5, "y": 3.25}, | ||
| 181 | |||
| 182 | {"x": 0, "y": 4.25, "w": 1.25}, | ||
| 183 | {"x": 1.25, "y": 4.25}, | ||
| 184 | {"x": 2.25, "y": 4.25}, | ||
| 185 | {"x": 3.25, "y": 4.25}, | ||
| 186 | {"x": 4.25, "y": 4.25}, | ||
| 187 | {"x": 5.25, "y": 4.25}, | ||
| 188 | {"x": 6.25, "y": 4.25}, | ||
| 189 | {"x": 7.25, "y": 4.25}, | ||
| 190 | {"x": 8.25, "y": 4.25}, | ||
| 191 | {"x": 9.25, "y": 4.25}, | ||
| 192 | {"x": 10.25, "y": 4.25}, | ||
| 193 | {"x": 11.25, "y": 4.25}, | ||
| 194 | {"x": 12.25, "y": 4.25, "w": 1.75}, | ||
| 195 | |||
| 196 | {"x": 14.25, "y": 4.5}, | ||
| 197 | |||
| 198 | {"x": 15.5, "y": 4.25}, | ||
| 199 | |||
| 200 | {"x": 0, "y": 5.25, "w": 1.25}, | ||
| 201 | {"x": 1.25, "y": 5.25, "w": 1.25}, | ||
| 202 | {"x": 2.5, "y": 5.25, "w": 1.25}, | ||
| 203 | {"x": 3.75, "y": 5.25, "w": 6.25}, | ||
| 204 | {"x": 10, "y": 5.25, "w": 1.5}, | ||
| 205 | {"x": 11.5, "y": 5.25, "w": 1.5}, | ||
| 206 | |||
| 207 | {"x": 13.25, "y": 5.5}, | ||
| 208 | {"x": 14.25, "y": 5.5}, | ||
| 209 | {"x": 15.25, "y": 5.5} | ||
| 210 | ] | ||
| 211 | }, | ||
| 212 | "LAYOUT_all": { | ||
| 213 | "layout": [ | ||
| 214 | {"x": 0, "y": 0}, | ||
| 215 | |||
| 216 | {"x": 1.5, "y": 0}, | ||
| 217 | {"x": 2.5, "y": 0}, | ||
| 218 | {"x": 3.5, "y": 0}, | ||
| 219 | {"x": 4.5, "y": 0}, | ||
| 220 | |||
| 221 | {"x": 5.75, "y": 0}, | ||
| 222 | {"x": 6.75, "y": 0}, | ||
| 223 | {"x": 7.75, "y": 0}, | ||
| 224 | {"x": 8.75, "y": 0}, | ||
| 225 | |||
| 226 | {"x": 10, "y": 0}, | ||
| 227 | {"x": 11, "y": 0}, | ||
| 228 | {"x": 12, "y": 0}, | ||
| 229 | {"x": 13, "y": 0}, | ||
| 230 | |||
| 231 | {"x": 14.25, "y": 0}, | ||
| 232 | |||
| 233 | {"x": 15.5, "y": 0}, | ||
| 234 | |||
| 235 | {"x": 0, "y": 1.25}, | ||
| 236 | {"x": 1, "y": 1.25}, | ||
| 237 | {"x": 2, "y": 1.25}, | ||
| 238 | {"x": 3, "y": 1.25}, | ||
| 239 | {"x": 4, "y": 1.25}, | ||
| 240 | {"x": 5, "y": 1.25}, | ||
| 241 | {"x": 6, "y": 1.25}, | ||
| 242 | {"x": 7, "y": 1.25}, | ||
| 243 | {"x": 8, "y": 1.25}, | ||
| 244 | {"x": 9, "y": 1.25}, | ||
| 245 | {"x": 10, "y": 1.25}, | ||
| 246 | {"x": 11, "y": 1.25}, | ||
| 247 | {"x": 12, "y": 1.25}, | ||
| 248 | {"x": 13, "y": 1.25}, | ||
| 249 | {"x": 14, "y": 1.25}, | ||
| 250 | |||
| 251 | {"x": 15.5, "y": 1.25}, | ||
| 252 | |||
| 253 | {"x": 0, "y": 2.25, "w": 1.5}, | ||
| 254 | {"x": 1.5, "y": 2.25}, | ||
| 255 | {"x": 2.5, "y": 2.25}, | ||
| 256 | {"x": 3.5, "y": 2.25}, | ||
| 257 | {"x": 4.5, "y": 2.25}, | ||
| 258 | {"x": 5.5, "y": 2.25}, | ||
| 259 | {"x": 6.5, "y": 2.25}, | ||
| 260 | {"x": 7.5, "y": 2.25}, | ||
| 261 | {"x": 8.5, "y": 2.25}, | ||
| 262 | {"x": 9.5, "y": 2.25}, | ||
| 263 | {"x": 10.5, "y": 2.25}, | ||
| 264 | {"x": 11.5, "y": 2.25}, | ||
| 265 | {"x": 12.5, "y": 2.25}, | ||
| 266 | {"x": 13.5, "y": 2.25, "w": 1.5}, | ||
| 267 | |||
| 268 | {"x": 15.5, "y": 2.25}, | ||
| 269 | |||
| 270 | {"x": 0, "y": 3.25, "w": 1.75}, | ||
| 271 | {"x": 1.75, "y": 3.25}, | ||
| 272 | {"x": 2.75, "y": 3.25}, | ||
| 273 | {"x": 3.75, "y": 3.25}, | ||
| 274 | {"x": 4.75, "y": 3.25}, | ||
| 275 | {"x": 5.75, "y": 3.25}, | ||
| 276 | {"x": 6.75, "y": 3.25}, | ||
| 277 | {"x": 7.75, "y": 3.25}, | ||
| 278 | {"x": 8.75, "y": 3.25}, | ||
| 279 | {"x": 9.75, "y": 3.25}, | ||
| 280 | {"x": 10.75, "y": 3.25}, | ||
| 281 | {"x": 11.75, "y": 3.25}, | ||
| 282 | {"x": 12.75, "y": 3.25, "w": 2.25}, | ||
| 283 | |||
| 284 | {"x": 15.5, "y": 3.25}, | ||
| 285 | |||
| 286 | {"x": 0, "y": 4.25, "w": 1.25}, | ||
| 287 | {"x": 1.25, "y": 4.25}, | ||
| 288 | {"x": 2.25, "y": 4.25}, | ||
| 289 | {"x": 3.25, "y": 4.25}, | ||
| 290 | {"x": 4.25, "y": 4.25}, | ||
| 291 | {"x": 5.25, "y": 4.25}, | ||
| 292 | {"x": 6.25, "y": 4.25}, | ||
| 293 | {"x": 7.25, "y": 4.25}, | ||
| 294 | {"x": 8.25, "y": 4.25}, | ||
| 295 | {"x": 9.25, "y": 4.25}, | ||
| 296 | {"x": 10.25, "y": 4.25}, | ||
| 297 | {"x": 11.25, "y": 4.25}, | ||
| 298 | {"x": 12.25, "y": 4.25, "w": 1.75}, | ||
| 299 | |||
| 300 | {"x": 14.25, "y": 4.5}, | ||
| 301 | |||
| 302 | {"x": 15.5, "y": 4.25}, | ||
| 303 | |||
| 304 | {"x": 0, "y": 5.25, "w": 1.25}, | ||
| 305 | {"x": 1.25, "y": 5.25, "w": 1.25}, | ||
| 306 | {"x": 2.5, "y": 5.25, "w": 1.25}, | ||
| 307 | {"x": 3.75, "y": 5.25, "w": 6.25}, | ||
| 308 | {"x": 10, "y": 5.25, "w": 1.5}, | ||
| 309 | {"x": 11.5, "y": 5.25, "w": 1.5}, | ||
| 310 | |||
| 311 | {"x": 13.25, "y": 5.5}, | ||
| 312 | {"x": 14.25, "y": 5.5}, | ||
| 313 | {"x": 15.25, "y": 5.5} | ||
| 314 | ] | ||
| 315 | } | ||
| 316 | } | ||
| 317 | } | ||
diff --git a/keyboards/ramonimbao/herringbone/keymaps/default/keymap.c b/keyboards/ramonimbao/herringbone/keymaps/default/keymap.c new file mode 100644 index 000000000..18047fbea --- /dev/null +++ b/keyboards/ramonimbao/herringbone/keymaps/default/keymap.c | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | /* Copyright 2020 Ramon Imbao | ||
| 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_ansi( | ||
| 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_PSCR, KC_DEL, | ||
| 21 | KC_TILD, 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_HOME, | ||
| 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_PGUP, | ||
| 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, KC_PGDN, | ||
| 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, KC_END, | ||
| 25 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 26 | ), | ||
| 27 | }; | ||
diff --git a/keyboards/ramonimbao/herringbone/keymaps/iso/keymap.c b/keyboards/ramonimbao/herringbone/keymaps/iso/keymap.c new file mode 100644 index 000000000..43255343e --- /dev/null +++ b/keyboards/ramonimbao/herringbone/keymaps/iso/keymap.c | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | /* Copyright 2020 Ramon Imbao | ||
| 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_iso( | ||
| 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_PSCR, KC_DEL, | ||
| 21 | KC_TILD, 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_HOME, | ||
| 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_ENT, KC_PGUP, | ||
| 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_NUHS, KC_PGDN, | ||
| 24 | KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END, | ||
| 25 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT | ||
| 26 | ), | ||
| 27 | }; | ||
diff --git a/keyboards/ramonimbao/herringbone/keymaps/via/keymap.c b/keyboards/ramonimbao/herringbone/keymaps/via/keymap.c new file mode 100644 index 000000000..d39f7c9ab --- /dev/null +++ b/keyboards/ramonimbao/herringbone/keymaps/via/keymap.c | |||
| @@ -0,0 +1,51 @@ | |||
| 1 | /* Copyright 2020 Ramon Imbao | ||
| 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_all( | ||
| 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_PSCR, KC_DEL, | ||
| 21 | KC_TILD, 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_NO, KC_HOME, | ||
| 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_PGUP, | ||
| 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, KC_PGDN, | ||
| 24 | KC_LSFT, KC_NO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END, | ||
| 25 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT | ||
| 26 | ), | ||
| 27 | [1] = LAYOUT_all( | ||
| 28 | RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 29 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 30 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 31 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 32 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 33 | _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 34 | ), | ||
| 35 | [2] = LAYOUT_all( | ||
| 36 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 37 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 38 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 39 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 40 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 41 | _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 42 | ), | ||
| 43 | [3] = LAYOUT_all( | ||
| 44 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 45 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 46 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 47 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 48 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 49 | _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 50 | ), | ||
| 51 | }; | ||
diff --git a/keyboards/ramonimbao/herringbone/keymaps/via/rules.mk b/keyboards/ramonimbao/herringbone/keymaps/via/rules.mk new file mode 100644 index 000000000..930e3552a --- /dev/null +++ b/keyboards/ramonimbao/herringbone/keymaps/via/rules.mk | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | VIA_ENABLE = yes | ||
| 2 | MOUSEKEY_ENABLE = no | ||
| 3 | EXTRAKEY_ENABLE = no | ||
diff --git a/keyboards/ramonimbao/herringbone/readme.md b/keyboards/ramonimbao/herringbone/readme.md new file mode 100644 index 000000000..019b7da4a --- /dev/null +++ b/keyboards/ramonimbao/herringbone/readme.md | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | # Herringbone | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | A through-hole 75% keyboard. | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [Ramon Imbao](https://github.com/ramonimbao) | ||
| 8 | * Hardware Supported: ATmega32A | ||
| 9 | |||
| 10 | Make example for this keyboard (after setting up your build environment): | ||
| 11 | |||
| 12 | make herringbone:default | ||
| 13 | |||
| 14 | 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/ramonimbao/herringbone/rules.mk b/keyboards/ramonimbao/herringbone/rules.mk new file mode 100644 index 000000000..9fde8b14e --- /dev/null +++ b/keyboards/ramonimbao/herringbone/rules.mk | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32a | ||
| 3 | |||
| 4 | # Processor frequency | ||
| 5 | F_CPU = 16000000 | ||
| 6 | |||
| 7 | # Bootloader selection | ||
| 8 | # Teensy halfkay | ||
| 9 | # Pro Micro caterina | ||
| 10 | # Atmel DFU atmel-dfu | ||
| 11 | # LUFA DFU lufa-dfu | ||
| 12 | # QMK DFU qmk-dfu | ||
| 13 | # ATmega32A bootloadHID | ||
| 14 | # ATmega328P USBasp | ||
| 15 | BOOTLOADER = USBasp | ||
| 16 | |||
| 17 | # Build Options | ||
| 18 | # change yes to no to disable | ||
| 19 | # | ||
| 20 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | ||
| 21 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
| 22 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 23 | CONSOLE_ENABLE = no # Console for debug | ||
| 24 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 25 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 26 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 27 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 28 | NKRO_ENABLE = no # USB Nkey Rollover | ||
| 29 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 30 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
| 31 | MIDI_ENABLE = no # MIDI support | ||
| 32 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 33 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 34 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | ||
