diff options
| author | floookay <33830863+floookay@users.noreply.github.com> | 2020-07-17 19:51:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-17 18:51:56 +0100 |
| commit | 4989af356eaa62f00b5a020d16e4e7d541b49ee1 (patch) | |
| tree | 5ece3e374533fe167a4805a15d7e1c54ae1e3eaf /keyboards/adelheid | |
| parent | a2fa12d6313b85822113a80f23ace951b2f9af17 (diff) | |
| download | qmk_firmware-4989af356eaa62f00b5a020d16e4e7d541b49ee1.tar.gz qmk_firmware-4989af356eaa62f00b5a020d16e4e7d541b49ee1.zip | |
[keyboard] added Adelheid (#9734)
* readded adelheid files
* reworked keymaps
- moved my personal keymap to a new folder
- added a new default keymap
* removed unnecessary backslash
* reenabled command rule
* bumped device number
* fixed layout for configurator
* applied suggestions from code review
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/adelheid')
| -rw-r--r-- | keyboards/adelheid/adelheid.c | 16 | ||||
| -rw-r--r-- | keyboards/adelheid/adelheid.h | 45 | ||||
| -rw-r--r-- | keyboards/adelheid/config.h | 208 | ||||
| -rw-r--r-- | keyboards/adelheid/info.json | 100 | ||||
| -rw-r--r-- | keyboards/adelheid/keymaps/default/keymap.c | 45 | ||||
| -rw-r--r-- | keyboards/adelheid/keymaps/default/readme.md | 9 | ||||
| -rw-r--r-- | keyboards/adelheid/keymaps/floookay/keymap.c | 76 | ||||
| -rw-r--r-- | keyboards/adelheid/keymaps/floookay/readme.md | 9 | ||||
| -rw-r--r-- | keyboards/adelheid/keymaps/floookay/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/adelheid/readme.md | 15 | ||||
| -rw-r--r-- | keyboards/adelheid/rules.mk | 22 |
11 files changed, 546 insertions, 0 deletions
diff --git a/keyboards/adelheid/adelheid.c b/keyboards/adelheid/adelheid.c new file mode 100644 index 000000000..35fd2cd1e --- /dev/null +++ b/keyboards/adelheid/adelheid.c | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | /* Copyright 2020 floookay | ||
| 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 "adelheid.h" | ||
diff --git a/keyboards/adelheid/adelheid.h b/keyboards/adelheid/adelheid.h new file mode 100644 index 000000000..48d315f30 --- /dev/null +++ b/keyboards/adelheid/adelheid.h | |||
| @@ -0,0 +1,45 @@ | |||
| 1 | /* Copyright 2020 floookay | ||
| 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 | #pragma once | ||
| 17 | |||
| 18 | #include "quantum.h" | ||
| 19 | |||
| 20 | /* This a shortcut to help you visually see your layout. | ||
| 21 | * | ||
| 22 | * The first section contains all of the arguments representing the physical | ||
| 23 | * layout of the board and position of the keys. | ||
| 24 | * | ||
| 25 | * The second converts the arguments into a two-dimensional array which | ||
| 26 | * represents the switch matrix. | ||
| 27 | */ | ||
| 28 | #define LAYOUT( \ | ||
| 29 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0E, \ | ||
| 30 | \ | ||
| 31 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E, k2E, \ | ||
| 32 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, k2D, k3E, \ | ||
| 33 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, k4E, \ | ||
| 34 | k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4A, k4B, k4D, \ | ||
| 35 | k50, k52, k54, k55, k57, k59, k5C, k5D, k5E \ | ||
| 36 | ) \ | ||
| 37 | { \ | ||
| 38 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0E }, \ | ||
| 39 | { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO }, \ | ||
| 40 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E }, \ | ||
| 41 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, k2D, k2E }, \ | ||
| 42 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, KC_NO, k3E }, \ | ||
| 43 | { k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4A, k4B, KC_NO, k4D, k4E }, \ | ||
| 44 | { k50, KC_NO, k52, KC_NO, k54, k55, KC_NO, k57, KC_NO, k59, KC_NO, KC_NO, k5C, k5D, k5E } \ | ||
| 45 | } | ||
diff --git a/keyboards/adelheid/config.h b/keyboards/adelheid/config.h new file mode 100644 index 000000000..0da0062a7 --- /dev/null +++ b/keyboards/adelheid/config.h | |||
| @@ -0,0 +1,208 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 floookay | ||
| 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 0xF100 | ||
| 24 | #define PRODUCT_ID 0xAD78 | ||
| 25 | #define DEVICE_VER 0x0002 | ||
| 26 | #define MANUFACTURER floookay | ||
| 27 | #define PRODUCT adelheid | ||
| 28 | #define DESCRIPTION 75% alice-like keyboard based on the arisu | ||
| 29 | |||
| 30 | /* key matrix size */ | ||
| 31 | #define MATRIX_ROWS 7 | ||
| 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 { D0, F4, D1, D2, D3, D5, F7 } | ||
| 45 | #define MATRIX_COL_PINS { F0, F1, E6, C7, F6, B6, D4, B1, B0, B7, B5, B4, D7, D6, B3 } | ||
| 46 | #define UNUSED_PINS | ||
| 47 | |||
| 48 | /* COL2ROW, ROW2COL*/ | ||
| 49 | #define DIODE_DIRECTION COL2ROW | ||
| 50 | |||
| 51 | #define BACKLIGHT_PIN C6 | ||
| 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 | // #endif | ||
| 76 | |||
| 77 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 78 | #define DEBOUNCE 5 | ||
| 79 | |||
| 80 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
| 81 | //#define MATRIX_HAS_GHOST | ||
| 82 | |||
| 83 | /* number of backlight levels */ | ||
| 84 | |||
| 85 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 86 | #define LOCKING_SUPPORT_ENABLE | ||
| 87 | /* Locking resynchronize hack */ | ||
| 88 | #define LOCKING_RESYNC_ENABLE | ||
| 89 | |||
| 90 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
| 91 | * This is userful for the Windows task manager shortcut (ctrl+shift+esc). | ||
| 92 | */ | ||
| 93 | // #define GRAVE_ESC_CTRL_OVERRIDE | ||
| 94 | |||
| 95 | /* | ||
| 96 | * Force NKRO | ||
| 97 | * | ||
| 98 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
| 99 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
| 100 | * makefile for this to work.) | ||
| 101 | * | ||
| 102 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
| 103 | * until the next keyboard reset. | ||
| 104 | * | ||
| 105 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
| 106 | * fully operational during normal computer usage. | ||
| 107 | * | ||
| 108 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
| 109 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
| 110 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
| 111 | * power-up. | ||
| 112 | * | ||
| 113 | */ | ||
| 114 | //#define FORCE_NKRO | ||
| 115 | |||
| 116 | /* | ||
| 117 | * Magic Key Options | ||
| 118 | * | ||
| 119 | * Magic keys are hotkey commands that allow control over firmware functions of | ||
| 120 | * the keyboard. They are best used in combination with the HID Listen program, | ||
| 121 | * found here: https://www.pjrc.com/teensy/hid_listen.html | ||
| 122 | * | ||
| 123 | * The options below allow the magic key functionality to be changed. This is | ||
| 124 | * useful if your keyboard/keypad is missing keys and you want magic key support. | ||
| 125 | * | ||
| 126 | */ | ||
| 127 | |||
| 128 | /* key combination for magic key command */ | ||
| 129 | /* defined by default; to change, uncomment and set to the combination you want */ | ||
| 130 | // #define IS_COMMAND() (get_mods() == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT))) | ||
| 131 | |||
| 132 | /* control how magic key switches layers */ | ||
| 133 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true | ||
| 134 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true | ||
| 135 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false | ||
| 136 | |||
| 137 | /* override magic key keymap */ | ||
| 138 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS | ||
| 139 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS | ||
| 140 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM | ||
| 141 | //#define MAGIC_KEY_HELP H | ||
| 142 | //#define MAGIC_KEY_HELP_ALT SLASH | ||
| 143 | //#define MAGIC_KEY_DEBUG D | ||
| 144 | //#define MAGIC_KEY_DEBUG_MATRIX X | ||
| 145 | //#define MAGIC_KEY_DEBUG_KBD K | ||
| 146 | //#define MAGIC_KEY_DEBUG_MOUSE M | ||
| 147 | //#define MAGIC_KEY_VERSION V | ||
| 148 | //#define MAGIC_KEY_STATUS S | ||
| 149 | //#define MAGIC_KEY_CONSOLE C | ||
| 150 | //#define MAGIC_KEY_LAYER0 0 | ||
| 151 | //#define MAGIC_KEY_LAYER0_ALT GRAVE | ||
| 152 | //#define MAGIC_KEY_LAYER1 1 | ||
| 153 | //#define MAGIC_KEY_LAYER2 2 | ||
| 154 | //#define MAGIC_KEY_LAYER3 3 | ||
| 155 | //#define MAGIC_KEY_LAYER4 4 | ||
| 156 | //#define MAGIC_KEY_LAYER5 5 | ||
| 157 | //#define MAGIC_KEY_LAYER6 6 | ||
| 158 | //#define MAGIC_KEY_LAYER7 7 | ||
| 159 | //#define MAGIC_KEY_LAYER8 8 | ||
| 160 | //#define MAGIC_KEY_LAYER9 9 | ||
| 161 | //#define MAGIC_KEY_BOOTLOADER B | ||
| 162 | //#define MAGIC_KEY_BOOTLOADER_ALT ESC | ||
| 163 | //#define MAGIC_KEY_LOCK CAPS | ||
| 164 | //#define MAGIC_KEY_EEPROM E | ||
| 165 | //#define MAGIC_KEY_EEPROM_CLEAR BSPACE | ||
| 166 | //#define MAGIC_KEY_NKRO N | ||
| 167 | //#define MAGIC_KEY_SLEEP_LED Z | ||
| 168 | |||
| 169 | /* | ||
| 170 | * Feature disable options | ||
| 171 | * These options are also useful to firmware size reduction. | ||
| 172 | */ | ||
| 173 | |||
| 174 | /* disable debug print */ | ||
| 175 | //#define NO_DEBUG | ||
| 176 | |||
| 177 | /* disable print */ | ||
| 178 | //#define NO_PRINT | ||
| 179 | |||
| 180 | /* disable action features */ | ||
| 181 | //#define NO_ACTION_LAYER | ||
| 182 | //#define NO_ACTION_TAPPING | ||
| 183 | //#define NO_ACTION_ONESHOT | ||
| 184 | //#define NO_ACTION_MACRO | ||
| 185 | //#define NO_ACTION_FUNCTION | ||
| 186 | |||
| 187 | /* | ||
| 188 | * MIDI options | ||
| 189 | */ | ||
| 190 | |||
| 191 | /* Prevent use of disabled MIDI features in the keymap */ | ||
| 192 | //#define MIDI_ENABLE_STRICT 1 | ||
| 193 | |||
| 194 | /* enable basic MIDI features: | ||
| 195 | - MIDI notes can be sent when in Music mode is on | ||
| 196 | */ | ||
| 197 | //#define MIDI_BASIC | ||
| 198 | |||
| 199 | /* enable advanced MIDI features: | ||
| 200 | - MIDI notes can be added to the keymap | ||
| 201 | - Octave shift and transpose | ||
| 202 | - Virtual sustain, portamento, and modulation wheel | ||
| 203 | - etc. | ||
| 204 | */ | ||
| 205 | //#define MIDI_ADVANCED | ||
| 206 | |||
| 207 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | ||
| 208 | //#define MIDI_TONE_KEYCODE_OCTAVES 1 | ||
diff --git a/keyboards/adelheid/info.json b/keyboards/adelheid/info.json new file mode 100644 index 000000000..d4ae41091 --- /dev/null +++ b/keyboards/adelheid/info.json | |||
| @@ -0,0 +1,100 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Adelheid", | ||
| 3 | "url": "https://github.com/floookay/adelheid", | ||
| 4 | "maintainer": "floookay", | ||
| 5 | "width": 19.5, | ||
| 6 | "height": 6.5, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT": { | ||
| 9 | "layout": [ | ||
| 10 | { "label": "k00", "x": 0, "y": 0 }, | ||
| 11 | { "label": "k01", "x": 1.25, "y": 0 }, | ||
| 12 | { "label": "k02", "x": 2.25, "y": 0 }, | ||
| 13 | { "label": "k03", "x": 3.5, "y": 0 }, | ||
| 14 | { "label": "k04", "x": 4.5, "y": 0 }, | ||
| 15 | { "label": "k05", "x": 5.75, "y": 0 }, | ||
| 16 | { "label": "k06", "x": 6.75, "y": 0 }, | ||
| 17 | { "label": "k07", "x": 9.75, "y": 0 }, | ||
| 18 | { "label": "k08", "x": 10.75, "y": 0 }, | ||
| 19 | { "label": "k09", "x": 12, "y": 0 }, | ||
| 20 | { "label": "k0A", "x": 13, "y": 0 }, | ||
| 21 | { "label": "k0B", "x": 14.25, "y": 0 }, | ||
| 22 | { "label": "k0C", "x": 15.25, "y": 0 }, | ||
| 23 | { "label": "k0D", "x": 16.5, "y": 0 }, | ||
| 24 | { "label": "k0E", "x": 17.75, "y": 0 }, | ||
| 25 | |||
| 26 | { "label": "k10", "x": 0.75, "y": 1.25 }, | ||
| 27 | { "label": "k11", "x": 1.75, "y": 1.25 }, | ||
| 28 | { "label": "k12", "x": 2.75, "y": 1.25 }, | ||
| 29 | { "label": "k13", "x": 4, "y": 1.25 }, | ||
| 30 | { "label": "k14", "x": 5, "y": 1.25 }, | ||
| 31 | { "label": "k15", "x": 6, "y": 1.25 }, | ||
| 32 | { "label": "k16", "x": 7, "y": 1.25 }, | ||
| 33 | { "label": "k17", "x": 9.5, "y": 1.25 }, | ||
| 34 | { "label": "k18", "x": 10.5, "y": 1.25 }, | ||
| 35 | { "label": "k19", "x": 11.5, "y": 1.25 }, | ||
| 36 | { "label": "k1A", "x": 12.5, "y": 1.25 }, | ||
| 37 | { "label": "k1B", "x": 13.75, "y": 1.25 }, | ||
| 38 | { "label": "k1C", "x": 14.75, "y": 1.25 }, | ||
| 39 | { "label": "k1D", "x": 15.75, "y": 1.25 }, | ||
| 40 | { "label": "k1E", "x": 16.75, "y": 1.25 }, | ||
| 41 | { "label": "k2E", "x": 18, "y": 1 }, | ||
| 42 | |||
| 43 | { "label": "k20", "x": 0.5, "y": 2.25, "w": 1.5 }, | ||
| 44 | { "label": "k21", "x": 2, "y": 2.25 }, | ||
| 45 | { "label": "k22", "x": 3.5, "y": 2.25 }, | ||
| 46 | { "label": "k23", "x": 4.5, "y": 2.25 }, | ||
| 47 | { "label": "k24", "x": 5.5, "y": 2.25 }, | ||
| 48 | { "label": "k25", "x": 6.5, "y": 2.25 }, | ||
| 49 | { "label": "k26", "x": 9, "y": 2.25 }, | ||
| 50 | { "label": "k27", "x": 10, "y": 2.25 }, | ||
| 51 | { "label": "k28", "x": 11, "y": 2.25 }, | ||
| 52 | { "label": "k29", "x": 12, "y": 2.25 }, | ||
| 53 | { "label": "k2A", "x": 13, "y": 2.25 }, | ||
| 54 | { "label": "k2B", "x": 14.5, "y": 2.25 }, | ||
| 55 | { "label": "k2C", "x": 15.5, "y": 2.25 }, | ||
| 56 | { "label": "k2D", "x": 16.5, "y": 2.25, "w": 1.5 }, | ||
| 57 | { "label": "k3E", "x": 18.25, "y": 2 }, | ||
| 58 | |||
| 59 | { "label": "k30", "x": 0.25, "y": 3.25, "w": 1.75 }, | ||
| 60 | { "label": "k31", "x": 2, "y": 3.25 }, | ||
| 61 | { "label": "k32", "x": 3.75, "y": 3.25 }, | ||
| 62 | { "label": "k33", "x": 4.75, "y": 3.25 }, | ||
| 63 | { "label": "k34", "x": 5.75, "y": 3.25 }, | ||
| 64 | { "label": "k35", "x": 6.75, "y": 3.25 }, | ||
| 65 | { "label": "k36", "x": 9.25, "y": 3.25 }, | ||
| 66 | { "label": "k37", "x": 10.25, "y": 3.25 }, | ||
| 67 | { "label": "k38", "x": 11.25, "y": 3.25 }, | ||
| 68 | { "label": "k39", "x": 12.25, "y": 3.25 }, | ||
| 69 | { "label": "k3A", "x": 14, "y": 3.25 }, | ||
| 70 | { "label": "k3B", "x": 15, "y": 3.25 }, | ||
| 71 | { "label": "k3C", "x": 16, "y": 3.25, "w": 2.25 }, | ||
| 72 | { "label": "k4E", "x": 18.5, "y": 3 }, | ||
| 73 | |||
| 74 | { "label": "k40", "x": 0, "y": 4.25, "w": 2.25 }, | ||
| 75 | { "label": "k41", "x": 2.25, "y": 4.25 }, | ||
| 76 | { "label": "k42", "x": 4.25, "y": 4.25 }, | ||
| 77 | { "label": "k43", "x": 5.25, "y": 4.25 }, | ||
| 78 | { "label": "k44", "x": 6.25, "y": 4.25 }, | ||
| 79 | { "label": "k45", "x": 7.25, "y": 4.25 }, | ||
| 80 | { "label": "k46", "x": 9.5, "y": 4.25 }, | ||
| 81 | { "label": "k47", "x": 10.5, "y": 4.25 }, | ||
| 82 | { "label": "k48", "x": 11.5, "y": 4.25 }, | ||
| 83 | { "label": "k49", "x": 12.5, "y": 4.25 }, | ||
| 84 | { "label": "k4A", "x": 14.5, "y": 4.25 }, | ||
| 85 | { "label": "k4B", "x": 15.5, "y": 4.25, "w": 1.75 }, | ||
| 86 | { "label": "k4D", "x": 17.5, "y": 4.5 }, | ||
| 87 | |||
| 88 | { "label": "k50", "x": 0, "y": 5.25, "w": 1.5 }, | ||
| 89 | { "label": "k52", "x": 4.25, "y": 5.25, "w": 1.5 }, | ||
| 90 | { "label": "k54", "x": 5.75, "y": 5.25, "w": 2 }, | ||
| 91 | { "label": "k55", "x": 7.75, "y": 5.25 }, | ||
| 92 | { "label": "k57", "x": 9, "y": 5.25, "w": 2.75 }, | ||
| 93 | { "label": "k59", "x": 11.75, "y": 5.25, "w": 1.5 }, | ||
| 94 | { "label": "k5C", "x": 16.5, "y": 5.5 }, | ||
| 95 | { "label": "k5D", "x": 17.5, "y": 5.5 }, | ||
| 96 | { "label": "k5E", "x": 18.5, "y": 5.5 } | ||
| 97 | ] | ||
| 98 | } | ||
| 99 | } | ||
| 100 | } | ||
diff --git a/keyboards/adelheid/keymaps/default/keymap.c b/keyboards/adelheid/keymaps/default/keymap.c new file mode 100644 index 000000000..d1d4b8da3 --- /dev/null +++ b/keyboards/adelheid/keymaps/default/keymap.c | |||
| @@ -0,0 +1,45 @@ | |||
| 1 | /* Copyright 2020 floookay | ||
| 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 adelheid_layers { | ||
| 19 | _BASE, | ||
| 20 | _SECONDARY | ||
| 21 | }; | ||
| 22 | |||
| 23 | #define MO_SEC MO(_SECONDARY) | ||
| 24 | |||
| 25 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 26 | [_BASE] = LAYOUT( | ||
| 27 | 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_F13, KC_PGUP, | ||
| 28 | |||
| 29 | 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_BSLS, KC_DEL, KC_HOME, | ||
| 30 | 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_BSPC, KC_END, | ||
| 31 | KC_LCTL, 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, | ||
| 32 | 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, | ||
| 33 | KC_LCTL, KC_LALT, KC_SPC, MO_SEC, KC_SPC, KC_RALT, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 34 | ), | ||
| 35 | |||
| 36 | [_SECONDARY] = LAYOUT( | ||
| 37 | KC_SLEP, KC_F13, KC_F14, KC_F15, KC_F16, KC_F17, KC_F18, KC_F19, KC_F20, KC_F21, KC_F22, KC_F23, KC_F24, KC_PSCR, KC_VOLU, | ||
| 38 | |||
| 39 | _______, 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_INS, BL_STEP, | ||
| 40 | _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END, _______, _______, _______, KC_DEL, KC_MUTE, | ||
| 41 | KC_LGUI, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, _______, KC_MPLY, KC_VOLD, | ||
| 42 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY, | ||
| 43 | _______, _______, _______, _______, _______, _______, KC_MPRV, KC_MSTP, KC_MNXT | ||
| 44 | ) | ||
| 45 | }; | ||
diff --git a/keyboards/adelheid/keymaps/default/readme.md b/keyboards/adelheid/keymaps/default/readme.md new file mode 100644 index 000000000..34369dcc0 --- /dev/null +++ b/keyboards/adelheid/keymaps/default/readme.md | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | # Default keymap for the Adelheid | ||
| 2 | |||
| 3 | - ANSI QWERTY | ||
| 4 | - split backspace | ||
| 5 | - ctrl instead of caps lock | ||
| 6 | - lgui on fn+caps | ||
| 7 | |||
| 8 |  | ||
| 9 | View in [Keyboard-Layout-Editor](http://www.keyboard-layout-editor.com/#/gists/4262535adb5ac81a913edbebc4de8226). | ||
diff --git a/keyboards/adelheid/keymaps/floookay/keymap.c b/keyboards/adelheid/keymaps/floookay/keymap.c new file mode 100644 index 000000000..607ee58bb --- /dev/null +++ b/keyboards/adelheid/keymaps/floookay/keymap.c | |||
| @@ -0,0 +1,76 @@ | |||
| 1 | /* Copyright 2020 floookay | ||
| 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 adelheid_layers { | ||
| 19 | _BASE, | ||
| 20 | _SECONDARY | ||
| 21 | }; | ||
| 22 | |||
| 23 | // tap dance declarations | ||
| 24 | enum { | ||
| 25 | _TD_CTGU = 0, | ||
| 26 | _TD_PGUP = 1, | ||
| 27 | _TD_PGDN = 2, | ||
| 28 | _TD_HOME = 3, | ||
| 29 | _TD_END = 4, | ||
| 30 | _TD_RSHC = 5, | ||
| 31 | _TD_PSCR = 6 | ||
| 32 | }; | ||
| 33 | |||
| 34 | #define MO_SEC MO(_SECONDARY) | ||
| 35 | #define TD_CTGU TD(_TD_CTGU) | ||
| 36 | #define TD_PGUP TD(_TD_PGUP) | ||
| 37 | #define TD_PGDN TD(_TD_PGDN) | ||
| 38 | #define TD_HOME TD(_TD_HOME) | ||
| 39 | #define TD_END TD(_TD_END) | ||
| 40 | #define TD_RSHC TD(_TD_RSHC) | ||
| 41 | #define TD_PSCR TD(_TD_PSCR) | ||
| 42 | |||
| 43 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 44 | [_BASE] = LAYOUT( | ||
| 45 | 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_F13, TD_PGUP, | ||
| 46 | |||
| 47 | 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_BSLS, KC_DEL, TD_HOME, | ||
| 48 | 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_BSPC, TD_END, | ||
| 49 | TD_CTGU, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, TD_PGDN, | ||
| 50 | 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, | ||
| 51 | KC_LCTL, KC_LALT, KC_SPC, MO_SEC, KC_SPC, KC_RALT, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 52 | ), | ||
| 53 | |||
| 54 | [_SECONDARY] = LAYOUT( | ||
| 55 | KC_SLEP, KC_F13, KC_F14, KC_F15, KC_F16, KC_F17, KC_F18, KC_F19, KC_F20, KC_F21, KC_F22, KC_F23, KC_F24, TD_PSCR, KC_VOLU, | ||
| 56 | |||
| 57 | _______, 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_INS, BL_STEP, | ||
| 58 | _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END, _______, _______, _______, KC_DEL, KC_MUTE, | ||
| 59 | _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, _______, KC_MPLY, KC_VOLD, | ||
| 60 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, TD_RSHC, KC_MPLY, | ||
| 61 | _______, _______, _______, _______, _______, _______, KC_MPRV, KC_MSTP, KC_MNXT | ||
| 62 | ) | ||
| 63 | }; | ||
| 64 | |||
| 65 | |||
| 66 | // Tap Dance Definitions | ||
| 67 | qk_tap_dance_action_t tap_dance_actions[] = { | ||
| 68 | // Tap once for first parameter, twice for second | ||
| 69 | [_TD_CTGU] = ACTION_TAP_DANCE_DOUBLE(KC_LCTL, KC_LGUI), | ||
| 70 | [_TD_PGUP] = ACTION_TAP_DANCE_DOUBLE(KC_PGUP, LCTL(KC_PGUP)), | ||
| 71 | [_TD_PGDN] = ACTION_TAP_DANCE_DOUBLE(KC_PGDN, LCTL(KC_PGDN)), | ||
| 72 | [_TD_HOME] = ACTION_TAP_DANCE_DOUBLE(KC_HOME, LCTL(KC_HOME)), | ||
| 73 | [_TD_END] = ACTION_TAP_DANCE_DOUBLE(KC_END, LCTL(KC_END)), | ||
| 74 | [_TD_RSHC] = ACTION_TAP_DANCE_DOUBLE(KC_RSFT, KC_CAPS), | ||
| 75 | [_TD_PSCR] = ACTION_TAP_DANCE_DOUBLE(KC_PSCR, LSFT(LGUI(KC_S))) // screenshot tool tap dance | ||
| 76 | }; | ||
diff --git a/keyboards/adelheid/keymaps/floookay/readme.md b/keyboards/adelheid/keymaps/floookay/readme.md new file mode 100644 index 000000000..a9d624222 --- /dev/null +++ b/keyboards/adelheid/keymaps/floookay/readme.md | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | # The default keymap for the Adelheid | ||
| 2 | |||
| 3 | - ANSI QWERTY | ||
| 4 | - split backspace | ||
| 5 | - ctrl on caps lock with super on tap dance | ||
| 6 | - caps lock on fn + right shift tap dance | ||
| 7 | |||
| 8 |  | ||
| 9 | View in [Keyboard-Layout-Editor](http://www.keyboard-layout-editor.com/#/gists/4262535adb5ac81a913edbebc4de8226). | ||
diff --git a/keyboards/adelheid/keymaps/floookay/rules.mk b/keyboards/adelheid/keymaps/floookay/rules.mk new file mode 100644 index 000000000..e5ddcae8d --- /dev/null +++ b/keyboards/adelheid/keymaps/floookay/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| TAP_DANCE_ENABLE = yes | |||
diff --git a/keyboards/adelheid/readme.md b/keyboards/adelheid/readme.md new file mode 100644 index 000000000..cf010825f --- /dev/null +++ b/keyboards/adelheid/readme.md | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | # 𝔄𝔡𝔢𝔩𝔥𝔢𝔦𝔡 | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | The Adelheid is a 75% Alice-like keyboard. It's a fork of the [Arisu](https://github.com/FateNozomi/arisu-pcb) by FateNozomi and is open-source as well. | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [floookay](https://github.com/floookay) | ||
| 8 | * Hardware Supported: Adelheid PCB [Rev2.0] | ||
| 9 | * Hardware Availability: [PCB-, case- & wrist rest files](https://github.com/floookay/adelheid) | ||
| 10 | |||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | |||
| 13 | make adelheid:default | ||
| 14 | |||
| 15 | 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/adelheid/rules.mk b/keyboards/adelheid/rules.mk new file mode 100644 index 000000000..77a8471e9 --- /dev/null +++ b/keyboards/adelheid/rules.mk | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | BOOTLOADER = atmel-dfu | ||
| 6 | |||
| 7 | # Build Options | ||
| 8 | # change yes to no to disable | ||
| 9 | # | ||
| 10 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration | ||
| 11 | MOUSEKEY_ENABLE = no # Mouse keys | ||
| 12 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 13 | CONSOLE_ENABLE = no # Console for debug | ||
| 14 | COMMAND_ENABLE = yes # 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 = yes # Enable keyboard backlight functionality | ||
| 20 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
| 21 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
| 22 | AUDIO_ENABLE = no # Audio output | ||
