diff options
| author | Reid <reschneyer89@gmail.com> | 2020-04-10 20:43:21 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-11 11:43:21 +1000 |
| commit | 89cab95b638e18992c3ee28555ccbf77ed390eae (patch) | |
| tree | 6e0bbfa2ba16425c346cf88c641fe4d14bff4ad2 /keyboards/splitish | |
| parent | cc38627816b343a2909d50dd0e059daa5986cff9 (diff) | |
| download | qmk_firmware-89cab95b638e18992c3ee28555ccbf77ed390eae.tar.gz qmk_firmware-89cab95b638e18992c3ee28555ccbf77ed390eae.zip | |
[Keyboard] Add splitish (#8751)
* Added personal minivan keymap, and started work on splitish directory
* Merge branch 'splitish' of github.com:RSchneyer/qmk_firmware into splitish
Trying to undo attempted fix
Added splitish keyboard files, removed personal Minivan keymap
* Removed personal Minivan keymaps
* Fixed small issue in readme
* Added changes based on inital PR feedback
* forgot a semicolon
* Quick config.h file and default keymap update
Diffstat (limited to 'keyboards/splitish')
| -rw-r--r-- | keyboards/splitish/config.h | 43 | ||||
| -rw-r--r-- | keyboards/splitish/keymaps/default/keymap.c | 57 | ||||
| -rw-r--r-- | keyboards/splitish/keymaps/default/readme.md | 4 | ||||
| -rw-r--r-- | keyboards/splitish/readme.md | 18 | ||||
| -rw-r--r-- | keyboards/splitish/rules.mk | 15 | ||||
| -rw-r--r-- | keyboards/splitish/splitish.c | 1 | ||||
| -rw-r--r-- | keyboards/splitish/splitish.h | 14 |
7 files changed, 152 insertions, 0 deletions
diff --git a/keyboards/splitish/config.h b/keyboards/splitish/config.h new file mode 100644 index 000000000..ec39d8fd4 --- /dev/null +++ b/keyboards/splitish/config.h | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2019 Reid Schneyer <reschneyer89@gmail.com> | ||
| 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 | #define VENDOR_ID 0xFEED | ||
| 23 | #define PRODUCT_ID 0x6464 | ||
| 24 | #define DEVICE_VER 0x0001 | ||
| 25 | #define MANUFACTIRER Reid Schneyer | ||
| 26 | #define PRODUCT Splitish | ||
| 27 | #define DESCRIPTION Keyboard firmware for Splitish | ||
| 28 | |||
| 29 | #define MATRIX_ROWS 4 | ||
| 30 | #define MATRIX_COLS 12 | ||
| 31 | |||
| 32 | #define MATRIX_COL_PINS { F4 , F5 , F6 , F7 , B1 , B3 , C6 , D4 , D0 , D1 , D2 , D3 } | ||
| 33 | #define MATRIX_ROW_PINS { B4 , B5 , B2 , B6 } | ||
| 34 | #define DIODE_DIRECTION COL2ROW | ||
| 35 | #define UNUSED_PINS | ||
| 36 | |||
| 37 | #define DEBOUNCE 5 | ||
| 38 | |||
| 39 | #define LOCKING_SUPPORT_ENABLE | ||
| 40 | |||
| 41 | #define LOCKING_RESYNC_ENABLE | ||
| 42 | |||
| 43 | |||
diff --git a/keyboards/splitish/keymaps/default/keymap.c b/keyboards/splitish/keymaps/default/keymap.c new file mode 100644 index 000000000..470bad9b8 --- /dev/null +++ b/keyboards/splitish/keymaps/default/keymap.c | |||
| @@ -0,0 +1,57 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2019 Reid Schneyer <reschneyer89@gmail.com> | ||
| 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 | #include QMK_KEYBOARD_H | ||
| 19 | |||
| 20 | //Layer definitions | ||
| 21 | enum layers { | ||
| 22 | BASE, | ||
| 23 | NUMS, | ||
| 24 | SYMB, | ||
| 25 | FNS | ||
| 26 | }; | ||
| 27 | |||
| 28 | enum custom_keycodes { | ||
| 29 | QWERTY = SAFE_RANGE, | ||
| 30 | }; | ||
| 31 | |||
| 32 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 33 | [BASE] = LAYOUT( | ||
| 34 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, | ||
| 35 | KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, | ||
| 36 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, | ||
| 37 | KC_ESC, KC_LGUI, KC_LALT, KC_LALT, MO(FNS), LT(SYMB, KC_SPC), LT(NUMS, KC_SPC), MO(FNS), KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT | ||
| 38 | ), | ||
| 39 | [NUMS] = LAYOUT( | ||
| 40 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, | ||
| 41 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, | ||
| 42 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 43 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 44 | ), | ||
| 45 | [SYMB] = LAYOUT( | ||
| 46 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, | ||
| 47 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, | ||
| 48 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 49 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 50 | ), | ||
| 51 | [FNS] = LAYOUT( | ||
| 52 | KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_VOLU, KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_DEL, | ||
| 53 | KC_TRNS, KC_F5, KC_F6, KC_F7, KC_F8, KC_MPLY, KC_TRNS, KC_LEFT, KC_DOWN, KC_RIGHT, KC_TRNS, KC_TRNS, | ||
| 54 | KC_TRNS, KC_F9, KC_F10, KC_F11, KC_F12, KC_VOLD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 55 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, KC_PGDN, KC_PGUP, KC_END | ||
| 56 | ) | ||
| 57 | }; | ||
diff --git a/keyboards/splitish/keymaps/default/readme.md b/keyboards/splitish/keymaps/default/readme.md new file mode 100644 index 000000000..112456db1 --- /dev/null +++ b/keyboards/splitish/keymaps/default/readme.md | |||
| @@ -0,0 +1,4 @@ | |||
| 1 | # The default keymap for splitish | ||
| 2 | This is the default keymap for splitish | ||
| 3 | |||
| 4 |  | ||
diff --git a/keyboards/splitish/readme.md b/keyboards/splitish/readme.md new file mode 100644 index 000000000..e3870adcb --- /dev/null +++ b/keyboards/splitish/readme.md | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | # splitish | ||
| 2 |  | ||
| 3 | |||
| 4 | A separated 4x12 ortho Kailh Choc keyboard | ||
| 5 | |||
| 6 | Keyboard Maintainer: [Reid Schneyer](https://github.com/RSchneyer) | ||
| 7 | |||
| 8 | Hardware Supported: Splitish PCB, Pro Micro | ||
| 9 | |||
| 10 | Hardware Avaiability: [Gerber files](https://github.com/RSchneyer/splitish/tree/master/gerbers) | ||
| 11 | |||
| 12 | Make example for splitish (after setting up your build environment): | ||
| 13 | |||
| 14 | make splitish:default | ||
| 15 | |||
| 16 | See [build environment setup](https://docs.qmk.fm/install-build-tools) then the [make instructions](https://docs.qmk.fm/faq/build-compile-qmk) for more information. | ||
| 17 | |||
| 18 | Please see [RSchneyer/splitish](https://www.github.com/RSchneyer/splitish) for **build instructions**, parts lists, and Gerber files. | ||
diff --git a/keyboards/splitish/rules.mk b/keyboards/splitish/rules.mk new file mode 100644 index 000000000..24ca0415d --- /dev/null +++ b/keyboards/splitish/rules.mk | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | BOOTLOADER = caterina | ||
| 5 | |||
| 6 | BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration | ||
| 7 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
| 8 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 9 | CONSOLE_ENABLE = no # Console for debug | ||
| 10 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
| 11 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 12 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 13 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 14 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
| 15 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default | ||
diff --git a/keyboards/splitish/splitish.c b/keyboards/splitish/splitish.c new file mode 100644 index 000000000..b831a68c6 --- /dev/null +++ b/keyboards/splitish/splitish.c | |||
| @@ -0,0 +1 @@ | |||
| #include "splitish.h" | |||
diff --git a/keyboards/splitish/splitish.h b/keyboards/splitish/splitish.h new file mode 100644 index 000000000..ff5a7d841 --- /dev/null +++ b/keyboards/splitish/splitish.h | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | #include "quantum.h" | ||
| 2 | |||
| 3 | #define LAYOUT( \ | ||
| 4 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \ | ||
| 5 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \ | ||
| 6 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, \ | ||
| 7 | K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B \ | ||
| 8 | ) \ | ||
| 9 | { \ | ||
| 10 | {K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B}, \ | ||
| 11 | {K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B}, \ | ||
| 12 | {K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B}, \ | ||
| 13 | {K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B} \ | ||
| 14 | } | ||
