diff options
| author | ridingqwerty <george.g.koenig@gmail.com> | 2020-12-16 12:47:56 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-16 12:47:56 -0500 |
| commit | 3295ac90ee9d0c0d4dc9c22bf107c9713f422696 (patch) | |
| tree | 3ac2969f6e6e1bc5694efd8064bb2f53b86417b1 | |
| parent | 0d42d7b87b0dc8976c8b65740bddf3463a39bddd (diff) | |
| download | qmk_firmware-3295ac90ee9d0c0d4dc9c22bf107c9713f422696.tar.gz qmk_firmware-3295ac90ee9d0c0d4dc9c22bf107c9713f422696.zip | |
New keyboard: wsk/alpha9 (#10430)
* adding alpha variants
* adding cajal layouts
* adding V2 PCB support
adding additional layouts for new PCB version, and correecting incorrect image in info file
* Cleanup master -- remove alpha9
* Cleanup master -- remove g4m3ralpha
* Cleanup master -- remove cajal & sl40
* Master cleanup -- re-add sl40
* Master cleanup -- correct SL40 image
* Add keyboard: wsk/alpha9
* Cleaned up default keymap
* Removed misleading keymap README
* Slight tweak to default keymap.c
* Added license attribution to .{c,h} files
* Update keyboards/wsk/alpha9/config.h
Co-authored-by: Joel Challis <git@zvecr.com>
* Update keyboards/wsk/alpha9/alpha9.c
Co-authored-by: Joel Challis <git@zvecr.com>
* Update keyboards/wsk/alpha9/rules.mk
Co-authored-by: Joel Challis <git@zvecr.com>
* Update keyboards/wsk/alpha9/keymaps/default/keymap.c
Co-authored-by: Joel Challis <git@zvecr.com>
* Update keyboards/wsk/alpha9/config.h
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/wsk/alpha9/info.json
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/wsk/alpha9/config.h
Co-authored-by: Drashna Jaelre <drashna@live.com>
* Update keyboards/wsk/alpha9/rules.mk
Co-authored-by: Ryan <fauxpark@gmail.com>
* Update keyboards/wsk/alpha9/alpha9.c
Co-authored-by: Drashna Jaelre <drashna@live.com>
* Update keyboards/wsk/alpha9/config.h
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: worldspawn00 <mcmancuso@gmail.com>
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
| -rw-r--r-- | keyboards/wsk/alpha9/alpha9.c | 17 | ||||
| -rw-r--r-- | keyboards/wsk/alpha9/alpha9.h | 30 | ||||
| -rw-r--r-- | keyboards/wsk/alpha9/config.h | 59 | ||||
| -rw-r--r-- | keyboards/wsk/alpha9/info.json | 12 | ||||
| -rw-r--r-- | keyboards/wsk/alpha9/keymaps/default/keymap.c | 50 | ||||
| -rw-r--r-- | keyboards/wsk/alpha9/readme.md | 19 | ||||
| -rw-r--r-- | keyboards/wsk/alpha9/rules.mk | 22 |
7 files changed, 209 insertions, 0 deletions
diff --git a/keyboards/wsk/alpha9/alpha9.c b/keyboards/wsk/alpha9/alpha9.c new file mode 100644 index 000000000..0d9f32c49 --- /dev/null +++ b/keyboards/wsk/alpha9/alpha9.c | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | /* Copyright 2020 Worldspawn <mcmancuso@gmail.com> | ||
| 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 "alpha9.h" | ||
diff --git a/keyboards/wsk/alpha9/alpha9.h b/keyboards/wsk/alpha9/alpha9.h new file mode 100644 index 000000000..ce43bdf0f --- /dev/null +++ b/keyboards/wsk/alpha9/alpha9.h | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | /* Copyright 2020 Worldspawn <mcmancuso@gmail.com> | ||
| 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 LAYOUT( \ | ||
| 22 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0a, K0b, K0c,\ | ||
| 23 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1a, K1b, K1c,\ | ||
| 24 | K20, K21, K22, K23, K24, K25, K26, K28, K2a, K2b, K2c \ | ||
| 25 | ) { \ | ||
| 26 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0a, K0b, K0c }, \ | ||
| 27 | { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1a, K1b, K1c }, \ | ||
| 28 | { K20, K21, K22, K23, K24, K25, K26, KC_NO, K28, KC_NO, K2a, K2b, K2c } \ | ||
| 29 | } | ||
| 30 | |||
diff --git a/keyboards/wsk/alpha9/config.h b/keyboards/wsk/alpha9/config.h new file mode 100644 index 000000000..0b09ba92a --- /dev/null +++ b/keyboards/wsk/alpha9/config.h | |||
| @@ -0,0 +1,59 @@ | |||
| 1 | /* Copyright 2020 Worldspawn <mcmancuso@gmail.com> | ||
| 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 "config_common.h" | ||
| 20 | |||
| 21 | /* USB Device descriptor parameter */ | ||
| 22 | #define VENDOR_ID 0x5753 // "WS" - Worldspawn00 | ||
| 23 | #define PRODUCT_ID 0x692A | ||
| 24 | #define DEVICE_VER 0x0001 | ||
| 25 | #define MANUFACTURER Worldspawn00 | ||
| 26 | #define PRODUCT Alpha9 | ||
| 27 | |||
| 28 | /* key matrix size */ | ||
| 29 | #define MATRIX_ROWS 3 | ||
| 30 | #define MATRIX_COLS 13 | ||
| 31 | |||
| 32 | /* key matrix pins */ | ||
| 33 | #define MATRIX_ROW_PINS { D4, B4, B5 } | ||
| 34 | #define MATRIX_COL_PINS { D7, E6, C6, B6, B2, B3, B1, F7, F6, F5, D1, D0, D2 } | ||
| 35 | #define UNUSED_PINS | ||
| 36 | |||
| 37 | /* COL2ROW or ROW2COL */ | ||
| 38 | #define DIODE_DIRECTION COL2ROW | ||
| 39 | |||
| 40 | /* Set 0 if debouncing isn't needed */ | ||
| 41 | #define DEBOUNCE 5 | ||
| 42 | |||
| 43 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 44 | #define LOCKING_SUPPORT_ENABLE | ||
| 45 | |||
| 46 | /* Locking resynchronize hack */ | ||
| 47 | #define LOCKING_RESYNC_ENABLE | ||
| 48 | |||
| 49 | #define LED_CAPS_LOCK_PIN D3 | ||
| 50 | #define LED_PIN_ON_STATE 0 | ||
| 51 | |||
| 52 | #define RGB_DI_PIN F4 | ||
| 53 | #ifdef RGB_DI_PIN | ||
| 54 | # define RGBLIGHT_ANIMATIONS | ||
| 55 | # define RGBLED_NUM 5 | ||
| 56 | # define RGBLIGHT_HUE_STEP 8 | ||
| 57 | # define RGBLIGHT_SAT_STEP 8 | ||
| 58 | # define RGBLIGHT_VAL_STEP 8 | ||
| 59 | #endif | ||
diff --git a/keyboards/wsk/alpha9/info.json b/keyboards/wsk/alpha9/info.json new file mode 100644 index 000000000..1ffa66389 --- /dev/null +++ b/keyboards/wsk/alpha9/info.json | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Alpha9", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "Worldspawn00", | ||
| 5 | "width": 13, | ||
| 6 | "height": 3, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT": { | ||
| 9 | "layout": [{"label":"7", "x":0, "y":0}, {"label":"8", "x":1, "y":0}, {"label":"9", "x":2, "y":0}, {"label":"Q", "x":3.5, "y":0}, {"label":"W", "x":4.5, "y":0}, {"label":"E", "x":5.5, "y":0}, {"label":"R", "x":6.5, "y":0}, {"label":"T", "x":7.5, "y":0}, {"label":"Y", "x":8.5, "y":0}, {"label":"U", "x":9.5, "y":0}, {"label":"I", "x":10.5, "y":0}, {"label":"O", "x":11.5, "y":0}, {"label":"P", "x":12.5, "y":0}, {"label":"4", "x":0, "y":1}, {"label":"5", "x":1, "y":1}, {"label":"6", "x":2, "y":1}, {"label":"A", "x":3.5, "y":1}, {"label":"S", "x":4.5, "y":1}, {"label":"D", "x":5.5, "y":1}, {"label":"F", "x":6.5, "y":1}, {"label":"G", "x":7.5, "y":1}, {"label":"H", "x":8.5, "y":1}, {"label":"J", "x":9.5, "y":1}, {"label":"K", "x":10.5, "y":1}, {"label":"L", "x":11.5, "y":1}, {"label":"Enter", "x":12.5, "y":1}, {"label":"1", "x":0, "y":2}, {"label":"2", "x":1, "y":2}, {"label":"3", "x":2, "y":2}, {"label":"Z", "x":4, "y":2}, {"label":"X", "x":5, "y":2}, {"label":"C", "x":6, "y":2}, {"label":"V", "x":7, "y":2}, {"x":8, "y":2, "w":2}, {"label":"B", "x":10, "y":2}, {"label":"N", "x":11, "y":2}, {"label":"M", "x":12, "y":2}] | ||
| 10 | } | ||
| 11 | } | ||
| 12 | } | ||
diff --git a/keyboards/wsk/alpha9/keymaps/default/keymap.c b/keyboards/wsk/alpha9/keymaps/default/keymap.c new file mode 100644 index 000000000..ba0da415d --- /dev/null +++ b/keyboards/wsk/alpha9/keymaps/default/keymap.c | |||
| @@ -0,0 +1,50 @@ | |||
| 1 | /* Copyright 2020 Worldspawn <mcmancuso@gmail.com> | ||
| 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 QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | enum alpha9_layers { | ||
| 20 | _HOME, | ||
| 21 | _FN, | ||
| 22 | _FNCHAR, | ||
| 23 | _FKEYS, | ||
| 24 | }; | ||
| 25 | |||
| 26 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 27 | [_HOME] = LAYOUT( | ||
| 28 | KC_P7, KC_P8, KC_P9, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, | ||
| 29 | KC_P4, KC_P5, KC_P6, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT, | ||
| 30 | KC_P1, KC_P2, KC_P3, LCTL_T(KC_Z), LALT_T(KC_X), LT(_FN, KC_C), LT(_FNCHAR, KC_V), LSFT_T(KC_SPC), RGUI_T(KC_B), RALT_T(KC_N), RCTL_T(KC_M) | ||
| 31 | ), | ||
| 32 | |||
| 33 | [_FN] = LAYOUT( | ||
| 34 | KC_INS, KC_HOME, KC_PGUP, KC_ESC, KC_MUTE, KC_VOLD, KC_VOLU, KC_MPLY, KC_HOME, KC_PGDN, KC_PGUP, KC_END, KC_NO, | ||
| 35 | KC_DEL, KC_UP, KC_PGDN, KC_TAB, KC_NO, KC_NO, KC_NO, KC_NO, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_BSPC, | ||
| 36 | KC_LEFT, KC_DOWN, KC_RGHT, KC_LCTL, KC_LALT, KC_TRNS, MO(_FKEYS), LSFT_T(KC_SPC), KC_RGUI, KC_RALT, KC_RCTL | ||
| 37 | ), | ||
| 38 | |||
| 39 | [_FNCHAR] = LAYOUT( | ||
| 40 | KC_NLCK, KC_NO, KC_NO, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, | ||
| 41 | KC_NO, KC_NO, KC_NO, KC_GRV, KC_NO, KC_MINS, KC_EQL, KC_BSLS, KC_LBRC, KC_RBRC, KC_SCLN, KC_QUOT, KC_BSPC, | ||
| 42 | KC_NO, KC_NO, KC_NO, KC_LCTL, KC_LALT, MO(_FKEYS), KC_TRNS, LSFT_T(KC_SPC), KC_COMM, KC_DOT, KC_SLSH | ||
| 43 | ), | ||
| 44 | |||
| 45 | [_FKEYS] = LAYOUT( | ||
| 46 | KC_NO, KC_NO, KC_NO, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, | ||
| 47 | KC_NO, KC_NO, KC_NO, KC_F11, KC_F12, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_DEL, | ||
| 48 | KC_NO, KC_NO, KC_NO, KC_LCTL, KC_LALT, KC_TRNS, KC_TRNS, LSFT_T(KC_SPC), KC_RGUI, KC_RALT, KC_RCTL | ||
| 49 | ), | ||
| 50 | }; | ||
diff --git a/keyboards/wsk/alpha9/readme.md b/keyboards/wsk/alpha9/readme.md new file mode 100644 index 000000000..e737a51ac --- /dev/null +++ b/keyboards/wsk/alpha9/readme.md | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | # Alpha9 | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | A reversible 37 position keyboard based on the Alpha 28-key, a semi-ortho keyboard designed by PyroL! | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [Worldspawn00](https://www.github.com/Worldspawn00) | ||
| 8 | * Hardware Supported: Alpha9 PCB, Pro Micro/EliteC and clones | ||
| 9 | * Hardware Availability: https://www.etsy.com/shop/WorldspawnsKeebs | ||
| 10 | |||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | |||
| 13 | make wsk/alpha9:default | ||
| 14 | |||
| 15 | Flashing example for this keyboard: | ||
| 16 | |||
| 17 | make wsk/alpha9:default:flash | ||
| 18 | |||
| 19 | 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. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). | ||
diff --git a/keyboards/wsk/alpha9/rules.mk b/keyboards/wsk/alpha9/rules.mk new file mode 100644 index 000000000..676a400f7 --- /dev/null +++ b/keyboards/wsk/alpha9/rules.mk | |||
| @@ -0,0 +1,22 @@ | |||
| 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 = full # 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 = yes # 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 | ||
