diff options
| -rw-r--r-- | keyboards/maxr1998/phoebe/config.h | 71 | ||||
| -rw-r--r-- | keyboards/maxr1998/phoebe/info.json | 73 | ||||
| -rw-r--r-- | keyboards/maxr1998/phoebe/keymaps/default/keymap.c | 102 | ||||
| -rw-r--r-- | keyboards/maxr1998/phoebe/keymaps/default/rules.mk | 0 | ||||
| -rw-r--r-- | keyboards/maxr1998/phoebe/phoebe.c | 1 | ||||
| -rw-r--r-- | keyboards/maxr1998/phoebe/phoebe.h | 18 | ||||
| -rw-r--r-- | keyboards/maxr1998/phoebe/readme.md | 13 | ||||
| -rw-r--r-- | keyboards/maxr1998/phoebe/rules.mk | 30 |
8 files changed, 308 insertions, 0 deletions
diff --git a/keyboards/maxr1998/phoebe/config.h b/keyboards/maxr1998/phoebe/config.h new file mode 100644 index 000000000..2e912b096 --- /dev/null +++ b/keyboards/maxr1998/phoebe/config.h | |||
| @@ -0,0 +1,71 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2012 Jun Wako <wakojun@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 | /* USB Device descriptor parameter */ | ||
| 23 | #define VENDOR_ID 0xFEED | ||
| 24 | #define PRODUCT_ID 0x6060 | ||
| 25 | #define DEVICE_VER 0x0001 | ||
| 26 | #define MANUFACTURER Maxr1998 | ||
| 27 | #define PRODUCT Phoebe | ||
| 28 | #define DESCRIPTION A 5x12 ortolinear keyboard | ||
| 29 | |||
| 30 | /* key matrix size */ | ||
| 31 | #define MATRIX_ROWS 5 | ||
| 32 | #define MATRIX_COLS 12 | ||
| 33 | |||
| 34 | /* Planck PCB default pin-out */ | ||
| 35 | #define MATRIX_ROW_PINS { B7, B3, B2, B1, D6 } | ||
| 36 | #define MATRIX_COL_PINS { D7, B4, B5, B6, C6, C7, B0, F1, F4, F5, F6, F7 } | ||
| 37 | #define UNUSED_PINS | ||
| 38 | |||
| 39 | /* COL2ROW or ROW2COL */ | ||
| 40 | #define DIODE_DIRECTION COL2ROW | ||
| 41 | |||
| 42 | /* Set 0 if debouncing isn't needed */ | ||
| 43 | #define DEBOUNCE 5 | ||
| 44 | |||
| 45 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 46 | #define LOCKING_SUPPORT_ENABLE | ||
| 47 | /* Locking resynchronize hack */ | ||
| 48 | #define LOCKING_RESYNC_ENABLE | ||
| 49 | |||
| 50 | /* RGB LED Setup */ | ||
| 51 | #define RGB_DI_PIN F0 // pin the DI on the WS2812B is hooked-up to | ||
| 52 | #define RGBLIGHT_ANIMATIONS // run RGB animations | ||
| 53 | #define RGBLED_NUM 8 // number of LEDs | ||
| 54 | |||
| 55 | /* | ||
| 56 | * Feature disable options | ||
| 57 | * These options are also useful to firmware size reduction. | ||
| 58 | */ | ||
| 59 | |||
| 60 | /* disable debug print */ | ||
| 61 | //#define NO_DEBUG | ||
| 62 | |||
| 63 | /* disable print */ | ||
| 64 | //#define NO_PRINT | ||
| 65 | |||
| 66 | /* disable action features */ | ||
| 67 | //#define NO_ACTION_LAYER | ||
| 68 | //#define NO_ACTION_TAPPING | ||
| 69 | //#define NO_ACTION_ONESHOT | ||
| 70 | //#define NO_ACTION_MACRO | ||
| 71 | //#define NO_ACTION_FUNCTION | ||
diff --git a/keyboards/maxr1998/phoebe/info.json b/keyboards/maxr1998/phoebe/info.json new file mode 100644 index 000000000..f5d81cc6f --- /dev/null +++ b/keyboards/maxr1998/phoebe/info.json | |||
| @@ -0,0 +1,73 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Phoebe", | ||
| 3 | "keyboard_folder": "maxr1998/phoebe", | ||
| 4 | "url": "https://github.com/Maxr1998/Phoebe_Keyboard", | ||
| 5 | "maintainer": "Maxr1998", | ||
| 6 | "width": 12, | ||
| 7 | "height": 5, | ||
| 8 | "layouts": { | ||
| 9 | "LAYOUT": { | ||
| 10 | "key_count": 59, | ||
| 11 | "layout": [ | ||
| 12 | { "w": 1, "x": 0, "y": 0 }, | ||
| 13 | { "w": 1, "x": 1, "y": 0 }, | ||
| 14 | { "w": 1, "x": 2, "y": 0 }, | ||
| 15 | { "w": 1, "x": 3, "y": 0 }, | ||
| 16 | { "w": 1, "x": 4, "y": 0 }, | ||
| 17 | { "w": 1, "x": 5, "y": 0 }, | ||
| 18 | { "w": 1, "x": 6, "y": 0 }, | ||
| 19 | { "w": 1, "x": 7, "y": 0 }, | ||
| 20 | { "w": 1, "x": 8, "y": 0 }, | ||
| 21 | { "w": 1, "x": 9, "y": 0 }, | ||
| 22 | { "w": 1, "x": 10, "y": 0 }, | ||
| 23 | { "w": 1, "x": 11, "y": 0 }, | ||
| 24 | { "w": 1, "x": 0, "y": 1 }, | ||
| 25 | { "w": 1, "x": 1, "y": 1 }, | ||
| 26 | { "w": 1, "x": 2, "y": 1 }, | ||
| 27 | { "w": 1, "x": 3, "y": 1 }, | ||
| 28 | { "w": 1, "x": 4, "y": 1 }, | ||
| 29 | { "w": 1, "x": 5, "y": 1 }, | ||
| 30 | { "w": 1, "x": 6, "y": 1 }, | ||
| 31 | { "w": 1, "x": 7, "y": 1 }, | ||
| 32 | { "w": 1, "x": 8, "y": 1 }, | ||
| 33 | { "w": 1, "x": 9, "y": 1 }, | ||
| 34 | { "w": 1, "x": 10, "y": 1 }, | ||
| 35 | { "w": 1, "x": 11, "y": 1 }, | ||
| 36 | { "w": 1, "x": 0, "y": 2 }, | ||
| 37 | { "w": 1, "x": 1, "y": 2 }, | ||
| 38 | { "w": 1, "x": 2, "y": 2 }, | ||
| 39 | { "w": 1, "x": 3, "y": 2 }, | ||
| 40 | { "w": 1, "x": 4, "y": 2 }, | ||
| 41 | { "w": 1, "x": 5, "y": 2 }, | ||
| 42 | { "w": 1, "x": 6, "y": 2 }, | ||
| 43 | { "w": 1, "x": 7, "y": 2 }, | ||
| 44 | { "w": 1, "x": 8, "y": 2 }, | ||
| 45 | { "w": 1, "x": 9, "y": 2 }, | ||
| 46 | { "w": 1, "x": 10, "y": 2 }, | ||
| 47 | { "w": 1, "x": 11, "y": 2 }, | ||
| 48 | { "w": 1, "x": 0, "y": 3 }, | ||
| 49 | { "w": 1, "x": 1, "y": 3 }, | ||
| 50 | { "w": 1, "x": 2, "y": 3 }, | ||
| 51 | { "w": 1, "x": 3, "y": 3 }, | ||
| 52 | { "w": 1, "x": 4, "y": 3 }, | ||
| 53 | { "w": 1, "x": 5, "y": 3 }, | ||
| 54 | { "w": 1, "x": 6, "y": 3 }, | ||
| 55 | { "w": 1, "x": 7, "y": 3 }, | ||
| 56 | { "w": 1, "x": 8, "y": 3 }, | ||
| 57 | { "w": 1, "x": 9, "y": 3 }, | ||
| 58 | { "w": 1, "x": 10, "y": 3 }, | ||
| 59 | { "w": 1, "x": 11, "y": 3 }, | ||
| 60 | { "w": 1, "x": 0, "y": 4 }, | ||
| 61 | { "w": 1, "x": 1, "y": 4 }, | ||
| 62 | { "w": 1, "x": 2, "y": 4 }, | ||
| 63 | { "w": 1, "x": 3, "y": 4 }, | ||
| 64 | { "w": 1, "x": 4, "y": 4 }, | ||
| 65 | { "w": 2, "x": 5, "y": 4 }, | ||
| 66 | { "w": 1, "x": 7, "y": 4 }, | ||
| 67 | { "w": 1, "x": 8, "y": 4 }, | ||
| 68 | { "w": 1, "x": 9, "y": 4 }, | ||
| 69 | { "w": 1, "x": 10, "y": 4 }, | ||
| 70 | { "w": 1, "x": 11, "y": 4 } ] | ||
| 71 | } | ||
| 72 | } | ||
| 73 | } | ||
diff --git a/keyboards/maxr1998/phoebe/keymaps/default/keymap.c b/keyboards/maxr1998/phoebe/keymaps/default/keymap.c new file mode 100644 index 000000000..1bf6f291d --- /dev/null +++ b/keyboards/maxr1998/phoebe/keymaps/default/keymap.c | |||
| @@ -0,0 +1,102 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | |||
| 3 | #include "keymap_german.h" | ||
| 4 | |||
| 5 | enum layers { | ||
| 6 | _QWERTZ, | ||
| 7 | _SC, | ||
| 8 | _FN, | ||
| 9 | _GAMING | ||
| 10 | }; | ||
| 11 | |||
| 12 | #define KC_SC MO(_SC) | ||
| 13 | #define KC_FN MO(_FN) | ||
| 14 | #define G_1 TO(_GAMING) | ||
| 15 | #define G_0 TG(_GAMING) | ||
| 16 | |||
| 17 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 18 | |||
| 19 | /* Qwertz | ||
| 20 | * ,-----------------------------------------------------------------------------------. | ||
| 21 | * | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Bspc | | ||
| 22 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 23 | * | Grv | Q | W | E | R | T | Z | U | I | O | P | Enter| | ||
| 24 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 25 | * | Tab | A | S | D | F | G | H | J | K | L | +* ~ | ? | | ||
| 26 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 27 | * | Shift| Y | X | C | V | B | N | M | , | . | Up | Shift| | ||
| 28 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 29 | * | Ctrl | Sup | Alt | Alt | SpCh | Space | AltGr| Fun | Left | Down | Right| | ||
| 30 | * `-----------------------------------------------------------------------------------' | ||
| 31 | */ | ||
| 32 | [_QWERTZ] = LAYOUT( | ||
| 33 | KC_ESC, DE_1, DE_2, DE_3, DE_4, DE_5, DE_6, DE_7, DE_8, DE_9, DE_0, KC_BSPC, | ||
| 34 | KC_GRV, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_ENT, | ||
| 35 | KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, DE_PLUS, DE_QST, | ||
| 36 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_UP, KC_RSFT, | ||
| 37 | KC_LCTL, KC_LGUI, KC_LALT, KC_LALT, KC_SC, KC_SPC, KC_ALGR, KC_FN, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 38 | ), | ||
| 39 | |||
| 40 | /* Special characters | ||
| 41 | * ,-----------------------------------------------------------------------------------. | ||
| 42 | * | | | | | | | | | | | | | | ||
| 43 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 44 | * | | | | | | | | | | | | | | ||
| 45 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 46 | * | | | | | | | | | | | #' | | | ||
| 47 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 48 | * | | <> | | | | | | | | | | -_ | | | ||
| 49 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 50 | * | | | | ---- | ---- | | | ---- | | | | | ||
| 51 | * `-----------------------------------------------------------------------------------' | ||
| 52 | */ | ||
| 53 | [_SC] = LAYOUT( | ||
| 54 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 55 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 56 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, DE_HASH, _______, | ||
| 57 | _______, DE_LESS, _______, _______, _______, _______, _______, _______, _______, _______, DE_MINS, _______, | ||
| 58 | _______, _______, _______, XXXXXXX, _______, _______, _______, XXXXXXX, _______, _______, _______ | ||
| 59 | ), | ||
| 60 | |||
| 61 | /* Function layer | ||
| 62 | * ,-----------------------------------------------------------------------------------. | ||
| 63 | * | | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | Del | | ||
| 64 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 65 | * | | | | | | | | Ü | | Ö | F11 | | | ||
| 66 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 67 | * | Lock | Ä | ß | | | GAME | | RGBS | RGBB | RGBS | F12 | | | ||
| 68 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 69 | * | | | | | | | | RGBH-| RGBT | RGBH+| PgUp | | | ||
| 70 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 71 | * | | | | ---- | ---- | | ---- | ---- | Home | PgDn | End | | ||
| 72 | * `-----------------------------------------------------------------------------------' | ||
| 73 | */ | ||
| 74 | [_FN] = LAYOUT( | ||
| 75 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_DEL, | ||
| 76 | _______, _______, _______, _______, _______, _______, _______, DE_UE, _______, DE_OE, KC_F11, _______, | ||
| 77 | KC_LOCK, DE_AE, DE_SS, _______, _______, G_1, _______, RGB_M_P, RGB_M_B, RGB_M_SW,KC_F12, _______, | ||
| 78 | _______, _______, _______, _______, _______, _______, _______, RGB_HUD, RGB_TOG, RGB_HUI, KC_PGUP, _______, | ||
| 79 | XXXXXXX, _______, XXXXXXX, XXXXXXX, XXXXXXX, _______, XXXXXXX, XXXXXXX, KC_HOME, KC_PGDN, KC_END | ||
| 80 | ), | ||
| 81 | |||
| 82 | /* Gaming | ||
| 83 | * ,-----------------------------------------------------------------------------------. | ||
| 84 | * | | | | | | | | | | | | | | ||
| 85 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 86 | * | | | | | | | | | | | | | | ||
| 87 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 88 | * | | | | | | | | | | | | | | ||
| 89 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 90 | * | | | | | | | | | | | | | | ||
| 91 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 92 | * | Space| | | | | | | Leave| | | | | ||
| 93 | * `-----------------------------------------------------------------------------------' | ||
| 94 | */ | ||
| 95 | [_GAMING] = LAYOUT( | ||
| 96 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 97 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 98 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 99 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 100 | KC_SPC, XXXXXXX, _______, _______, _______, _______, _______, G_0, _______, _______, _______ | ||
| 101 | ) | ||
| 102 | }; | ||
diff --git a/keyboards/maxr1998/phoebe/keymaps/default/rules.mk b/keyboards/maxr1998/phoebe/keymaps/default/rules.mk new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/keyboards/maxr1998/phoebe/keymaps/default/rules.mk | |||
diff --git a/keyboards/maxr1998/phoebe/phoebe.c b/keyboards/maxr1998/phoebe/phoebe.c new file mode 100644 index 000000000..d8629f7f5 --- /dev/null +++ b/keyboards/maxr1998/phoebe/phoebe.c | |||
| @@ -0,0 +1 @@ | |||
| #include "phoebe.h" | |||
diff --git a/keyboards/maxr1998/phoebe/phoebe.h b/keyboards/maxr1998/phoebe/phoebe.h new file mode 100644 index 000000000..2bf5a2d79 --- /dev/null +++ b/keyboards/maxr1998/phoebe/phoebe.h | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include "quantum.h" | ||
| 4 | |||
| 5 | #define LAYOUT( \ | ||
| 6 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, \ | ||
| 7 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, \ | ||
| 8 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, \ | ||
| 9 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, \ | ||
| 10 | k40, k41, k42, k43, k44, k45, k47, k48, k49, k4a, k4b \ | ||
| 11 | ) \ | ||
| 12 | { \ | ||
| 13 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b }, \ | ||
| 14 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b }, \ | ||
| 15 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b }, \ | ||
| 16 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b }, \ | ||
| 17 | { k40, k41, k42, k43, k44, k45, k47, k48, k49, k4a, k4b } \ | ||
| 18 | } | ||
diff --git a/keyboards/maxr1998/phoebe/readme.md b/keyboards/maxr1998/phoebe/readme.md new file mode 100644 index 000000000..72238e5db --- /dev/null +++ b/keyboards/maxr1998/phoebe/readme.md | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | # Phoebe | ||
| 2 | A 5x12 ortolinear keyboard, developed by Maxr1998, [fully open-source](https://github.com/Maxr1998/Phoebe_Keyboard). | ||
| 3 | |||
| 4 |  | ||
| 5 | |||
| 6 | Keyboard Maintainer: [Maxr1998](https://github.com/Maxr1998) | ||
| 7 | Hardware Availability: DIY from the [open-source design files](https://github.com/Maxr1998/Phoebe), potential official distribution in the future | ||
| 8 | |||
| 9 | Make example for this keyboard (after setting up your build environment): | ||
| 10 | |||
| 11 | make maxr1998/phoebe:default | ||
| 12 | |||
| 13 | 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/maxr1998/phoebe/rules.mk b/keyboards/maxr1998/phoebe/rules.mk new file mode 100644 index 000000000..1f2724737 --- /dev/null +++ b/keyboards/maxr1998/phoebe/rules.mk | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader | ||
| 5 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 6 | # different sizes, comment this out, and the correct address will be loaded | ||
| 7 | # automatically (+60). See bootloader.mk for all options. | ||
| 8 | BOOTLOADER = atmel-dfu | ||
| 9 | |||
| 10 | # Build Options | ||
| 11 | # change to "no" to disable the options, or define them in the Makefile in | ||
| 12 | # the appropriate keymap folder that will get included automatically | ||
| 13 | # | ||
| 14 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | ||
| 15 | MOUSEKEY_ENABLE = no # Mouse keys(+4700) | ||
| 16 | EXTRAKEY_ENABLE = no # Audio control and System control(+450) | ||
| 17 | CONSOLE_ENABLE = yes # Console for debug(+400) | ||
| 18 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 19 | COMBO_ENABLE = no # Key combo feature | ||
| 20 | NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 21 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 22 | MIDI_ENABLE = no # MIDI controls | ||
| 23 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 24 | UNICODE_ENABLE = no # Unicode | ||
| 25 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 26 | RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. | ||
| 27 | KEY_LOCK_ENABLE = yes | ||
| 28 | API_SYSEX_ENABLE = no | ||
| 29 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 30 | |||
