diff options
| author | Wilba <Jason.S.Williams@gmail.com> | 2019-06-03 17:46:00 +1000 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2019-06-03 00:46:00 -0700 |
| commit | 1a9173cafc88bfb2fa30b14f38a3371e87e53193 (patch) | |
| tree | 89f32124a2c83633ce7acd5f03c99a55d6fec3b4 | |
| parent | 4a8e62d30ec83921385a502a7cee3c6634e95988 (diff) | |
| download | qmk_firmware-1a9173cafc88bfb2fa30b14f38a3371e87e53193.tar.gz qmk_firmware-1a9173cafc88bfb2fa30b14f38a3371e87e53193.zip | |
[Keyboard] Added WT65-B, WT75-B, minor fixes (#5991)
* Added WT65-B, WT75-B, minor fixes
* Update keyboards/wilba_tech/wt65_b/config.h
Co-Authored-By: Drashna Jaelre <drashna@live.com>
* Update keyboards/wilba_tech/wt65_b/readme.md
Co-Authored-By: fauxpark <fauxpark@gmail.com>
* Update keyboards/wilba_tech/wt75_b/config.h
Co-Authored-By: Drashna Jaelre <drashna@live.com>
* Change DEBOUNCING_DELAY to DEBOUNCE
* Change DEBOUNCING_DELAY to DEBOUNCE
31 files changed, 1029 insertions, 32 deletions
diff --git a/keyboards/wilba_tech/wt60_a/config.h b/keyboards/wilba_tech/wt60_a/config.h index 405685093..f492074e3 100644 --- a/keyboards/wilba_tech/wt60_a/config.h +++ b/keyboards/wilba_tech/wt60_a/config.h | |||
| @@ -52,7 +52,7 @@ | |||
| 52 | // #define BACKLIGHT_LEVELS 3 | 52 | // #define BACKLIGHT_LEVELS 3 |
| 53 | 53 | ||
| 54 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | 54 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ |
| 55 | #define DEBOUNCING_DELAY 5 | 55 | #define DEBOUNCE 5 |
| 56 | 56 | ||
| 57 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | 57 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ |
| 58 | //#define MATRIX_HAS_GHOST | 58 | //#define MATRIX_HAS_GHOST |
diff --git a/keyboards/wilba_tech/wt60_a/readme.md b/keyboards/wilba_tech/wt60_a/readme.md index bf9da9ada..91cc5c8ce 100644 --- a/keyboards/wilba_tech/wt60_a/readme.md +++ b/keyboards/wilba_tech/wt60_a/readme.md | |||
| @@ -1,11 +1,11 @@ | |||
| 1 | # WILBA.TECH WT60-A | 1 | # wilba.tech WT60-A |
| 2 | 2 | ||
| 3 |  | 3 |  |
| 4 | 4 | ||
| 5 | WT60-A is a keyboard PCB supporting 60% layout. [More info at wilba.tech](https://wilba.tech/) | 5 | WT60-A is a keyboard PCB supporting 60% layout. [More info at wilba.tech](https://wilba.tech/) |
| 6 | 6 | ||
| 7 | Keyboard Maintainer: [Wilba6582](https://github.com/Wilba6582) | 7 | Keyboard Maintainer: [Wilba6582](https://github.com/Wilba6582) |
| 8 | Hardware Supported: WILBA.TECH WT65-A | 8 | Hardware Supported: wilba.tech WT65-A |
| 9 | Hardware Availability: Custom keyboard group buys | 9 | Hardware Availability: Custom keyboard group buys |
| 10 | 10 | ||
| 11 | Make example for this keyboard (after setting up your build environment): | 11 | Make example for this keyboard (after setting up your build environment): |
diff --git a/keyboards/wilba_tech/wt65_a/config.h b/keyboards/wilba_tech/wt65_a/config.h index a9da35eaa..ec488fb50 100644 --- a/keyboards/wilba_tech/wt65_a/config.h +++ b/keyboards/wilba_tech/wt65_a/config.h | |||
| @@ -52,7 +52,7 @@ | |||
| 52 | // #define BACKLIGHT_LEVELS 3 | 52 | // #define BACKLIGHT_LEVELS 3 |
| 53 | 53 | ||
| 54 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | 54 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ |
| 55 | #define DEBOUNCING_DELAY 5 | 55 | #define DEBOUNCE 5 |
| 56 | 56 | ||
| 57 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | 57 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ |
| 58 | //#define MATRIX_HAS_GHOST | 58 | //#define MATRIX_HAS_GHOST |
diff --git a/keyboards/wilba_tech/wt65_a/readme.md b/keyboards/wilba_tech/wt65_a/readme.md index 9e0c630c0..964b6a097 100644 --- a/keyboards/wilba_tech/wt65_a/readme.md +++ b/keyboards/wilba_tech/wt65_a/readme.md | |||
| @@ -1,11 +1,11 @@ | |||
| 1 | # WILBA.TECH WT65-A | 1 | # wilba.tech WT65-A |
| 2 | 2 | ||
| 3 |  | 3 |  |
| 4 | 4 | ||
| 5 | WT65-A is a keyboard PCB supporting 65% layout with 0.5U blocker. [More info at wilba.tech](https://wilba.tech/) | 5 | WT65-A is a keyboard PCB supporting 65% layout with 0.5U blocker. [More info at wilba.tech](https://wilba.tech/) |
| 6 | 6 | ||
| 7 | Keyboard Maintainer: [Wilba6582](https://github.com/Wilba6582) | 7 | Keyboard Maintainer: [Wilba6582](https://github.com/Wilba6582) |
| 8 | Hardware Supported: WILBA.TECH WT65-A | 8 | Hardware Supported: wilba.tech WT65-A |
| 9 | Hardware Availability: Custom keyboard group buys | 9 | Hardware Availability: Custom keyboard group buys |
| 10 | 10 | ||
| 11 | Make example for this keyboard (after setting up your build environment): | 11 | Make example for this keyboard (after setting up your build environment): |
diff --git a/keyboards/wilba_tech/wt65_b/config.h b/keyboards/wilba_tech/wt65_b/config.h new file mode 100644 index 000000000..086168987 --- /dev/null +++ b/keyboards/wilba_tech/wt65_b/config.h | |||
| @@ -0,0 +1,202 @@ | |||
| 1 | /* Copyright 2019 Jason Williams (Wilba) | ||
| 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 0x6582 // wilba.tech | ||
| 23 | #define PRODUCT_ID 0x065B // 65-B | ||
| 24 | #define DEVICE_VER 0x0001 | ||
| 25 | #define MANUFACTURER wilba.tech | ||
| 26 | #define PRODUCT wilba.tech WT65-B | ||
| 27 | #define DESCRIPTION wilba.tech WT65-B | ||
| 28 | |||
| 29 | /* key matrix size */ | ||
| 30 | #define MATRIX_ROWS 5 | ||
| 31 | #define MATRIX_COLS 15 | ||
| 32 | |||
| 33 | /* | ||
| 34 | * Keyboard Matrix Assignments | ||
| 35 | * | ||
| 36 | * Change this to how you wired your keyboard | ||
| 37 | * COLS: AVR pins used for columns, left to right | ||
| 38 | * ROWS: AVR pins used for rows, top to bottom | ||
| 39 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
| 40 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
| 41 | * | ||
| 42 | */ | ||
| 43 | #define MATRIX_ROW_PINS { F0, E6, F4, F6, F7 } | ||
| 44 | #define MATRIX_COL_PINS { F5, D5, B1, B2, B3, D3, D2, C7, C6, B6, B5, B4, D7, D6, D4 } | ||
| 45 | #define UNUSED_PINS | ||
| 46 | |||
| 47 | /* COL2ROW, ROW2COL*/ | ||
| 48 | #define DIODE_DIRECTION ROW2COL | ||
| 49 | |||
| 50 | // #define BACKLIGHT_PIN B7 | ||
| 51 | // #define BACKLIGHT_BREATHING | ||
| 52 | // #define BACKLIGHT_LEVELS 3 | ||
| 53 | |||
| 54 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 55 | #define DEBOUNCE 5 | ||
| 56 | |||
| 57 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
| 58 | //#define MATRIX_HAS_GHOST | ||
| 59 | |||
| 60 | /* number of backlight levels */ | ||
| 61 | |||
| 62 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 63 | #define LOCKING_SUPPORT_ENABLE | ||
| 64 | /* Locking resynchronize hack */ | ||
| 65 | #define LOCKING_RESYNC_ENABLE | ||
| 66 | |||
| 67 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
| 68 | * This is userful for the Windows task manager shortcut (ctrl+shift+esc). | ||
| 69 | */ | ||
| 70 | // #define GRAVE_ESC_CTRL_OVERRIDE | ||
| 71 | |||
| 72 | /* | ||
| 73 | * Force NKRO | ||
| 74 | * | ||
| 75 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
| 76 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
| 77 | * makefile for this to work.) | ||
| 78 | * | ||
| 79 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
| 80 | * until the next keyboard reset. | ||
| 81 | * | ||
| 82 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
| 83 | * fully operational during normal computer usage. | ||
| 84 | * | ||
| 85 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
| 86 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
| 87 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
| 88 | * power-up. | ||
| 89 | * | ||
| 90 | */ | ||
| 91 | //#define FORCE_NKRO | ||
| 92 | |||
| 93 | /* | ||
| 94 | * Magic Key Options | ||
| 95 | * | ||
| 96 | * Magic keys are hotkey commands that allow control over firmware functions of | ||
| 97 | * the keyboard. They are best used in combination with the HID Listen program, | ||
| 98 | * found here: https://www.pjrc.com/teensy/hid_listen.html | ||
| 99 | * | ||
| 100 | * The options below allow the magic key functionality to be changed. This is | ||
| 101 | * useful if your keyboard/keypad is missing keys and you want magic key support. | ||
| 102 | * | ||
| 103 | */ | ||
| 104 | |||
| 105 | /* control how magic key switches layers */ | ||
| 106 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true | ||
| 107 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true | ||
| 108 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false | ||
| 109 | |||
| 110 | /* override magic key keymap */ | ||
| 111 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS | ||
| 112 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS | ||
| 113 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM | ||
| 114 | //#define MAGIC_KEY_HELP1 H | ||
| 115 | //#define MAGIC_KEY_HELP2 SLASH | ||
| 116 | //#define MAGIC_KEY_DEBUG D | ||
| 117 | //#define MAGIC_KEY_DEBUG_MATRIX X | ||
| 118 | //#define MAGIC_KEY_DEBUG_KBD K | ||
| 119 | //#define MAGIC_KEY_DEBUG_MOUSE M | ||
| 120 | //#define MAGIC_KEY_VERSION V | ||
| 121 | //#define MAGIC_KEY_STATUS S | ||
| 122 | //#define MAGIC_KEY_CONSOLE C | ||
| 123 | //#define MAGIC_KEY_LAYER0_ALT1 ESC | ||
| 124 | //#define MAGIC_KEY_LAYER0_ALT2 GRAVE | ||
| 125 | //#define MAGIC_KEY_LAYER0 0 | ||
| 126 | //#define MAGIC_KEY_LAYER1 1 | ||
| 127 | //#define MAGIC_KEY_LAYER2 2 | ||
| 128 | //#define MAGIC_KEY_LAYER3 3 | ||
| 129 | //#define MAGIC_KEY_LAYER4 4 | ||
| 130 | //#define MAGIC_KEY_LAYER5 5 | ||
| 131 | //#define MAGIC_KEY_LAYER6 6 | ||
| 132 | //#define MAGIC_KEY_LAYER7 7 | ||
| 133 | //#define MAGIC_KEY_LAYER8 8 | ||
| 134 | //#define MAGIC_KEY_LAYER9 9 | ||
| 135 | //#define MAGIC_KEY_BOOTLOADER PAUSE | ||
| 136 | //#define MAGIC_KEY_LOCK CAPS | ||
| 137 | //#define MAGIC_KEY_EEPROM E | ||
| 138 | //#define MAGIC_KEY_NKRO N | ||
| 139 | //#define MAGIC_KEY_SLEEP_LED Z | ||
| 140 | |||
| 141 | /* | ||
| 142 | * Feature disable options | ||
| 143 | * These options are also useful to firmware size reduction. | ||
| 144 | */ | ||
| 145 | |||
| 146 | /* disable debug print */ | ||
| 147 | //#define NO_DEBUG | ||
| 148 | |||
| 149 | /* disable print */ | ||
| 150 | //#define NO_PRINT | ||
| 151 | |||
| 152 | /* disable action features */ | ||
| 153 | //#define NO_ACTION_LAYER | ||
| 154 | //#define NO_ACTION_TAPPING | ||
| 155 | //#define NO_ACTION_ONESHOT | ||
| 156 | //#define NO_ACTION_MACRO | ||
| 157 | //#define NO_ACTION_FUNCTION | ||
| 158 | |||
| 159 | /* | ||
| 160 | * MIDI options | ||
| 161 | */ | ||
| 162 | |||
| 163 | /* Prevent use of disabled MIDI features in the keymap */ | ||
| 164 | //#define MIDI_ENABLE_STRICT 1 | ||
| 165 | |||
| 166 | /* enable basic MIDI features: | ||
| 167 | - MIDI notes can be sent when in Music mode is on | ||
| 168 | */ | ||
| 169 | //#define MIDI_BASIC | ||
| 170 | |||
| 171 | /* enable advanced MIDI features: | ||
| 172 | - MIDI notes can be added to the keymap | ||
| 173 | - Octave shift and transpose | ||
| 174 | - Virtual sustain, portamento, and modulation wheel | ||
| 175 | - etc. | ||
| 176 | */ | ||
| 177 | //#define MIDI_ADVANCED | ||
| 178 | |||
| 179 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | ||
| 180 | //#define MIDI_TONE_KEYCODE_OCTAVES 1 | ||
| 181 | |||
| 182 | #define WT_MONO_BACKLIGHT | ||
| 183 | |||
| 184 | #define DYNAMIC_KEYMAP_LAYER_COUNT 4 | ||
| 185 | |||
| 186 | // EEPROM usage | ||
| 187 | |||
| 188 | // TODO: refactor with new user EEPROM code (coming soon) | ||
| 189 | #define EEPROM_MAGIC 0x451F | ||
| 190 | #define EEPROM_MAGIC_ADDR 32 | ||
| 191 | // Bump this every time we change what we store | ||
| 192 | // This will automatically reset the EEPROM with defaults | ||
| 193 | // and avoid loading invalid data from the EEPROM | ||
| 194 | #define EEPROM_VERSION 0x08 | ||
| 195 | #define EEPROM_VERSION_ADDR 34 | ||
| 196 | |||
| 197 | // Dynamic keymap starts after EEPROM version | ||
| 198 | #define DYNAMIC_KEYMAP_EEPROM_ADDR 35 | ||
| 199 | // Dynamic macro starts after dynamic keymaps (35+(4*5*15*2)) = (35+600) | ||
| 200 | #define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 635 | ||
| 201 | #define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 389 | ||
| 202 | #define DYNAMIC_KEYMAP_MACRO_COUNT 16 | ||
diff --git a/keyboards/wilba_tech/wt65_b/info.json b/keyboards/wilba_tech/wt65_b/info.json new file mode 100644 index 000000000..dd6fe1af3 --- /dev/null +++ b/keyboards/wilba_tech/wt65_b/info.json | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "wilba.tech WT65-B", | ||
| 3 | "url": "https://wilba.tech", | ||
| 4 | "maintainer": "Wilba", | ||
| 5 | "bootloader": "atmel-dfu", | ||
| 6 | "width": 16, | ||
| 7 | "height": 5, | ||
| 8 | "layouts": { | ||
| 9 | "LAYOUT_all": { | ||
| 10 | "layout": [{"label":"Esc", "x":0, "y":0}, {"label":"!", "x":1, "y":0}, {"label":"@", "x":2, "y":0}, {"label":"#", "x":3, "y":0}, {"label":"$", "x":4, "y":0}, {"label":"%", "x":5, "y":0}, {"label":"^", "x":6, "y":0}, {"label":"&", "x":7, "y":0}, {"label":"*", "x":8, "y":0}, {"label":"(", "x":9, "y":0}, {"label":")", "x":10, "y":0}, {"label":"_", "x":11, "y":0}, {"label":"+", "x":12, "y":0}, {"label":"|", "x":13, "y":0}, {"label":"Del", "x":14, "y":0}, {"label":"Home", "x":15, "y":0}, {"label":"Tab", "x":0, "y":1, "w":1.5}, {"label":"Q", "x":1.5, "y":1}, {"label":"W", "x":2.5, "y":1}, {"label":"E", "x":3.5, "y":1}, {"label":"R", "x":4.5, "y":1}, {"label":"T", "x":5.5, "y":1}, {"label":"Y", "x":6.5, "y":1}, {"label":"U", "x":7.5, "y":1}, {"label":"I", "x":8.5, "y":1}, {"label":"O", "x":9.5, "y":1}, {"label":"P", "x":10.5, "y":1}, {"label":"{", "x":11.5, "y":1}, {"label":"}", "x":12.5, "y":1}, {"label":"Backspace", "x":13.5, "y":1, "w":1.5}, {"label":"End", "x":15, "y":1}, {"label":"Control", "x":0, "y":2, "w":1.75}, {"label":"A", "x":1.75, "y":2}, {"label":"S", "x":2.75, "y":2}, {"label":"D", "x":3.75, "y":2}, {"label":"F", "x":4.75, "y":2}, {"label":"G", "x":5.75, "y":2}, {"label":"H", "x":6.75, "y":2}, {"label":"J", "x":7.75, "y":2}, {"label":"K", "x":8.75, "y":2}, {"label":"L", "x":9.75, "y":2}, {"label":":", "x":10.75, "y":2}, {"label":"\"", "x":11.75, "y":2}, {"label":"Enter", "x":12.75, "y":2, "w":2.25}, {"label":"PgUp", "x":15, "y":2}, {"label":"Shift", "x":0, "y":3, "w":2.25}, {"label":"Z", "x":2.25, "y":3}, {"label":"X", "x":3.25, "y":3}, {"label":"C", "x":4.25, "y":3}, {"label":"V", "x":5.25, "y":3}, {"label":"B", "x":6.25, "y":3}, {"label":"N", "x":7.25, "y":3}, {"label":"M", "x":8.25, "y":3}, {"label":"<", "x":9.25, "y":3}, {"label":">", "x":10.25, "y":3}, {"label":"?", "x":11.25, "y":3}, {"label":"Shift", "x":12.25, "y":3, "w":1.75}, {"label":"Up", "x":14, "y":3}, {"label":"PgDn", "x":15, "y":3}, {"label":"Win", "x":0, "y":4, "w":1.5}, {"label":"Alt", "x":2.25, "y":4, "w":1.5}, {"x":3.75, "y":4, "w":7}, {"label":"Fn", "x":10.75, "y":4, "w":1.5}, {"label":"Left", "x":13, "y":4}, {"label":"Down", "x":14, "y":4}, {"label":"Right", "x":15, "y":4}] | ||
| 11 | } | ||
| 12 | } | ||
| 13 | } \ No newline at end of file | ||
diff --git a/keyboards/wilba_tech/wt65_b/keymaps/default/keymap.c b/keyboards/wilba_tech/wt65_b/keymaps/default/keymap.c new file mode 100644 index 000000000..41e5cb8be --- /dev/null +++ b/keyboards/wilba_tech/wt65_b/keymaps/default/keymap.c | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | |||
| 3 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 4 | |||
| 5 | // Default layer | ||
| 6 | [0] = LAYOUT_all( | ||
| 7 | KC_ESC, 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, | ||
| 8 | 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_PGUP, | ||
| 9 | 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, | ||
| 10 | 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, KC_END, | ||
| 11 | KC_LGUI, KC_LALT, KC_SPC, MO(1), KC_LEFT, KC_DOWN, KC_RGHT), | ||
| 12 | |||
| 13 | // Fn1 Layer | ||
| 14 | [1] = LAYOUT_all( | ||
| 15 | KC_GRV, 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, KC_DEL, KC_TRNS, | ||
| 16 | KC_CAPS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PSCR, KC_SLCK, KC_PAUS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 17 | KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_EJCT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 18 | 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, | ||
| 19 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), | ||
| 20 | |||
| 21 | // Fn2 Layer | ||
| 22 | [2] = LAYOUT_all( | ||
| 23 | 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, | ||
| 24 | 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, | ||
| 25 | 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, | ||
| 26 | 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, | ||
| 27 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), | ||
| 28 | |||
| 29 | // Fn3 Layer | ||
| 30 | [3] = LAYOUT_all( | ||
| 31 | 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, | ||
| 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, | ||
| 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, | ||
| 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), | ||
| 36 | }; | ||
| 37 | |||
diff --git a/keyboards/wilba_tech/wt65_b/keymaps/via/keymap.c b/keyboards/wilba_tech/wt65_b/keymaps/via/keymap.c new file mode 100644 index 000000000..41e5cb8be --- /dev/null +++ b/keyboards/wilba_tech/wt65_b/keymaps/via/keymap.c | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | |||
| 3 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 4 | |||
| 5 | // Default layer | ||
| 6 | [0] = LAYOUT_all( | ||
| 7 | KC_ESC, 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, | ||
| 8 | 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_PGUP, | ||
| 9 | 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, | ||
| 10 | 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, KC_END, | ||
| 11 | KC_LGUI, KC_LALT, KC_SPC, MO(1), KC_LEFT, KC_DOWN, KC_RGHT), | ||
| 12 | |||
| 13 | // Fn1 Layer | ||
| 14 | [1] = LAYOUT_all( | ||
| 15 | KC_GRV, 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, KC_DEL, KC_TRNS, | ||
| 16 | KC_CAPS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PSCR, KC_SLCK, KC_PAUS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 17 | KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_EJCT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 18 | 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, | ||
| 19 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), | ||
| 20 | |||
| 21 | // Fn2 Layer | ||
| 22 | [2] = LAYOUT_all( | ||
| 23 | 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, | ||
| 24 | 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, | ||
| 25 | 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, | ||
| 26 | 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, | ||
| 27 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), | ||
| 28 | |||
| 29 | // Fn3 Layer | ||
| 30 | [3] = LAYOUT_all( | ||
| 31 | 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, | ||
| 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, | ||
| 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, | ||
| 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), | ||
| 36 | }; | ||
| 37 | |||
diff --git a/keyboards/wilba_tech/wt65_b/keymaps/via/rules.mk b/keyboards/wilba_tech/wt65_b/keymaps/via/rules.mk new file mode 100644 index 000000000..76a07d7a4 --- /dev/null +++ b/keyboards/wilba_tech/wt65_b/keymaps/via/rules.mk | |||
| @@ -0,0 +1,71 @@ | |||
| 1 | # project specific files | ||
| 2 | SRC = drivers/issi/is31fl3736.c \ | ||
| 3 | drivers/avr/i2c_master.c \ | ||
| 4 | keyboards/wilba_tech/wt_mono_backlight.c \ | ||
| 5 | keyboards/wilba_tech/wt_main.c | ||
| 6 | |||
| 7 | # MCU name | ||
| 8 | MCU = atmega32u4 | ||
| 9 | |||
| 10 | # Processor frequency. | ||
| 11 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 12 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 13 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 14 | # automatically to create a 32-bit value in your source code. | ||
| 15 | # | ||
| 16 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 17 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 18 | # does not *change* the processor frequency - it should merely be updated to | ||
| 19 | # reflect the processor speed set externally so that the code can use accurate | ||
| 20 | # software delays. | ||
| 21 | F_CPU = 16000000 | ||
| 22 | |||
| 23 | |||
| 24 | # | ||
| 25 | # LUFA specific | ||
| 26 | # | ||
| 27 | # Target architecture (see library "Board Types" documentation). | ||
| 28 | ARCH = AVR8 | ||
| 29 | |||
| 30 | # Input clock frequency. | ||
| 31 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 32 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 33 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 34 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 35 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 36 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 37 | # source code. | ||
| 38 | # | ||
| 39 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 40 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 41 | F_USB = $(F_CPU) | ||
| 42 | |||
| 43 | # Interrupt driven control endpoint task(+60) | ||
| 44 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 45 | |||
| 46 | |||
| 47 | # Boot Section | ||
| 48 | BOOTLOADER = atmel-dfu | ||
| 49 | |||
| 50 | |||
| 51 | # Build Options | ||
| 52 | # change yes to no to disable | ||
| 53 | # | ||
| 54 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | ||
| 55 | MOUSEKEY_ENABLE = no # Mouse keys(+4700) | ||
| 56 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 57 | CONSOLE_ENABLE = no # Console for debug(+400) | ||
| 58 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 59 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 60 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 61 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 62 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
| 63 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default | ||
| 64 | MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config) | ||
| 65 | UNICODE_ENABLE = no # Unicode | ||
| 66 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 67 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 68 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | ||
| 69 | |||
| 70 | RAW_ENABLE = yes | ||
| 71 | DYNAMIC_KEYMAP_ENABLE = yes \ No newline at end of file | ||
diff --git a/keyboards/wilba_tech/wt65_b/readme.md b/keyboards/wilba_tech/wt65_b/readme.md new file mode 100644 index 000000000..e90b44770 --- /dev/null +++ b/keyboards/wilba_tech/wt65_b/readme.md | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | # wilba.tech WT65-B | ||
| 2 | |||
| 3 | WT65-B is a keyboard PCB supporting 65% layout with two bottom row blockers, designed for the Dixie Mech Bauer. [More info at wilba.tech](https://wilba.tech/) | ||
| 4 | |||
| 5 | Keyboard Maintainer: [Wilba6582](https://github.com/Wilba6582) | ||
| 6 | Hardware Supported: wilba.tech WT65-B | ||
| 7 | Hardware Availability: Dixie Mech | ||
| 8 | |||
| 9 | Make example for this keyboard (after setting up your build environment): | ||
| 10 | |||
| 11 | make wilba_tech/wt65_b: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/wilba_tech/wt65_b/rules.mk b/keyboards/wilba_tech/wt65_b/rules.mk new file mode 100644 index 000000000..e41f2186b --- /dev/null +++ b/keyboards/wilba_tech/wt65_b/rules.mk | |||
| @@ -0,0 +1,68 @@ | |||
| 1 | # project specific files | ||
| 2 | SRC = drivers/issi/is31fl3736.c \ | ||
| 3 | drivers/avr/i2c_master.c \ | ||
| 4 | keyboards/wilba_tech/wt_mono_backlight.c \ | ||
| 5 | keyboards/wilba_tech/wt_main.c | ||
| 6 | |||
| 7 | # MCU name | ||
| 8 | MCU = atmega32u4 | ||
| 9 | |||
| 10 | # Processor frequency. | ||
| 11 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 12 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 13 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 14 | # automatically to create a 32-bit value in your source code. | ||
| 15 | # | ||
| 16 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 17 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 18 | # does not *change* the processor frequency - it should merely be updated to | ||
| 19 | # reflect the processor speed set externally so that the code can use accurate | ||
| 20 | # software delays. | ||
| 21 | F_CPU = 16000000 | ||
| 22 | |||
| 23 | |||
| 24 | # | ||
| 25 | # LUFA specific | ||
| 26 | # | ||
| 27 | # Target architecture (see library "Board Types" documentation). | ||
| 28 | ARCH = AVR8 | ||
| 29 | |||
| 30 | # Input clock frequency. | ||
| 31 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 32 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 33 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 34 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 35 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 36 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 37 | # source code. | ||
| 38 | # | ||
| 39 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 40 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 41 | F_USB = $(F_CPU) | ||
| 42 | |||
| 43 | # Interrupt driven control endpoint task(+60) | ||
| 44 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 45 | |||
| 46 | |||
| 47 | # Boot Section | ||
| 48 | BOOTLOADER = atmel-dfu | ||
| 49 | |||
| 50 | |||
| 51 | # Build Options | ||
| 52 | # change yes to no to disable | ||
| 53 | # | ||
| 54 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | ||
| 55 | MOUSEKEY_ENABLE = no # Mouse keys(+4700) | ||
| 56 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 57 | CONSOLE_ENABLE = no # Console for debug(+400) | ||
| 58 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 59 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 60 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 61 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 62 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
| 63 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default | ||
| 64 | MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config) | ||
| 65 | UNICODE_ENABLE = no # Unicode | ||
| 66 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 67 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 68 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | ||
diff --git a/keyboards/wilba_tech/wt65_b/wt65_b.c b/keyboards/wilba_tech/wt65_b/wt65_b.c new file mode 100644 index 000000000..365f2e886 --- /dev/null +++ b/keyboards/wilba_tech/wt65_b/wt65_b.c | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | /* Copyright 2019 Jason Williams (Wilba) | ||
| 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 | // Nothing to see here, move along... ;-) | ||
diff --git a/keyboards/wilba_tech/wt65_b/wt65_b.h b/keyboards/wilba_tech/wt65_b/wt65_b.h new file mode 100644 index 000000000..daad7e922 --- /dev/null +++ b/keyboards/wilba_tech/wt65_b/wt65_b.h | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | /* Copyright 2019 Jason Williams (Wilba) | ||
| 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 ____ KC_NO | ||
| 22 | |||
| 23 | // Right switch of split backspace is at 2,13 and is the only switch | ||
| 24 | // whose physical position doesn't match switch matrix position :-( | ||
| 25 | // However, it also makes no sense to view the physical as 16 columns, | ||
| 26 | // so the numbering goes 00 to 14. Deal with it. | ||
| 27 | |||
| 28 | #define LAYOUT_all( \ | ||
| 29 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K213, K014, \ | ||
| 30 | K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, \ | ||
| 31 | K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K214, \ | ||
| 32 | K300, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, \ | ||
| 33 | K400, K402, K406, K411, K412, K413, K414 \ | ||
| 34 | ) { \ | ||
| 35 | { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014 }, \ | ||
| 36 | { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114 }, \ | ||
| 37 | { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214 }, \ | ||
| 38 | { K300, ____, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314 }, \ | ||
| 39 | { K400, ____, K402, ____, ____, ____, K406, ____, ____, ____, ____, K411, K412, K413, K414 } \ | ||
| 40 | } | ||
| 41 | |||
diff --git a/keyboards/wilba_tech/wt69_a/config.h b/keyboards/wilba_tech/wt69_a/config.h index 69425e8e4..653e90d47 100644 --- a/keyboards/wilba_tech/wt69_a/config.h +++ b/keyboards/wilba_tech/wt69_a/config.h | |||
| @@ -52,7 +52,7 @@ | |||
| 52 | // #define BACKLIGHT_LEVELS 3 | 52 | // #define BACKLIGHT_LEVELS 3 |
| 53 | 53 | ||
| 54 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | 54 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ |
| 55 | #define DEBOUNCING_DELAY 5 | 55 | #define DEBOUNCE 5 |
| 56 | 56 | ||
| 57 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | 57 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ |
| 58 | //#define MATRIX_HAS_GHOST | 58 | //#define MATRIX_HAS_GHOST |
diff --git a/keyboards/wilba_tech/wt69_a/readme.md b/keyboards/wilba_tech/wt69_a/readme.md index 03ab90d09..90afa2533 100644 --- a/keyboards/wilba_tech/wt69_a/readme.md +++ b/keyboards/wilba_tech/wt69_a/readme.md | |||
| @@ -1,11 +1,11 @@ | |||
| 1 | # WILBA.TECH WT69-A | 1 | # wilba.tech WT69-A |
| 2 | 2 | ||
| 3 |  | 3 |  |
| 4 | 4 | ||
| 5 | WT69-A is a keyboard PCB supporting 65% layout with 0.5U blocker and left side function keys. [More info at wilba.tech](https://wilba.tech/) | 5 | WT69-A is a keyboard PCB supporting 65% layout with 0.5U blocker and left side function keys. [More info at wilba.tech](https://wilba.tech/) |
| 6 | 6 | ||
| 7 | Keyboard Maintainer: [Wilba6582](https://github.com/Wilba6582) | 7 | Keyboard Maintainer: [Wilba6582](https://github.com/Wilba6582) |
| 8 | Hardware Supported: WILBA.TECH WT69-A | 8 | Hardware Supported: wilba.tech WT69-A |
| 9 | Hardware Availability: Custom keyboard group buys | 9 | Hardware Availability: Custom keyboard group buys |
| 10 | 10 | ||
| 11 | Make example for this keyboard (after setting up your build environment): | 11 | Make example for this keyboard (after setting up your build environment): |
diff --git a/keyboards/wilba_tech/wt75_a/config.h b/keyboards/wilba_tech/wt75_a/config.h index 8400447f0..8d7025a60 100644 --- a/keyboards/wilba_tech/wt75_a/config.h +++ b/keyboards/wilba_tech/wt75_a/config.h | |||
| @@ -52,7 +52,7 @@ | |||
| 52 | // #define BACKLIGHT_LEVELS 3 | 52 | // #define BACKLIGHT_LEVELS 3 |
| 53 | 53 | ||
| 54 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | 54 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ |
| 55 | #define DEBOUNCING_DELAY 5 | 55 | #define DEBOUNCE 5 |
| 56 | 56 | ||
| 57 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | 57 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ |
| 58 | //#define MATRIX_HAS_GHOST | 58 | //#define MATRIX_HAS_GHOST |
| @@ -196,7 +196,7 @@ | |||
| 196 | 196 | ||
| 197 | // Dynamic keymap starts after EEPROM version | 197 | // Dynamic keymap starts after EEPROM version |
| 198 | #define DYNAMIC_KEYMAP_EEPROM_ADDR 35 | 198 | #define DYNAMIC_KEYMAP_EEPROM_ADDR 35 |
| 199 | // Dynamic macro starts after dynamic keymaps (35+(4*5*15*2)) = (35+600) | 199 | // Dynamic macro starts after dynamic keymaps (35+(4*6*15*2)) = (35+720) |
| 200 | #define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 635 | 200 | #define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 755 |
| 201 | #define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 389 | 201 | #define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 269 |
| 202 | #define DYNAMIC_KEYMAP_MACRO_COUNT 16 | 202 | #define DYNAMIC_KEYMAP_MACRO_COUNT 16 |
diff --git a/keyboards/wilba_tech/wt75_a/readme.md b/keyboards/wilba_tech/wt75_a/readme.md index 027081360..73589fefc 100644 --- a/keyboards/wilba_tech/wt75_a/readme.md +++ b/keyboards/wilba_tech/wt75_a/readme.md | |||
| @@ -1,11 +1,9 @@ | |||
| 1 | # WILBA.TECH WT75-A | 1 | # wilba.tech WT75-A |
| 2 | |||
| 3 |  | ||
| 4 | 2 | ||
| 5 | WT75-A is a keyboard PCB supporting 75% layout with 0.25U blocker. [More info at wilba.tech](https://wilba.tech/) | 3 | WT75-A is a keyboard PCB supporting 75% layout with 0.25U blocker. [More info at wilba.tech](https://wilba.tech/) |
| 6 | 4 | ||
| 7 | Keyboard Maintainer: [Wilba6582](https://github.com/Wilba6582) | 5 | Keyboard Maintainer: [Wilba6582](https://github.com/Wilba6582) |
| 8 | Hardware Supported: WILBA.TECH WT75-A | 6 | Hardware Supported: wilba.tech WT75-A |
| 9 | Hardware Availability: Custom keyboard group buys | 7 | Hardware Availability: Custom keyboard group buys |
| 10 | 8 | ||
| 11 | Make example for this keyboard (after setting up your build environment): | 9 | Make example for this keyboard (after setting up your build environment): |
diff --git a/keyboards/wilba_tech/wt75_b/config.h b/keyboards/wilba_tech/wt75_b/config.h new file mode 100644 index 000000000..c9b37755f --- /dev/null +++ b/keyboards/wilba_tech/wt75_b/config.h | |||
| @@ -0,0 +1,202 @@ | |||
| 1 | /* Copyright 2019 Jason Williams (Wilba) | ||
| 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 0x6582 // wilba.tech | ||
| 23 | #define PRODUCT_ID 0x075B // 75-B | ||
| 24 | #define DEVICE_VER 0x0001 | ||
| 25 | #define MANUFACTURER wilba.tech | ||
| 26 | #define PRODUCT wilba.tech WT75-B | ||
| 27 | #define DESCRIPTION wilba.tech WT75-B | ||
| 28 | |||
| 29 | /* key matrix size */ | ||
| 30 | #define MATRIX_ROWS 6 | ||
| 31 | #define MATRIX_COLS 16 | ||
| 32 | |||
| 33 | /* | ||
| 34 | * Keyboard Matrix Assignments | ||
| 35 | * | ||
| 36 | * Change this to how you wired your keyboard | ||
| 37 | * COLS: AVR pins used for columns, left to right | ||
| 38 | * ROWS: AVR pins used for rows, top to bottom | ||
| 39 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
| 40 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
| 41 | * | ||
| 42 | */ | ||
| 43 | #define MATRIX_ROW_PINS { F1, F0, E6, F4, F6, F7 } | ||
| 44 | #define MATRIX_COL_PINS { F5, D5, B1, B7, B3, D3, D2, C7, C6, B6, B5, B4, D7, D6, B2, D4 } | ||
| 45 | #define UNUSED_PINS | ||
| 46 | |||
| 47 | /* COL2ROW, ROW2COL */ | ||
| 48 | #define DIODE_DIRECTION ROW2COL | ||
| 49 | |||
| 50 | // #define BACKLIGHT_PIN B7 | ||
| 51 | // #define BACKLIGHT_BREATHING | ||
| 52 | // #define BACKLIGHT_LEVELS 3 | ||
| 53 | |||
| 54 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 55 | #define DEBOUNCE 5 | ||
| 56 | |||
| 57 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
| 58 | //#define MATRIX_HAS_GHOST | ||
| 59 | |||
| 60 | /* number of backlight levels */ | ||
| 61 | |||
| 62 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 63 | #define LOCKING_SUPPORT_ENABLE | ||
| 64 | /* Locking resynchronize hack */ | ||
| 65 | #define LOCKING_RESYNC_ENABLE | ||
| 66 | |||
| 67 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
| 68 | * This is userful for the Windows task manager shortcut (ctrl+shift+esc). | ||
| 69 | */ | ||
| 70 | // #define GRAVE_ESC_CTRL_OVERRIDE | ||
| 71 | |||
| 72 | /* | ||
| 73 | * Force NKRO | ||
| 74 | * | ||
| 75 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
| 76 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
| 77 | * makefile for this to work.) | ||
| 78 | * | ||
| 79 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
| 80 | * until the next keyboard reset. | ||
| 81 | * | ||
| 82 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
| 83 | * fully operational during normal computer usage. | ||
| 84 | * | ||
| 85 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
| 86 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
| 87 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
| 88 | * power-up. | ||
| 89 | * | ||
| 90 | */ | ||
| 91 | //#define FORCE_NKRO | ||
| 92 | |||
| 93 | /* | ||
| 94 | * Magic Key Options | ||
| 95 | * | ||
| 96 | * Magic keys are hotkey commands that allow control over firmware functions of | ||
| 97 | * the keyboard. They are best used in combination with the HID Listen program, | ||
| 98 | * found here: https://www.pjrc.com/teensy/hid_listen.html | ||
| 99 | * | ||
| 100 | * The options below allow the magic key functionality to be changed. This is | ||
| 101 | * useful if your keyboard/keypad is missing keys and you want magic key support. | ||
| 102 | * | ||
| 103 | */ | ||
| 104 | |||
| 105 | /* control how magic key switches layers */ | ||
| 106 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true | ||
| 107 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true | ||
| 108 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false | ||
| 109 | |||
| 110 | /* override magic key keymap */ | ||
| 111 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS | ||
| 112 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS | ||
| 113 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM | ||
| 114 | //#define MAGIC_KEY_HELP1 H | ||
| 115 | //#define MAGIC_KEY_HELP2 SLASH | ||
| 116 | //#define MAGIC_KEY_DEBUG D | ||
| 117 | //#define MAGIC_KEY_DEBUG_MATRIX X | ||
| 118 | //#define MAGIC_KEY_DEBUG_KBD K | ||
| 119 | //#define MAGIC_KEY_DEBUG_MOUSE M | ||
| 120 | //#define MAGIC_KEY_VERSION V | ||
| 121 | //#define MAGIC_KEY_STATUS S | ||
| 122 | //#define MAGIC_KEY_CONSOLE C | ||
| 123 | //#define MAGIC_KEY_LAYER0_ALT1 ESC | ||
| 124 | //#define MAGIC_KEY_LAYER0_ALT2 GRAVE | ||
| 125 | //#define MAGIC_KEY_LAYER0 0 | ||
| 126 | //#define MAGIC_KEY_LAYER1 1 | ||
| 127 | //#define MAGIC_KEY_LAYER2 2 | ||
| 128 | //#define MAGIC_KEY_LAYER3 3 | ||
| 129 | //#define MAGIC_KEY_LAYER4 4 | ||
| 130 | //#define MAGIC_KEY_LAYER5 5 | ||
| 131 | //#define MAGIC_KEY_LAYER6 6 | ||
| 132 | //#define MAGIC_KEY_LAYER7 7 | ||
| 133 | //#define MAGIC_KEY_LAYER8 8 | ||
| 134 | //#define MAGIC_KEY_LAYER9 9 | ||
| 135 | //#define MAGIC_KEY_BOOTLOADER PAUSE | ||
| 136 | //#define MAGIC_KEY_LOCK CAPS | ||
| 137 | //#define MAGIC_KEY_EEPROM E | ||
| 138 | //#define MAGIC_KEY_NKRO N | ||
| 139 | //#define MAGIC_KEY_SLEEP_LED Z | ||
| 140 | |||
| 141 | /* | ||
| 142 | * Feature disable options | ||
| 143 | * These options are also useful to firmware size reduction. | ||
| 144 | */ | ||
| 145 | |||
| 146 | /* disable debug print */ | ||
| 147 | //#define NO_DEBUG | ||
| 148 | |||
| 149 | /* disable print */ | ||
| 150 | //#define NO_PRINT | ||
| 151 | |||
| 152 | /* disable action features */ | ||
| 153 | //#define NO_ACTION_LAYER | ||
| 154 | //#define NO_ACTION_TAPPING | ||
| 155 | //#define NO_ACTION_ONESHOT | ||
| 156 | //#define NO_ACTION_MACRO | ||
| 157 | //#define NO_ACTION_FUNCTION | ||
| 158 | |||
| 159 | /* | ||
| 160 | * MIDI options | ||
| 161 | */ | ||
| 162 | |||
| 163 | /* Prevent use of disabled MIDI features in the keymap */ | ||
| 164 | //#define MIDI_ENABLE_STRICT 1 | ||
| 165 | |||
| 166 | /* enable basic MIDI features: | ||
| 167 | - MIDI notes can be sent when in Music mode is on | ||
| 168 | */ | ||
| 169 | //#define MIDI_BASIC | ||
| 170 | |||
| 171 | /* enable advanced MIDI features: | ||
| 172 | - MIDI notes can be added to the keymap | ||
| 173 | - Octave shift and transpose | ||
| 174 | - Virtual sustain, portamento, and modulation wheel | ||
| 175 | - etc. | ||
| 176 | */ | ||
| 177 | //#define MIDI_ADVANCED | ||
| 178 | |||
| 179 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | ||
| 180 | //#define MIDI_TONE_KEYCODE_OCTAVES 1 | ||
| 181 | |||
| 182 | #define WT_MONO_BACKLIGHT | ||
| 183 | |||
| 184 | #define DYNAMIC_KEYMAP_LAYER_COUNT 4 | ||
| 185 | |||
| 186 | // EEPROM usage | ||
| 187 | |||
| 188 | // TODO: refactor with new user EEPROM code (coming soon) | ||
| 189 | #define EEPROM_MAGIC 0x451F | ||
| 190 | #define EEPROM_MAGIC_ADDR 32 | ||
| 191 | // Bump this every time we change what we store | ||
| 192 | // This will automatically reset the EEPROM with defaults | ||
| 193 | // and avoid loading invalid data from the EEPROM | ||
| 194 | #define EEPROM_VERSION 0x08 | ||
| 195 | #define EEPROM_VERSION_ADDR 34 | ||
| 196 | |||
| 197 | // Dynamic keymap starts after EEPROM version | ||
| 198 | #define DYNAMIC_KEYMAP_EEPROM_ADDR 35 | ||
| 199 | // Dynamic macro starts after dynamic keymaps (35+(4*6*16*2)) = (35+768) | ||
| 200 | #define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 803 | ||
| 201 | #define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 221 | ||
| 202 | #define DYNAMIC_KEYMAP_MACRO_COUNT 16 | ||
diff --git a/keyboards/wilba_tech/wt75_b/info.json b/keyboards/wilba_tech/wt75_b/info.json new file mode 100644 index 000000000..92947cf87 --- /dev/null +++ b/keyboards/wilba_tech/wt75_b/info.json | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "wilba.tech WT75-B", | ||
| 3 | "url": "https://wilba.tech", | ||
| 4 | "maintainer": "Wilba", | ||
| 5 | "bootloader": "atmel-dfu", | ||
| 6 | "width": 16, | ||
| 7 | "height": 6, | ||
| 8 | "layouts": { | ||
| 9 | "LAYOUT": { | ||
| 10 | "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0}, {"x":12, "y":0}, {"x":13, "y":0}, {"x":14, "y":0}, {"x":15, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}, {"x":4, "y":1}, {"x":5, "y":1}, {"x":6, "y":1}, {"x":7, "y":1}, {"x":8, "y":1}, {"x":9, "y":1}, {"x":10, "y":1}, {"x":11, "y":1}, {"x":12, "y":1}, {"x":13, "y":1}, {"x":14, "y":1}, {"x":15, "y":1}, {"x":0, "y":2, "w":1.5}, {"x":1.5, "y":2}, {"x":2.5, "y":2}, {"x":3.5, "y":2}, {"x":4.5, "y":2}, {"x":5.5, "y":2}, {"x":6.5, "y":2}, {"x":7.5, "y":2}, {"x":8.5, "y":2}, {"x":9.5, "y":2}, {"x":10.5, "y":2}, {"x":11.5, "y":2}, {"x":12.5, "y":2}, {"x":13.5, "y":2, "w":1.5}, {"x":15, "y":2}, {"x":0, "y":3, "w":1.75}, {"x":1.75, "y":3}, {"x":2.75, "y":3}, {"x":3.75, "y":3}, {"x":4.75, "y":3}, {"x":5.75, "y":3}, {"x":6.75, "y":3}, {"x":7.75, "y":3}, {"x":8.75, "y":3}, {"x":9.75, "y":3}, {"x":10.75, "y":3}, {"x":11.75, "y":3}, {"x":12.75, "y":3, "w":2.25}, {"x":15, "y":3}, {"x":0, "y":4, "w":2.25}, {"x":2.25, "y":4}, {"x":3.25, "y":4}, {"x":4.25, "y":4}, {"x":5.25, "y":4}, {"x":6.25, "y":4}, {"x":7.25, "y":4}, {"x":8.25, "y":4}, {"x":9.25, "y":4}, {"x":10.25, "y":4}, {"x":11.25, "y":4}, {"x":12.25, "y":4, "w":1.75}, {"x":14, "y":4}, {"x":15, "y":4}, {"x":0, "y":5, "w":1.25}, {"x":1.25, "y":5, "w":1.25}, {"x":2.5, "y":5, "w":1.25}, {"x":3.75, "y":5, "w":6.25}, {"x":10, "y":5, "w":1.25}, {"x":11.25, "y":5, "w":1.25}, {"x":13, "y":5}, {"x":14, "y":5}, {"x":15, "y":5}] | ||
| 11 | } | ||
| 12 | } | ||
| 13 | } | ||
| 14 | |||
diff --git a/keyboards/wilba_tech/wt75_b/keymaps/default/keymap.c b/keyboards/wilba_tech/wt75_b/keymaps/default/keymap.c new file mode 100644 index 000000000..41d3734db --- /dev/null +++ b/keyboards/wilba_tech/wt75_b/keymaps/default/keymap.c | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | |||
| 3 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 4 | |||
| 5 | // Default layer | ||
| 6 | [0] = LAYOUT_all( | ||
| 7 | 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_PAUS, KC_DEL, | ||
| 8 | 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_BSPC, KC_HOME, | ||
| 9 | 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_BSLS, KC_PGUP, | ||
| 10 | 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_ENT, KC_PGDN, | ||
| 11 | 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, KC_END, | ||
| 12 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT), | ||
| 13 | |||
| 14 | // Fn1 Layer | ||
| 15 | [1] = LAYOUT_all( | ||
| 16 | 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, | ||
| 17 | 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, | ||
| 18 | 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, | ||
| 19 | 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, | ||
| 20 | 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, | ||
| 21 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), | ||
| 22 | |||
| 23 | // Fn2 Layer | ||
| 24 | [2] = LAYOUT_all( | ||
| 25 | 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, | ||
| 26 | 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, | ||
| 27 | 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, | ||
| 28 | 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, | ||
| 29 | 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, | ||
| 30 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), | ||
| 31 | |||
| 32 | // Fn3 Layer | ||
| 33 | [3] = LAYOUT_all( | ||
| 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, 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, 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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 37 | 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, | ||
| 38 | 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, | ||
| 39 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), | ||
| 40 | }; | ||
| 41 | |||
diff --git a/keyboards/wilba_tech/wt75_b/keymaps/via/keymap.c b/keyboards/wilba_tech/wt75_b/keymaps/via/keymap.c new file mode 100644 index 000000000..41d3734db --- /dev/null +++ b/keyboards/wilba_tech/wt75_b/keymaps/via/keymap.c | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | |||
| 3 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 4 | |||
| 5 | // Default layer | ||
| 6 | [0] = LAYOUT_all( | ||
| 7 | 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_PAUS, KC_DEL, | ||
| 8 | 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_BSPC, KC_HOME, | ||
| 9 | 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_BSLS, KC_PGUP, | ||
| 10 | 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_ENT, KC_PGDN, | ||
| 11 | 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, KC_END, | ||
| 12 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT), | ||
| 13 | |||
| 14 | // Fn1 Layer | ||
| 15 | [1] = LAYOUT_all( | ||
| 16 | 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, | ||
| 17 | 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, | ||
| 18 | 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, | ||
| 19 | 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, | ||
| 20 | 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, | ||
| 21 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), | ||
| 22 | |||
| 23 | // Fn2 Layer | ||
| 24 | [2] = LAYOUT_all( | ||
| 25 | 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, | ||
| 26 | 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, | ||
| 27 | 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, | ||
| 28 | 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, | ||
| 29 | 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, | ||
| 30 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), | ||
| 31 | |||
| 32 | // Fn3 Layer | ||
| 33 | [3] = LAYOUT_all( | ||
| 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, 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, 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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 37 | 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, | ||
| 38 | 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, | ||
| 39 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), | ||
| 40 | }; | ||
| 41 | |||
diff --git a/keyboards/wilba_tech/wt75_b/keymaps/via/rules.mk b/keyboards/wilba_tech/wt75_b/keymaps/via/rules.mk new file mode 100644 index 000000000..76a07d7a4 --- /dev/null +++ b/keyboards/wilba_tech/wt75_b/keymaps/via/rules.mk | |||
| @@ -0,0 +1,71 @@ | |||
| 1 | # project specific files | ||
| 2 | SRC = drivers/issi/is31fl3736.c \ | ||
| 3 | drivers/avr/i2c_master.c \ | ||
| 4 | keyboards/wilba_tech/wt_mono_backlight.c \ | ||
| 5 | keyboards/wilba_tech/wt_main.c | ||
| 6 | |||
| 7 | # MCU name | ||
| 8 | MCU = atmega32u4 | ||
| 9 | |||
| 10 | # Processor frequency. | ||
| 11 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 12 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 13 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 14 | # automatically to create a 32-bit value in your source code. | ||
| 15 | # | ||
| 16 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 17 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 18 | # does not *change* the processor frequency - it should merely be updated to | ||
| 19 | # reflect the processor speed set externally so that the code can use accurate | ||
| 20 | # software delays. | ||
| 21 | F_CPU = 16000000 | ||
| 22 | |||
| 23 | |||
| 24 | # | ||
| 25 | # LUFA specific | ||
| 26 | # | ||
| 27 | # Target architecture (see library "Board Types" documentation). | ||
| 28 | ARCH = AVR8 | ||
| 29 | |||
| 30 | # Input clock frequency. | ||
| 31 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 32 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 33 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 34 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 35 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 36 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 37 | # source code. | ||
| 38 | # | ||
| 39 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 40 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 41 | F_USB = $(F_CPU) | ||
| 42 | |||
| 43 | # Interrupt driven control endpoint task(+60) | ||
| 44 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 45 | |||
| 46 | |||
| 47 | # Boot Section | ||
| 48 | BOOTLOADER = atmel-dfu | ||
| 49 | |||
| 50 | |||
| 51 | # Build Options | ||
| 52 | # change yes to no to disable | ||
| 53 | # | ||
| 54 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | ||
| 55 | MOUSEKEY_ENABLE = no # Mouse keys(+4700) | ||
| 56 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 57 | CONSOLE_ENABLE = no # Console for debug(+400) | ||
| 58 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 59 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 60 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 61 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 62 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
| 63 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default | ||
| 64 | MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config) | ||
| 65 | UNICODE_ENABLE = no # Unicode | ||
| 66 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 67 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 68 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | ||
| 69 | |||
| 70 | RAW_ENABLE = yes | ||
| 71 | DYNAMIC_KEYMAP_ENABLE = yes \ No newline at end of file | ||
diff --git a/keyboards/wilba_tech/wt75_b/readme.md b/keyboards/wilba_tech/wt75_b/readme.md new file mode 100644 index 000000000..bfaadbce6 --- /dev/null +++ b/keyboards/wilba_tech/wt75_b/readme.md | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | # wilba.tech WT75-B | ||
| 2 | |||
| 3 | WT75-B is a keyboard PCB supporting 75% layout with 0.25U blocker, designed for the Singa R3. [More info at wilba.tech](https://wilba.tech/) | ||
| 4 | |||
| 5 | Keyboard Maintainer: [Wilba6582](https://github.com/Wilba6582) | ||
| 6 | Hardware Supported: wilba.tech WT75-B | ||
| 7 | Hardware Availability: Singa Keyboards | ||
| 8 | |||
| 9 | Make example for this keyboard (after setting up your build environment): | ||
| 10 | |||
| 11 | make wilba_tech/wt75_b: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). \ No newline at end of file | ||
diff --git a/keyboards/wilba_tech/wt75_b/rules.mk b/keyboards/wilba_tech/wt75_b/rules.mk new file mode 100644 index 000000000..e41f2186b --- /dev/null +++ b/keyboards/wilba_tech/wt75_b/rules.mk | |||
| @@ -0,0 +1,68 @@ | |||
| 1 | # project specific files | ||
| 2 | SRC = drivers/issi/is31fl3736.c \ | ||
| 3 | drivers/avr/i2c_master.c \ | ||
| 4 | keyboards/wilba_tech/wt_mono_backlight.c \ | ||
| 5 | keyboards/wilba_tech/wt_main.c | ||
| 6 | |||
| 7 | # MCU name | ||
| 8 | MCU = atmega32u4 | ||
| 9 | |||
| 10 | # Processor frequency. | ||
| 11 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 12 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 13 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 14 | # automatically to create a 32-bit value in your source code. | ||
| 15 | # | ||
| 16 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 17 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 18 | # does not *change* the processor frequency - it should merely be updated to | ||
| 19 | # reflect the processor speed set externally so that the code can use accurate | ||
| 20 | # software delays. | ||
| 21 | F_CPU = 16000000 | ||
| 22 | |||
| 23 | |||
| 24 | # | ||
| 25 | # LUFA specific | ||
| 26 | # | ||
| 27 | # Target architecture (see library "Board Types" documentation). | ||
| 28 | ARCH = AVR8 | ||
| 29 | |||
| 30 | # Input clock frequency. | ||
| 31 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 32 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 33 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 34 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 35 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 36 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 37 | # source code. | ||
| 38 | # | ||
| 39 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 40 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 41 | F_USB = $(F_CPU) | ||
| 42 | |||
| 43 | # Interrupt driven control endpoint task(+60) | ||
| 44 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 45 | |||
| 46 | |||
| 47 | # Boot Section | ||
| 48 | BOOTLOADER = atmel-dfu | ||
| 49 | |||
| 50 | |||
| 51 | # Build Options | ||
| 52 | # change yes to no to disable | ||
| 53 | # | ||
| 54 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | ||
| 55 | MOUSEKEY_ENABLE = no # Mouse keys(+4700) | ||
| 56 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 57 | CONSOLE_ENABLE = no # Console for debug(+400) | ||
| 58 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 59 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 60 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 61 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 62 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
| 63 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default | ||
| 64 | MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config) | ||
| 65 | UNICODE_ENABLE = no # Unicode | ||
| 66 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 67 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 68 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | ||
diff --git a/keyboards/wilba_tech/wt75_b/wt75_b.c b/keyboards/wilba_tech/wt75_b/wt75_b.c new file mode 100644 index 000000000..ccff6d62c --- /dev/null +++ b/keyboards/wilba_tech/wt75_b/wt75_b.c | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | /* Copyright 2018 Jason Williams (Wilba) | ||
| 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 | // Nothing to see here, move along... ;-) | ||
diff --git a/keyboards/wilba_tech/wt75_b/wt75_b.h b/keyboards/wilba_tech/wt75_b/wt75_b.h new file mode 100644 index 000000000..bdac6bccf --- /dev/null +++ b/keyboards/wilba_tech/wt75_b/wt75_b.h | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | /* Copyright 2018 Jason Williams (Wilba) | ||
| 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 ____ KC_NO | ||
| 22 | |||
| 23 | #define LAYOUT_all( \ | ||
| 24 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015, \ | ||
| 25 | K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, \ | ||
| 26 | K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K215, \ | ||
| 27 | K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K315, \ | ||
| 28 | K400, K402, K403, K404, K405, K406, K407, K408, K409, K410, K411, K412, K413, K415, \ | ||
| 29 | K500, K501, K502, K506, K510, K511, K512, K513, K515 \ | ||
| 30 | ) { \ | ||
| 31 | { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015 }, \ | ||
| 32 | { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115 }, \ | ||
| 33 | { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, ____, K215 }, \ | ||
| 34 | { K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, ____, ____, K315 }, \ | ||
| 35 | { K400, ____, K402, K403, K404, K405, K406, K407, K408, K409, K410, K411, K412, K413, ____, K415 }, \ | ||
| 36 | { K500, K501, K502, ____, ____, ____, K506, ____, ____, ____, K510, K511, K512, K513, ____, K515 } \ | ||
| 37 | } | ||
diff --git a/keyboards/wilba_tech/wt80_a/config.h b/keyboards/wilba_tech/wt80_a/config.h index 7bdcf7f70..5a825c3f7 100644 --- a/keyboards/wilba_tech/wt80_a/config.h +++ b/keyboards/wilba_tech/wt80_a/config.h | |||
| @@ -52,7 +52,7 @@ | |||
| 52 | // #define BACKLIGHT_LEVELS 3 | 52 | // #define BACKLIGHT_LEVELS 3 |
| 53 | 53 | ||
| 54 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | 54 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ |
| 55 | #define DEBOUNCING_DELAY 5 | 55 | #define DEBOUNCE 5 |
| 56 | 56 | ||
| 57 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | 57 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ |
| 58 | //#define MATRIX_HAS_GHOST | 58 | //#define MATRIX_HAS_GHOST |
diff --git a/keyboards/wilba_tech/wt80_a/readme.md b/keyboards/wilba_tech/wt80_a/readme.md index 011805748..8bddecade 100644 --- a/keyboards/wilba_tech/wt80_a/readme.md +++ b/keyboards/wilba_tech/wt80_a/readme.md | |||
| @@ -1,11 +1,9 @@ | |||
| 1 | # WILBA.TECH WT80-A | 1 | # wilba.tech WT80-A |
| 2 | |||
| 3 |  | ||
| 4 | 2 | ||
| 5 | WT80-A is a keyboard PCB supporting TKL layout with 0.25U gaps. [More info at wilba.tech](https://wilba.tech/) | 3 | WT80-A is a keyboard PCB supporting TKL layout with 0.25U gaps. [More info at wilba.tech](https://wilba.tech/) |
| 6 | 4 | ||
| 7 | Keyboard Maintainer: [Wilba6582](https://github.com/Wilba6582) | 5 | Keyboard Maintainer: [Wilba6582](https://github.com/Wilba6582) |
| 8 | Hardware Supported: WILBA.TECH WT80-A | 6 | Hardware Supported: wilba.tech WT80-A |
| 9 | Hardware Availability: Custom keyboard group buys | 7 | Hardware Availability: Custom keyboard group buys |
| 10 | 8 | ||
| 11 | Make example for this keyboard (after setting up your build environment): | 9 | Make example for this keyboard (after setting up your build environment): |
diff --git a/keyboards/wilba_tech/wt8_a/config.h b/keyboards/wilba_tech/wt8_a/config.h index c4d189183..43f692e0f 100644 --- a/keyboards/wilba_tech/wt8_a/config.h +++ b/keyboards/wilba_tech/wt8_a/config.h | |||
| @@ -53,7 +53,7 @@ | |||
| 53 | 53 | ||
| 54 | 54 | ||
| 55 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | 55 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ |
| 56 | #define DEBOUNCING_DELAY 5 | 56 | #define DEBOUNCE 5 |
| 57 | 57 | ||
| 58 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | 58 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ |
| 59 | //#define MATRIX_HAS_GHOST | 59 | //#define MATRIX_HAS_GHOST |
diff --git a/keyboards/wilba_tech/wt8_a/readme.md b/keyboards/wilba_tech/wt8_a/readme.md index ab3cfdc55..4998e9129 100644 --- a/keyboards/wilba_tech/wt8_a/readme.md +++ b/keyboards/wilba_tech/wt8_a/readme.md | |||
| @@ -1,11 +1,9 @@ | |||
| 1 | # WILBA.TECH WT8-A | 1 | # wilba.tech WT8-A |
| 2 | |||
| 3 |  | ||
| 4 | 2 | ||
| 5 | WT8-A is an 8-key macropad PCB, designed for the Singa Ocelot. [More info at wilba.tech](https://wilba.tech/) | 3 | WT8-A is an 8-key macropad PCB, designed for the Singa Ocelot. [More info at wilba.tech](https://wilba.tech/) |
| 6 | 4 | ||
| 7 | Keyboard Maintainer: [Wilba6582](https://github.com/Wilba6582) | 5 | Keyboard Maintainer: [Wilba6582](https://github.com/Wilba6582) |
| 8 | Hardware Supported: WILBA.TECH WT8-A | 6 | Hardware Supported: wilba.tech WT8-A |
| 9 | Hardware Availability: Singa Keyboards | 7 | Hardware Availability: Singa Keyboards |
| 10 | 8 | ||
| 11 | Make example for this keyboard (after setting up your build environment): | 9 | Make example for this keyboard (after setting up your build environment): |
diff --git a/keyboards/wilba_tech/wt_main.c b/keyboards/wilba_tech/wt_main.c index 7a63ab5b7..f8056839a 100644 --- a/keyboards/wilba_tech/wt_main.c +++ b/keyboards/wilba_tech/wt_main.c | |||
| @@ -213,8 +213,8 @@ void bootmagic_lite(void) | |||
| 213 | 213 | ||
| 214 | // We need multiple scans because debouncing can't be turned off. | 214 | // We need multiple scans because debouncing can't be turned off. |
| 215 | matrix_scan(); | 215 | matrix_scan(); |
| 216 | wait_ms(DEBOUNCING_DELAY); | 216 | wait_ms(DEBOUNCE); |
| 217 | wait_ms(DEBOUNCING_DELAY); | 217 | wait_ms(DEBOUNCE); |
| 218 | matrix_scan(); | 218 | matrix_scan(); |
| 219 | 219 | ||
| 220 | // If the Esc (matrix 0,0) is held down on power up, | 220 | // If the Esc (matrix 0,0) is held down on power up, |
