diff options
| author | QMK Bot <hello@qmk.fm> | 2021-05-16 00:14:49 +0000 |
|---|---|---|
| committer | QMK Bot <hello@qmk.fm> | 2021-05-16 00:14:49 +0000 |
| commit | 7599cd4e50a83d5ef1e3ef90a9afbbcf6dfd2263 (patch) | |
| tree | 3e4f6d6093e90653ee3ac07c0e912eac5904d485 | |
| parent | de2294413fd9bb2f7b90bd8ed5743c5e906f6259 (diff) | |
| parent | 1e5962adbf497aad038dee034dc21e6ada6bb328 (diff) | |
| download | qmk_firmware-7599cd4e50a83d5ef1e3ef90a9afbbcf6dfd2263.tar.gz qmk_firmware-7599cd4e50a83d5ef1e3ef90a9afbbcf6dfd2263.zip | |
Merge remote-tracking branch 'origin/master' into develop
| -rw-r--r-- | keyboards/specskeys/config.h | 151 | ||||
| -rw-r--r-- | keyboards/specskeys/info.json | 12 | ||||
| -rw-r--r-- | keyboards/specskeys/keymaps/default/keymap.c | 38 | ||||
| -rw-r--r-- | keyboards/specskeys/keymaps/default/readme.md | 1 | ||||
| -rw-r--r-- | keyboards/specskeys/readme.md | 41 | ||||
| -rw-r--r-- | keyboards/specskeys/rules.mk | 25 | ||||
| -rw-r--r-- | keyboards/specskeys/specskeys.c | 17 | ||||
| -rw-r--r-- | keyboards/specskeys/specskeys.h | 44 |
8 files changed, 329 insertions, 0 deletions
diff --git a/keyboards/specskeys/config.h b/keyboards/specskeys/config.h new file mode 100644 index 000000000..09988ba63 --- /dev/null +++ b/keyboards/specskeys/config.h | |||
| @@ -0,0 +1,151 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 Nico | ||
| 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 0xCAFE | ||
| 24 | #define PRODUCT_ID 0x0080 | ||
| 25 | #define DEVICE_VER 0x0001 | ||
| 26 | #define MANUFACTURER Specs32 | ||
| 27 | #define PRODUCT Specskeys | ||
| 28 | |||
| 29 | /* key matrix size */ | ||
| 30 | #define MATRIX_ROWS 6 | ||
| 31 | #define MATRIX_COLS 16 | ||
| 32 | /* | ||
| 33 | * Keyboard Matrix Assignments | ||
| 34 | * | ||
| 35 | * Change this to how you wired your keyboard | ||
| 36 | * COLS: AVR pins used for columns, left to right | ||
| 37 | * ROWS: AVR pins used for rows, top to bottom | ||
| 38 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
| 39 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
| 40 | * | ||
| 41 | */ | ||
| 42 | #define MATRIX_ROW_PINS { F0, F1, F4, F5, F6, F7 } | ||
| 43 | #define MATRIX_COL_PINS { E6, B0, B1, B2, B3, D0, D1, D2, D3, D5, D4, D6, D7, B4, B5, B6 } | ||
| 44 | #define UNUSED_PINS | ||
| 45 | |||
| 46 | /* COL2ROW, ROW2COL */ | ||
| 47 | #define DIODE_DIRECTION COL2ROW | ||
| 48 | |||
| 49 | /* | ||
| 50 | * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN. | ||
| 51 | */ | ||
| 52 | // #define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6 | ||
| 53 | |||
| 54 | //#define LED_NUM_LOCK_PIN B0 | ||
| 55 | #define LED_CAPS_LOCK_PIN C7 | ||
| 56 | #define LED_SCROLL_LOCK_PIN C6 | ||
| 57 | //#define LED_COMPOSE_PIN B3 | ||
| 58 | //#define LED_KANA_PIN B4 | ||
| 59 | |||
| 60 | #define BACKLIGHT_PIN B7 | ||
| 61 | #define BACKLIGHT_LEVELS 1 | ||
| 62 | //#define BACKLIGHT_BREATHING | ||
| 63 | |||
| 64 | //#define RGB_DI_PIN E2 | ||
| 65 | //#ifdef RGB_DI_PIN | ||
| 66 | //# define RGBLED_NUM 16 | ||
| 67 | //# define RGBLIGHT_HUE_STEP 8 | ||
| 68 | //# define RGBLIGHT_SAT_STEP 8 | ||
| 69 | //# define RGBLIGHT_VAL_STEP 8 | ||
| 70 | //# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | ||
| 71 | //# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||
| 72 | /*== all animations enable ==*/ | ||
| 73 | //# define RGBLIGHT_ANIMATIONS | ||
| 74 | /*== or choose animations ==*/ | ||
| 75 | //# define RGBLIGHT_EFFECT_BREATHING | ||
| 76 | //# define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 77 | //# define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 78 | //# define RGBLIGHT_EFFECT_SNAKE | ||
| 79 | //# define RGBLIGHT_EFFECT_KNIGHT | ||
| 80 | //# define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 81 | //# define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 82 | //# define RGBLIGHT_EFFECT_RGB_TEST | ||
| 83 | //# define RGBLIGHT_EFFECT_ALTERNATING | ||
| 84 | /*== customize breathing effect ==*/ | ||
| 85 | /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ | ||
| 86 | //# define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64 | ||
| 87 | /*==== use exp() and sin() ====*/ | ||
| 88 | //# define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7 | ||
| 89 | //# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 | ||
| 90 | //#endif | ||
| 91 | |||
| 92 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 93 | #define DEBOUNCE 5 | ||
| 94 | |||
| 95 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
| 96 | //#define MATRIX_HAS_GHOST | ||
| 97 | |||
| 98 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 99 | #define LOCKING_SUPPORT_ENABLE | ||
| 100 | /* Locking resynchronize hack */ | ||
| 101 | #define LOCKING_RESYNC_ENABLE | ||
| 102 | |||
| 103 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
| 104 | * This is useful for the Windows task manager shortcut (ctrl+shift+esc). | ||
| 105 | */ | ||
| 106 | //#define GRAVE_ESC_CTRL_OVERRIDE | ||
| 107 | |||
| 108 | /* | ||
| 109 | * Force NKRO | ||
| 110 | * | ||
| 111 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
| 112 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
| 113 | * makefile for this to work.) | ||
| 114 | * | ||
| 115 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
| 116 | * until the next keyboard reset. | ||
| 117 | * | ||
| 118 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
| 119 | * fully operational during normal computer usage. | ||
| 120 | * | ||
| 121 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
| 122 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
| 123 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
| 124 | * power-up. | ||
| 125 | * | ||
| 126 | */ | ||
| 127 | //#define FORCE_NKRO | ||
| 128 | |||
| 129 | /* | ||
| 130 | * Feature disable options | ||
| 131 | * These options are also useful to firmware size reduction. | ||
| 132 | */ | ||
| 133 | |||
| 134 | /* disable debug print */ | ||
| 135 | //#define NO_DEBUG | ||
| 136 | |||
| 137 | /* disable print */ | ||
| 138 | //#define NO_PRINT | ||
| 139 | |||
| 140 | /* disable action features */ | ||
| 141 | //#define NO_ACTION_LAYER | ||
| 142 | //#define NO_ACTION_TAPPING | ||
| 143 | //#define NO_ACTION_ONESHOT | ||
| 144 | |||
| 145 | /* disable these deprecated features by default */ | ||
| 146 | #define NO_ACTION_MACRO | ||
| 147 | #define NO_ACTION_FUNCTION | ||
| 148 | |||
| 149 | /* Bootmagic Lite key configuration */ | ||
| 150 | //#define BOOTMAGIC_LITE_ROW 0 | ||
| 151 | //#define BOOTMAGIC_LITE_COLUMN 0 | ||
diff --git a/keyboards/specskeys/info.json b/keyboards/specskeys/info.json new file mode 100644 index 000000000..237b3fbcc --- /dev/null +++ b/keyboards/specskeys/info.json | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "specskeys", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "qmk", | ||
| 5 | "width": 18.5, | ||
| 6 | "height": 7, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT": { | ||
| 9 | "layout": [{"label":"ESC", "x":0, "y":0}, {"label":"F1", "x":2, "y":0}, {"label":"F2", "x":3, "y":0}, {"label":"F3", "x":4, "y":0}, {"label":"F4", "x":5, "y":0}, {"label":"F5", "x":6.5, "y":0}, {"label":"F6", "x":7.5, "y":0}, {"label":"F7", "x":8.5, "y":0}, {"label":"F8", "x":9.5, "y":0}, {"label":"F9", "x":11, "y":0}, {"label":"F10", "x":12, "y":0}, {"label":"F11", "x":13, "y":0}, {"label":"F12", "x":14, "y":0}, {"label":"Druck", "x":15.5, "y":0}, {"label":"Rollen", "x":16.5, "y":0}, {"label":"Pause", "x":17.5, "y":0}, {"label":"\u00b0", "x":0, "y":2}, {"label":"!", "x":1, "y":2}, {"label":"\"", "x":2, "y":2}, {"label":"\u00a7", "x":3, "y":2}, {"label":"$", "x":4, "y":2}, {"label":"%", "x":5, "y":2}, {"label":"&", "x":6, "y":2}, {"label":"/", "x":7, "y":2}, {"label":"(", "x":8, "y":2}, {"label":")", "x":9, "y":2}, {"label":"=", "x":10, "y":2}, {"label":"?", "x":11, "y":2}, {"label":"`", "x":12, "y":2}, {"label":"\u2b60", "x":13, "y":2, "w":2}, {"label":"Einfg", "x":15.5, "y":2}, {"label":"Pos1", "x":16.5, "y":2}, {"label":"Bild", "x":17.5, "y":2}, {"label":"\u2b7e", "x":0, "y":3}, {"label":"Q", "x":1.5, "y":3}, {"label":"W", "x":2.5, "y":3}, {"label":"E", "x":3.5, "y":3}, {"label":"R", "x":4.5, "y":3}, {"label":"T", "x":5.5, "y":3}, {"label":"Z", "x":6.5, "y":3}, {"label":"U", "x":7.5, "y":3}, {"label":"I", "x":8.5, "y":3}, {"label":"O", "x":9.5, "y":3}, {"label":"P", "x":10.5, "y":3}, {"label":"\u00dc", "x":11.5, "y":3}, {"label":"*", "x":12.5, "y":3}, {"label":"\u2ba0", "x":13.75, "y":3, "w":1.25, "h":2}, {"label":"Entf", "x":15.5, "y":3}, {"label":"Ende", "x":16.5, "y":3}, {"label":"Bild", "x":17.5, "y":3}, {"x":0, "y":4, "w":1.75}, {"label":"A", "x":1.75, "y":4}, {"label":"S", "x":2.75, "y":4}, {"label":"D", "x":3.75, "y":4}, {"label":"F", "x":4.75, "y":4}, {"label":"G", "x":5.75, "y":4}, {"label":"H", "x":6.75, "y":4}, {"label":"J", "x":7.75, "y":4}, {"label":"K", "x":8.75, "y":4}, {"label":"L", "x":9.75, "y":4}, {"label":"\u00d6", "x":10.75, "y":4}, {"label":"\u00c4", "x":11.75, "y":4}, {"label":"'", "x":12.75, "y":4}, {"label":"\u21e7", "x":0, "y":5, "w":1.25}, {"label":">", "x":1.25, "y":5}, {"label":"Y", "x":2.25, "y":5}, {"label":"X", "x":3.25, "y":5}, {"label":"C", "x":4.25, "y":5}, {"label":"V", "x":5.25, "y":5}, {"label":"B", "x":6.25, "y":5}, {"label":"N", "x":7.25, "y":5}, {"label":"M", "x":8.25, "y":5}, {"label":";", "x":9.25, "y":5}, {"label":":", "x":10.25, "y":5}, {"label":"_", "x":11.25, "y":5}, {"label":"\u21e7", "x":12.25, "y":5, "w":2.75}, {"label":"\u2191", "x":16.5, "y":5}, {"label":"Strg", "x":0, "y":6, "w":1.5}, {"label":"\u2630", "x":1.5, "y":6}, {"label":"Alt", "x":2.5, "y":6, "w":1.5}, {"x":4, "y":6, "w":7}, {"label":"Alt Gr", "x":11, "y":6, "w":1.5}, {"label":"Fn", "x":12.5, "y":6}, {"label":"Strg", "x":13.5, "y":6, "w":1.5}, {"label":"\u2190", "x":15.5, "y":6}, {"label":"\u2193", "x":16.5, "y":6}, {"label":"\u2192", "x":17.5, "y":6}] | ||
| 10 | } | ||
| 11 | } | ||
| 12 | } | ||
diff --git a/keyboards/specskeys/keymaps/default/keymap.c b/keyboards/specskeys/keymaps/default/keymap.c new file mode 100644 index 000000000..cdd06eb63 --- /dev/null +++ b/keyboards/specskeys/keymaps/default/keymap.c | |||
| @@ -0,0 +1,38 @@ | |||
| 1 | /* Copyright 2021 Nico | ||
| 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 | /* 0: Winkey */ | ||
| 20 | LAYOUT( | ||
| 21 | 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_PSCR,KC_SLCK,KC_PAUS, | ||
| 22 | 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, KC_INS,KC_HOME,KC_PGUP, | ||
| 23 | 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_DEL, KC_END,KC_PGDN, | ||
| 24 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L,KC_SCLN,KC_QUOT,KC_NUHS, KC_ENT, | ||
| 25 | KC_LSFT,KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M,KC_COMM, KC_DOT,KC_SLSH,KC_RSFT, KC_UP, | ||
| 26 | KC_LCTL,KC_LGUI,KC_LALT, KC_SPC, KC_RALT, MO(1),KC_RCTL, KC_LEFT,KC_DOWN,KC_RGHT | ||
| 27 | ), | ||
| 28 | |||
| 29 | /* 2: Fn */ | ||
| 30 | LAYOUT( | ||
| 31 | KC_TRNS, BL_ON, BL_OFF,BL_STEP,BL_BRTG,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS, | ||
| 32 | KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS, | ||
| 33 | KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS, | ||
| 34 | KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, | ||
| 35 | KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, KC_TRNS, | ||
| 36 | KC_TRNS,KC_TRNS,KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS | ||
| 37 | ) | ||
| 38 | }; | ||
diff --git a/keyboards/specskeys/keymaps/default/readme.md b/keyboards/specskeys/keymaps/default/readme.md new file mode 100644 index 000000000..b704e67e8 --- /dev/null +++ b/keyboards/specskeys/keymaps/default/readme.md | |||
| @@ -0,0 +1 @@ | |||
| # The default keymap for specskeys | |||
diff --git a/keyboards/specskeys/readme.md b/keyboards/specskeys/readme.md new file mode 100644 index 000000000..59398711c --- /dev/null +++ b/keyboards/specskeys/readme.md | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | # specs_keys - REV 1 | ||
| 2 | * Keyboard Maintainer: [specs32](https://github.com/yourusername) | ||
| 3 | |||
| 4 | ##### TKL ISO keyboard based on an g80-3000HAD | ||
| 5 | |||
| 6 | ###### Used Hardware : | ||
| 7 | - ATMega 32U4 @ 8 MHz | ||
| 8 | - USB-C jack **with FUSE and full ESD protection** | ||
| 9 | - MOSFET controlled bottom backlighting pads for 14 LEDs with resistors plus 2 extra 2mm connectors for lantern style lightning | ||
| 10 | - Scroll and caps indicators (active low) | ||
| 11 | - SPI interface and reset button | ||
| 12 | - Cherry MX Black Switches | ||
| 13 | |||
| 14 | |||
| 15 | ##### Build instructions: | ||
| 16 | |||
| 17 | > qmk_firmware [master] » qmk compile -kb specskeys -km default | ||
| 18 | |||
| 19 | > % avrdude -c usbasp -p m32u4 -B10 -U lfuse:w:0xD2:m -U hfuse:w:0x98:m -U efuse:w:0xFF:m | ||
| 20 | |||
| 21 | > % avrdude -c usbasp -pm32u4 -B10 -Uflash:w:.build/specskeys_default.hex | ||
| 22 | |||
| 23 | |||
| 24 | designed with kicad nightly Version: (5.99.0-10004-g132ec37b56), release build | ||
| 25 | |||
| 26 | and some gimp | ||
| 27 | |||
| 28 | License on the KiCAD Design files : ♥ CC-BY-SA-4.0 | ||
| 29 | |||
| 30 | All other parts of this build inherit their Licenses from their origin. | ||
| 31 | |||
| 32 | If you want one, please contact me per mail. (Git profile) | ||
| 33 | |||
| 34 |  | ||
| 35 | |||
| 36 |  | ||
| 37 | |||
| 38 |  | ||
| 39 | |||
| 40 |  | ||
| 41 | |||
diff --git a/keyboards/specskeys/rules.mk b/keyboards/specskeys/rules.mk new file mode 100644 index 000000000..b7ef81c3f --- /dev/null +++ b/keyboards/specskeys/rules.mk | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Processor frequency | ||
| 5 | F_CPU = 8000000 | ||
| 6 | |||
| 7 | # Bootloader selection | ||
| 8 | BOOTLOADER = atmel-dfu | ||
| 9 | |||
| 10 | # Build Options | ||
| 11 | # change yes to no to disable | ||
| 12 | # | ||
| 13 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | ||
| 14 | MOUSEKEY_ENABLE = no # Mouse keys | ||
| 15 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 16 | CONSOLE_ENABLE = no # Console for debug | ||
| 17 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 18 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 19 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 20 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 21 | NKRO_ENABLE = no # USB Nkey Rollover | ||
| 22 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | ||
| 23 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
| 24 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
| 25 | AUDIO_ENABLE = no # Audio output | ||
diff --git a/keyboards/specskeys/specskeys.c b/keyboards/specskeys/specskeys.c new file mode 100644 index 000000000..36b1dbc31 --- /dev/null +++ b/keyboards/specskeys/specskeys.c | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | /* Copyright 2021 Nico | ||
| 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 "specskeys.h" | ||
diff --git a/keyboards/specskeys/specskeys.h b/keyboards/specskeys/specskeys.h new file mode 100644 index 000000000..744134dfc --- /dev/null +++ b/keyboards/specskeys/specskeys.h | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | /* Copyright 2021 Nico | ||
| 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( \ | ||
| 30 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015, \ | ||
| 31 | K500, K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, \ | ||
| 32 | K501, K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K213, K214, K215, \ | ||
| 33 | K502, K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K212, \ | ||
| 34 | K503, K400, K401, K402, K403, K404, K405, K406, K407, K408, K409, K410, K411, K412, \ | ||
| 35 | K504, K505, K506, K507, K508, K509, K510, K512, K513, K514 \ | ||
| 36 | ) \ | ||
| 37 | { \ | ||
| 38 | { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015 }, \ | ||
| 39 | { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115 }, \ | ||
| 40 | { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, K215 }, \ | ||
| 41 | { K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311 }, \ | ||
| 42 | { K400, K401, K402, K403, K404, K405, K406, K407, K408, K409, K410, K411, KC_NO, KC_NO, K412 }, \ | ||
| 43 | { K500, K501, K502, K503, K504, K505, K506, K507, KC_NO, K508, K509, K510, KC_NO, K512, K513, K514 } \ | ||
| 44 | } | ||
