diff options
| author | kakunpc <15257475+kakunpc@users.noreply.github.com> | 2020-08-23 08:18:53 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-22 16:18:53 -0700 |
| commit | a7cb1ceade0908122862a119e1f50d56a67cb2b8 (patch) | |
| tree | 3e0e76d2dbf9ccf7a272eecf8b16f093481a5a4a | |
| parent | 42eeb315a5424fc576239b7e57061affc2ffa8ab (diff) | |
| download | qmk_firmware-a7cb1ceade0908122862a119e1f50d56a67cb2b8.tar.gz qmk_firmware-a7cb1ceade0908122862a119e1f50d56a67cb2b8.zip | |
[Keyboard] Add "rabbit capture plan" keyboard (#9895)
* add rabbit_capture_plan
* update keymap.c
* Update keyboards/rabbit_capture_plan/paw3204.c
Co-authored-by: Drashna Jaelre <drashna@live.com>
* move bto_to keymap
* remove paw3204
Co-authored-by: Drashna Jaelre <drashna@live.com>
| -rw-r--r-- | keyboards/rabbit_capture_plan/config.h | 148 | ||||
| -rw-r--r-- | keyboards/rabbit_capture_plan/info.json | 310 | ||||
| -rw-r--r-- | keyboards/rabbit_capture_plan/keymaps/default/keymap.c | 39 | ||||
| -rw-r--r-- | keyboards/rabbit_capture_plan/keymaps/default/readme.md | 1 | ||||
| -rw-r--r-- | keyboards/rabbit_capture_plan/keymaps/via/keymap.c | 48 | ||||
| -rw-r--r-- | keyboards/rabbit_capture_plan/keymaps/via/readme.md | 1 | ||||
| -rw-r--r-- | keyboards/rabbit_capture_plan/keymaps/via/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/rabbit_capture_plan/rabbit_capture_plan.c | 17 | ||||
| -rw-r--r-- | keyboards/rabbit_capture_plan/rabbit_capture_plan.h | 47 | ||||
| -rw-r--r-- | keyboards/rabbit_capture_plan/readme.md | 19 | ||||
| -rw-r--r-- | keyboards/rabbit_capture_plan/rules.mk | 24 |
11 files changed, 655 insertions, 0 deletions
diff --git a/keyboards/rabbit_capture_plan/config.h b/keyboards/rabbit_capture_plan/config.h new file mode 100644 index 000000000..b622d33c1 --- /dev/null +++ b/keyboards/rabbit_capture_plan/config.h | |||
| @@ -0,0 +1,148 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 kakunpc | ||
| 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 | VID & PID are lisenced from microchip sublisence program, Don't use other project! */ | ||
| 24 | #define VENDOR_ID 0x04D8 | ||
| 25 | #define PRODUCT_ID 0xEB59 | ||
| 26 | #define DEVICE_VER 0x0001 | ||
| 27 | #define MANUFACTURER kakunpc | ||
| 28 | #define PRODUCT rabbit_capture_plan | ||
| 29 | |||
| 30 | /* key matrix size */ | ||
| 31 | #define MATRIX_ROWS 10 | ||
| 32 | #define MATRIX_COLS 8 | ||
| 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 { D4, C6, D7, E6, B4 } | ||
| 45 | #define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, B6 } | ||
| 46 | #define UNUSED_PINS | ||
| 47 | |||
| 48 | /* COL2ROW, ROW2COL */ | ||
| 49 | #define DIODE_DIRECTION COL2ROW | ||
| 50 | |||
| 51 | /* | ||
| 52 | * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN. | ||
| 53 | */ | ||
| 54 | #define SOFT_SERIAL_PIN D2 // or D1, D2, D3, E6 | ||
| 55 | |||
| 56 | //#define BACKLIGHT_PIN B7 | ||
| 57 | //#define BACKLIGHT_LEVELS 3 | ||
| 58 | //#define BACKLIGHT_BREATHING | ||
| 59 | |||
| 60 | #define RGB_DI_PIN D3 | ||
| 61 | #ifdef RGB_DI_PIN | ||
| 62 | #define RGBLED_SPLIT {32, 37} | ||
| 63 | # define RGBLED_NUM 69 | ||
| 64 | # define RGBLIGHT_HUE_STEP 8 | ||
| 65 | # define RGBLIGHT_SAT_STEP 8 | ||
| 66 | # define RGBLIGHT_VAL_STEP 8 | ||
| 67 | # define RGBLIGHT_LIMIT_VAL 200 /* The maximum brightness level */ | ||
| 68 | # define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||
| 69 | /*== all animations enable ==*/ | ||
| 70 | # define RGBLIGHT_ANIMATIONS | ||
| 71 | /*== or choose animations ==*/ | ||
| 72 | //# define RGBLIGHT_EFFECT_BREATHING | ||
| 73 | //# define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 74 | //# define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 75 | //# define RGBLIGHT_EFFECT_SNAKE | ||
| 76 | //# define RGBLIGHT_EFFECT_KNIGHT | ||
| 77 | //# define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 78 | //# define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 79 | //# define RGBLIGHT_EFFECT_RGB_TEST | ||
| 80 | //# define RGBLIGHT_EFFECT_ALTERNATING | ||
| 81 | /*== customize breathing effect ==*/ | ||
| 82 | /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ | ||
| 83 | //# define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64 | ||
| 84 | /*==== use exp() and sin() ====*/ | ||
| 85 | //# define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7 | ||
| 86 | //# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 | ||
| 87 | #endif | ||
| 88 | |||
| 89 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 90 | #define DEBOUNCE 5 | ||
| 91 | |||
| 92 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
| 93 | //#define MATRIX_HAS_GHOST | ||
| 94 | |||
| 95 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 96 | #define LOCKING_SUPPORT_ENABLE | ||
| 97 | /* Locking resynchronize hack */ | ||
| 98 | #define LOCKING_RESYNC_ENABLE | ||
| 99 | |||
| 100 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
| 101 | * This is useful for the Windows task manager shortcut (ctrl+shift+esc). | ||
| 102 | */ | ||
| 103 | //#define GRAVE_ESC_CTRL_OVERRIDE | ||
| 104 | |||
| 105 | /* | ||
| 106 | * Force NKRO | ||
| 107 | * | ||
| 108 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
| 109 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
| 110 | * makefile for this to work.) | ||
| 111 | * | ||
| 112 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
| 113 | * until the next keyboard reset. | ||
| 114 | * | ||
| 115 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
| 116 | * fully operational during normal computer usage. | ||
| 117 | * | ||
| 118 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
| 119 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
| 120 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
| 121 | * power-up. | ||
| 122 | * | ||
| 123 | */ | ||
| 124 | //#define FORCE_NKRO | ||
| 125 | |||
| 126 | /* | ||
| 127 | * Feature disable options | ||
| 128 | * These options are also useful to firmware size reduction. | ||
| 129 | */ | ||
| 130 | |||
| 131 | /* disable debug print */ | ||
| 132 | //#define NO_DEBUG | ||
| 133 | |||
| 134 | /* disable print */ | ||
| 135 | //#define NO_PRINT | ||
| 136 | |||
| 137 | /* disable action features */ | ||
| 138 | //#define NO_ACTION_LAYER | ||
| 139 | //#define NO_ACTION_TAPPING | ||
| 140 | //#define NO_ACTION_ONESHOT | ||
| 141 | |||
| 142 | /* disable these deprecated features by default */ | ||
| 143 | #define NO_ACTION_MACRO | ||
| 144 | #define NO_ACTION_FUNCTION | ||
| 145 | |||
| 146 | /* Bootmagic Lite key configuration */ | ||
| 147 | //#define BOOTMAGIC_LITE_ROW 0 | ||
| 148 | //#define BOOTMAGIC_LITE_COLUMN 0 | ||
diff --git a/keyboards/rabbit_capture_plan/info.json b/keyboards/rabbit_capture_plan/info.json new file mode 100644 index 000000000..271a87ffe --- /dev/null +++ b/keyboards/rabbit_capture_plan/info.json | |||
| @@ -0,0 +1,310 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "rabbit_capture_plan", | ||
| 3 | "url": "https://kakunpc.booth.pm/", | ||
| 4 | "maintainer": "kakunpc", | ||
| 5 | "width": 20.25, | ||
| 6 | "height": 5.25, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT": { | ||
| 9 | "layout": [ | ||
| 10 | { | ||
| 11 | "x": 0.66, | ||
| 12 | "y": 0 | ||
| 13 | }, | ||
| 14 | { | ||
| 15 | "x": 1.6600000000000001, | ||
| 16 | "y": 0 | ||
| 17 | }, | ||
| 18 | { | ||
| 19 | "x": 2.97, | ||
| 20 | "y": 0 | ||
| 21 | }, | ||
| 22 | { | ||
| 23 | "x": 3.97, | ||
| 24 | "y": 0 | ||
| 25 | }, | ||
| 26 | { | ||
| 27 | "x": 4.97, | ||
| 28 | "y": 0 | ||
| 29 | }, | ||
| 30 | { | ||
| 31 | "x": 5.97, | ||
| 32 | "y": 0 | ||
| 33 | }, | ||
| 34 | { | ||
| 35 | "x": 6.97, | ||
| 36 | "y": 0 | ||
| 37 | }, | ||
| 38 | { | ||
| 39 | "x": 9.87, | ||
| 40 | "y": 0 | ||
| 41 | }, | ||
| 42 | { | ||
| 43 | "x": 10.87, | ||
| 44 | "y": 0 | ||
| 45 | }, | ||
| 46 | { | ||
| 47 | "x": 11.87, | ||
| 48 | "y": 0 | ||
| 49 | }, | ||
| 50 | { | ||
| 51 | "x": 12.87, | ||
| 52 | "y": 0 | ||
| 53 | }, | ||
| 54 | { | ||
| 55 | "x": 14.32, | ||
| 56 | "y": 0 | ||
| 57 | }, | ||
| 58 | { | ||
| 59 | "x": 15.32, | ||
| 60 | "y": 0 | ||
| 61 | }, | ||
| 62 | { | ||
| 63 | "x": 16.32, | ||
| 64 | "y": 0 | ||
| 65 | }, | ||
| 66 | { | ||
| 67 | "x": 17.32, | ||
| 68 | "y": 0 | ||
| 69 | }, | ||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | { | ||
| 74 | "x": 0.53, | ||
| 75 | "y": 1, | ||
| 76 | "w": 1.5 | ||
| 77 | }, | ||
| 78 | { | ||
| 79 | "x": 2.03, | ||
| 80 | "y": 1 | ||
| 81 | }, | ||
| 82 | { | ||
| 83 | "x": 3.47, | ||
| 84 | "y": 1 | ||
| 85 | }, | ||
| 86 | { | ||
| 87 | "x": 4.47, | ||
| 88 | "y": 1 | ||
| 89 | }, | ||
| 90 | { | ||
| 91 | "x": 5.47, | ||
| 92 | "y": 1 | ||
| 93 | }, | ||
| 94 | { | ||
| 95 | "x": 6.47, | ||
| 96 | "y": 1 | ||
| 97 | }, | ||
| 98 | { | ||
| 99 | "x": 7.47, | ||
| 100 | "y": 1 | ||
| 101 | }, | ||
| 102 | { | ||
| 103 | "x": 9.37, | ||
| 104 | "y": 1 | ||
| 105 | }, | ||
| 106 | { | ||
| 107 | "x": 10.37, | ||
| 108 | "y": 1 | ||
| 109 | }, | ||
| 110 | { | ||
| 111 | "x": 11.37, | ||
| 112 | "y": 1 | ||
| 113 | }, | ||
| 114 | { | ||
| 115 | "x": 12.37, | ||
| 116 | "y": 1 | ||
| 117 | }, | ||
| 118 | { | ||
| 119 | "x": 13.97, | ||
| 120 | "y": 1 | ||
| 121 | }, | ||
| 122 | { | ||
| 123 | "x": 14.97, | ||
| 124 | "y": 1 | ||
| 125 | }, | ||
| 126 | { | ||
| 127 | "x": 15.97, | ||
| 128 | "y": 1 | ||
| 129 | }, | ||
| 130 | { | ||
| 131 | "x": 16.97, | ||
| 132 | "y": 1, | ||
| 133 | "w": 1.5 | ||
| 134 | }, | ||
| 135 | |||
| 136 | |||
| 137 | |||
| 138 | { | ||
| 139 | "x": 0.39, | ||
| 140 | "y": 2, | ||
| 141 | "w": 1.75 | ||
| 142 | }, | ||
| 143 | { | ||
| 144 | "x": 2.14, | ||
| 145 | "y": 2 | ||
| 146 | }, | ||
| 147 | { | ||
| 148 | "x": 3.72, | ||
| 149 | "y": 2 | ||
| 150 | }, | ||
| 151 | { | ||
| 152 | "x": 4.72, | ||
| 153 | "y": 2 | ||
| 154 | }, | ||
| 155 | { | ||
| 156 | "x": 5.72, | ||
| 157 | "y": 2 | ||
| 158 | }, | ||
| 159 | { | ||
| 160 | "x": 6.72, | ||
| 161 | "y": 2 | ||
| 162 | }, | ||
| 163 | { | ||
| 164 | "x": 7.72, | ||
| 165 | "y": 2 | ||
| 166 | }, | ||
| 167 | { | ||
| 168 | "x": 9.62, | ||
| 169 | "y": 2 | ||
| 170 | }, | ||
| 171 | { | ||
| 172 | "x": 10.62, | ||
| 173 | "y": 2 | ||
| 174 | }, | ||
| 175 | { | ||
| 176 | "x": 11.62, | ||
| 177 | "y": 2 | ||
| 178 | }, | ||
| 179 | { | ||
| 180 | "x": 12.62, | ||
| 181 | "y": 2 | ||
| 182 | }, | ||
| 183 | { | ||
| 184 | "x": 14.34, | ||
| 185 | "y": 2 | ||
| 186 | }, | ||
| 187 | { | ||
| 188 | "x": 15.34, | ||
| 189 | "y": 2 | ||
| 190 | }, | ||
| 191 | { | ||
| 192 | "x": 16.34, | ||
| 193 | "y": 2, | ||
| 194 | "w": 2.25 | ||
| 195 | }, | ||
| 196 | |||
| 197 | |||
| 198 | |||
| 199 | { | ||
| 200 | "x": 0.25, | ||
| 201 | "y": 3, | ||
| 202 | "w": 2.25 | ||
| 203 | }, | ||
| 204 | { | ||
| 205 | "x": 2.5, | ||
| 206 | "y": 3 | ||
| 207 | }, | ||
| 208 | { | ||
| 209 | "x": 4.22, | ||
| 210 | "y": 3 | ||
| 211 | }, | ||
| 212 | { | ||
| 213 | "x": 5.22, | ||
| 214 | "y": 3 | ||
| 215 | }, | ||
| 216 | { | ||
| 217 | "x": 6.22, | ||
| 218 | "y": 3 | ||
| 219 | }, | ||
| 220 | { | ||
| 221 | "x": 7.22, | ||
| 222 | "y": 3 | ||
| 223 | }, | ||
| 224 | { | ||
| 225 | "x": 9.12, | ||
| 226 | "y": 3 | ||
| 227 | }, | ||
| 228 | { | ||
| 229 | "x": 10.12, | ||
| 230 | "y": 3 | ||
| 231 | }, | ||
| 232 | { | ||
| 233 | "x": 11.12, | ||
| 234 | "y": 3 | ||
| 235 | }, | ||
| 236 | { | ||
| 237 | "x": 12.12, | ||
| 238 | "y": 3 | ||
| 239 | }, | ||
| 240 | { | ||
| 241 | "x": 13.97, | ||
| 242 | "y": 3 | ||
| 243 | }, | ||
| 244 | { | ||
| 245 | "x": 14.97, | ||
| 246 | "y": 3 | ||
| 247 | }, | ||
| 248 | { | ||
| 249 | "x": 15.97, | ||
| 250 | "y": 3 | ||
| 251 | }, | ||
| 252 | { | ||
| 253 | "x": 16.97, | ||
| 254 | "y": 3 | ||
| 255 | }, | ||
| 256 | { | ||
| 257 | "x": 18.25, | ||
| 258 | "y": 3.25 | ||
| 259 | }, | ||
| 260 | |||
| 261 | |||
| 262 | |||
| 263 | { | ||
| 264 | "x": 0.5, | ||
| 265 | "y": 4, | ||
| 266 | "w": 1.25 | ||
| 267 | }, | ||
| 268 | { | ||
| 269 | "x": 1.75, | ||
| 270 | "y": 4, | ||
| 271 | "w": 1.25 | ||
| 272 | }, | ||
| 273 | { | ||
| 274 | "x": 4.72, | ||
| 275 | "y": 4 | ||
| 276 | }, | ||
| 277 | { | ||
| 278 | "x": 5.72, | ||
| 279 | "y": 4, | ||
| 280 | "w": 2 | ||
| 281 | }, | ||
| 282 | { | ||
| 283 | "x": 7.72, | ||
| 284 | "y": 4 | ||
| 285 | }, | ||
| 286 | { | ||
| 287 | "x": 9.6, | ||
| 288 | "y": 4, | ||
| 289 | "w": 2.75 | ||
| 290 | }, | ||
| 291 | { | ||
| 292 | "x": 12.35, | ||
| 293 | "y": 4 | ||
| 294 | }, | ||
| 295 | { | ||
| 296 | "x": 17.25, | ||
| 297 | "y": 4.25 | ||
| 298 | }, | ||
| 299 | { | ||
| 300 | "x": 18.25, | ||
| 301 | "y": 4.25 | ||
| 302 | }, | ||
| 303 | { | ||
| 304 | "x": 19.25, | ||
| 305 | "y": 4.25 | ||
| 306 | } | ||
| 307 | ] | ||
| 308 | } | ||
| 309 | } | ||
| 310 | } \ No newline at end of file | ||
diff --git a/keyboards/rabbit_capture_plan/keymaps/default/keymap.c b/keyboards/rabbit_capture_plan/keymaps/default/keymap.c new file mode 100644 index 000000000..cbfb6b141 --- /dev/null +++ b/keyboards/rabbit_capture_plan/keymaps/default/keymap.c | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | /* Copyright 2020 kakunpc | ||
| 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 | enum layers{ | ||
| 19 | _BASE, | ||
| 20 | _FN | ||
| 21 | }; | ||
| 22 | |||
| 23 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 24 | /* Base */ | ||
| 25 | [_BASE] = LAYOUT_all( | ||
| 26 | KC_ESC, 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, | ||
| 27 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, | ||
| 28 | KC_LCAP, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, | ||
| 29 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_DEL, KC_UP, | ||
| 30 | KC_LCTRL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_LEFT, KC_DOWN, KC_RIGHT | ||
| 31 | ), | ||
| 32 | [_FN] = LAYOUT_all( | ||
| 33 | RESET, _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, | ||
| 34 | _______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 35 | _______, KC_LEFT, KC_DOWN, KC_RIGHT, _______, _______,_______, _______, _______, _______, _______, _______, _______, _______, | ||
| 36 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 37 | RGB_TOG, RGB_MOD, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 38 | ), | ||
| 39 | }; | ||
diff --git a/keyboards/rabbit_capture_plan/keymaps/default/readme.md b/keyboards/rabbit_capture_plan/keymaps/default/readme.md new file mode 100644 index 000000000..2ececc3fc --- /dev/null +++ b/keyboards/rabbit_capture_plan/keymaps/default/readme.md | |||
| @@ -0,0 +1 @@ | |||
| # The default keymap for rabbit_capture_plan | |||
diff --git a/keyboards/rabbit_capture_plan/keymaps/via/keymap.c b/keyboards/rabbit_capture_plan/keymaps/via/keymap.c new file mode 100644 index 000000000..f8109f4f0 --- /dev/null +++ b/keyboards/rabbit_capture_plan/keymaps/via/keymap.c | |||
| @@ -0,0 +1,48 @@ | |||
| 1 | /* Copyright 2020 kakunpc | ||
| 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 | /* Base */ | ||
| 20 | [0] = LAYOUT_all( | ||
| 21 | KC_ESC, 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, | ||
| 22 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, | ||
| 23 | KC_LCAP, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, 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_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_DEL, KC_UP, | ||
| 25 | KC_LCTRL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_LEFT, KC_DOWN, KC_RIGHT | ||
| 26 | ), | ||
| 27 | [1] = LAYOUT_all( | ||
| 28 | RESET, _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, | ||
| 29 | _______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 30 | _______, KC_LEFT, KC_DOWN, KC_RIGHT, _______, _______,_______, _______, _______, _______, _______, _______, _______, _______, | ||
| 31 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 32 | RGB_TOG, RGB_MOD, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 33 | ), | ||
| 34 | [2] = LAYOUT_all( | ||
| 35 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 36 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 37 | _______, _______, _______, _______, _______, _______,_______, _______, _______, _______, _______, _______, _______, _______, | ||
| 38 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 39 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 40 | ), | ||
| 41 | [3] = LAYOUT_all( | ||
| 42 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 43 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 44 | _______, _______, _______, _______, _______, _______,_______, _______, _______, _______, _______, _______, _______, _______, | ||
| 45 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 46 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 47 | ) | ||
| 48 | }; | ||
diff --git a/keyboards/rabbit_capture_plan/keymaps/via/readme.md b/keyboards/rabbit_capture_plan/keymaps/via/readme.md new file mode 100644 index 000000000..928cdb8b7 --- /dev/null +++ b/keyboards/rabbit_capture_plan/keymaps/via/readme.md | |||
| @@ -0,0 +1 @@ | |||
| # The via keymap for rabbit_capture_plan | |||
diff --git a/keyboards/rabbit_capture_plan/keymaps/via/rules.mk b/keyboards/rabbit_capture_plan/keymaps/via/rules.mk new file mode 100644 index 000000000..1e5b99807 --- /dev/null +++ b/keyboards/rabbit_capture_plan/keymaps/via/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| VIA_ENABLE = yes | |||
diff --git a/keyboards/rabbit_capture_plan/rabbit_capture_plan.c b/keyboards/rabbit_capture_plan/rabbit_capture_plan.c new file mode 100644 index 000000000..7a45e61f3 --- /dev/null +++ b/keyboards/rabbit_capture_plan/rabbit_capture_plan.c | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | /* Copyright 2020 kakunpc | ||
| 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 "rabbit_capture_plan.h" | ||
diff --git a/keyboards/rabbit_capture_plan/rabbit_capture_plan.h b/keyboards/rabbit_capture_plan/rabbit_capture_plan.h new file mode 100644 index 000000000..8065fdfeb --- /dev/null +++ b/keyboards/rabbit_capture_plan/rabbit_capture_plan.h | |||
| @@ -0,0 +1,47 @@ | |||
| 1 | /* Copyright 2020 kakunpc | ||
| 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 | #define LAYOUT_all( \ | ||
| 30 | L00, L01, L02, L03, L04, L05, L06, R00, R01, R02, R03, R04, R05, R06, R07, \ | ||
| 31 | L10, L11, L12, L13, L14, L15, L16, R10, R11, R12, R13, R14, R15, R16, R17, \ | ||
| 32 | L20, L21, L22, L23, L24, L25, L26, R20, R21, R22, R23, R24, R25, R26, \ | ||
| 33 | L30, L31, L32, L33, L34, L35, R30, R31, R32, R33, R34, R35, R36, R37, R38, \ | ||
| 34 | L40, L41, L42, L43, L44, R40, R41, R42, R43, R44 \ | ||
| 35 | ) \ | ||
| 36 | { \ | ||
| 37 | { L00, L01, L02, L03, L04, L05, L06, KC_NO }, \ | ||
| 38 | { L10, L11, L12, L13, L14, L15, L16, KC_NO }, \ | ||
| 39 | { L20, L21, L22, L23, L24, L25, KC_NO, KC_NO }, \ | ||
| 40 | { L30, L31, L32, L33, L34, L35, KC_NO, KC_NO }, \ | ||
| 41 | { L40, L41, L42, L43, L44, L26, KC_NO, KC_NO }, \ | ||
| 42 | { R00, R01, R02, R03, R04, R05, R06, R07 }, \ | ||
| 43 | { R10, R11, R12, R13, R14, R15, R16, R17 }, \ | ||
| 44 | { R20, R21, R22, R23, R24, R25, R26, KC_NO }, \ | ||
| 45 | { R30, R31, R32, R33, R34, R35, R36, R37 }, \ | ||
| 46 | { R38, R40, R41, R42, R43, R44, KC_NO, KC_NO } \ | ||
| 47 | } | ||
diff --git a/keyboards/rabbit_capture_plan/readme.md b/keyboards/rabbit_capture_plan/readme.md new file mode 100644 index 000000000..bc6f9d5de --- /dev/null +++ b/keyboards/rabbit_capture_plan/readme.md | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | # rabbit_capture_plan | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | This is 70 keys split keyboard with trackball. | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [kakunpc](https://github.com/kakunpc) | ||
| 8 | * Hardware Supported: rabbit capture plan pcb | ||
| 9 | * Hardware Availability: booth([@kakunpc](https://kakunpc.booth.pm/)) | ||
| 10 | |||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | |||
| 13 | make rabbit_capture_plan:default | ||
| 14 | |||
| 15 | Flashing example for this keyboard: | ||
| 16 | |||
| 17 | make rabbit_capture_plan:default:flash | ||
| 18 | |||
| 19 | 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/rabbit_capture_plan/rules.mk b/keyboards/rabbit_capture_plan/rules.mk new file mode 100644 index 000000000..df27d2eb1 --- /dev/null +++ b/keyboards/rabbit_capture_plan/rules.mk | |||
| @@ -0,0 +1,24 @@ | |||
| 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 = no # Console for debug | ||
| 14 | COMMAND_ENABLE = no # 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 = yes # Enable keyboard RGB underglow | ||
| 21 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
| 22 | AUDIO_ENABLE = no # Audio output | ||
| 23 | SPLIT_KEYBOARD = yes | ||
| 24 | OLED_DRIVER_ENABLE = no | ||
