diff options
| author | Wilba <Jason.S.Williams@gmail.com> | 2020-01-04 07:52:00 +1100 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2020-01-03 12:52:00 -0800 |
| commit | 320822d75b785401809f45007320e6fb6885b3fd (patch) | |
| tree | c511d49a48b953ac29ffb4a51ac928319eb9fde4 /keyboards/wilba_tech/wt60_d | |
| parent | b36259566546eb884cc241bcfadb671051e5e75e (diff) | |
| download | qmk_firmware-320822d75b785401809f45007320e6fb6885b3fd.tar.gz qmk_firmware-320822d75b785401809f45007320e6fb6885b3fd.zip | |
VIA Configurator Refactor (#7268)
* VIA Refactor
* Remove old code
* review changes
* review changes
* Fix cannonkeys/satisfaction75/prototype:via build
* Add via.h to quantum.h
* Move backlight init to after backlight config load
* Merge branch 'master' into via_refactor_pr
* Update user's rules.mk to new way of enabling VIA
* Added id_switch_matrix_state
* Review changes
Diffstat (limited to 'keyboards/wilba_tech/wt60_d')
| -rw-r--r-- | keyboards/wilba_tech/wt60_d/config.h | 20 | ||||
| -rw-r--r-- | keyboards/wilba_tech/wt60_d/keymaps/via/rules.mk | 3 | ||||
| -rw-r--r-- | keyboards/wilba_tech/wt60_d/rules.mk | 8 | ||||
| -rw-r--r-- | keyboards/wilba_tech/wt60_d/wt60_d.c | 18 |
4 files changed, 3 insertions, 46 deletions
diff --git a/keyboards/wilba_tech/wt60_d/config.h b/keyboards/wilba_tech/wt60_d/config.h index 066465d42..acb69ba04 100644 --- a/keyboards/wilba_tech/wt60_d/config.h +++ b/keyboards/wilba_tech/wt60_d/config.h | |||
| @@ -178,23 +178,3 @@ | |||
| 178 | 178 | ||
| 179 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | 179 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ |
| 180 | //#define MIDI_TONE_KEYCODE_OCTAVES 1 | 180 | //#define MIDI_TONE_KEYCODE_OCTAVES 1 |
| 181 | |||
| 182 | #define DYNAMIC_KEYMAP_LAYER_COUNT 4 | ||
| 183 | |||
| 184 | // EEPROM usage | ||
| 185 | |||
| 186 | // TODO: refactor with new user EEPROM code (coming soon) | ||
| 187 | #define EEPROM_MAGIC 0x451F | ||
| 188 | #define EEPROM_MAGIC_ADDR 34 | ||
| 189 | // Bump this every time we change what we store | ||
| 190 | // This will automatically reset the EEPROM with defaults | ||
| 191 | // and avoid loading invalid data from the EEPROM | ||
| 192 | #define EEPROM_VERSION 0x08 | ||
| 193 | #define EEPROM_VERSION_ADDR 36 | ||
| 194 | |||
| 195 | // Dynamic keymap starts after EEPROM version | ||
| 196 | #define DYNAMIC_KEYMAP_EEPROM_ADDR 37 | ||
| 197 | // Dynamic macro starts after dynamic keymaps (37+(4*5*14*2)) = (37+560) | ||
| 198 | #define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 597 | ||
| 199 | #define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 427 | ||
| 200 | #define DYNAMIC_KEYMAP_MACRO_COUNT 16 | ||
diff --git a/keyboards/wilba_tech/wt60_d/keymaps/via/rules.mk b/keyboards/wilba_tech/wt60_d/keymaps/via/rules.mk index 4880a57be..1e5b99807 100644 --- a/keyboards/wilba_tech/wt60_d/keymaps/via/rules.mk +++ b/keyboards/wilba_tech/wt60_d/keymaps/via/rules.mk | |||
| @@ -1,2 +1 @@ | |||
| 1 | RAW_ENABLE = yes | VIA_ENABLE = yes | |
| 2 | DYNAMIC_KEYMAP_ENABLE = yes | ||
diff --git a/keyboards/wilba_tech/wt60_d/rules.mk b/keyboards/wilba_tech/wt60_d/rules.mk index 07372d0ac..a5c98a1c6 100644 --- a/keyboards/wilba_tech/wt60_d/rules.mk +++ b/keyboards/wilba_tech/wt60_d/rules.mk | |||
| @@ -14,7 +14,7 @@ BOOTLOADER = atmel-dfu | |||
| 14 | # Build Options | 14 | # Build Options |
| 15 | # change yes to no to disable | 15 | # change yes to no to disable |
| 16 | # | 16 | # |
| 17 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | 17 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration(+1000) |
| 18 | MOUSEKEY_ENABLE = no # Mouse keys(+4700) | 18 | MOUSEKEY_ENABLE = no # Mouse keys(+4700) |
| 19 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | 19 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) |
| 20 | CONSOLE_ENABLE = no # Console for debug(+400) | 20 | CONSOLE_ENABLE = no # Console for debug(+400) |
| @@ -29,9 +29,3 @@ UNICODE_ENABLE = no # Unicode | |||
| 29 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | 29 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID |
| 30 | AUDIO_ENABLE = no # Audio output on port C6 | 30 | AUDIO_ENABLE = no # Audio output on port C6 |
| 31 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | 31 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches |
| 32 | |||
| 33 | RAW_ENABLE = yes | ||
| 34 | DYNAMIC_KEYMAP_ENABLE = yes | ||
| 35 | |||
| 36 | # project specific files | ||
| 37 | SRC = keyboards/wilba_tech/wt_main.c | ||
diff --git a/keyboards/wilba_tech/wt60_d/wt60_d.c b/keyboards/wilba_tech/wt60_d/wt60_d.c index ccff6d62c..52a773368 100644 --- a/keyboards/wilba_tech/wt60_d/wt60_d.c +++ b/keyboards/wilba_tech/wt60_d/wt60_d.c | |||
| @@ -1,17 +1 @@ | |||
| 1 | /* Copyright 2018 Jason Williams (Wilba) | #include "wt60_d.h" | |
| 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... ;-) | ||
