diff options
Diffstat (limited to 'keyboards/dp60')
| -rw-r--r-- | keyboards/dp60/config.h | 22 | ||||
| -rw-r--r-- | keyboards/dp60/keymaps/via/rules.mk | 40 |
2 files changed, 3 insertions, 59 deletions
diff --git a/keyboards/dp60/config.h b/keyboards/dp60/config.h index 87eebbe19..29d5e3c2a 100644 --- a/keyboards/dp60/config.h +++ b/keyboards/dp60/config.h | |||
| @@ -50,24 +50,6 @@ | |||
| 50 | #define DRIVER_2_LED_TOTAL 36 | 50 | #define DRIVER_2_LED_TOTAL 36 |
| 51 | #define DRIVER_LED_TOTAL (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL) | 51 | #define DRIVER_LED_TOTAL (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL) |
| 52 | 52 | ||
| 53 | #if defined(RAW_ENABLE) | 53 | #if defined(VIA_ENABLE) |
| 54 | //VIA | 54 | # define DYNAMIC_KEYMAP_LAYER_COUNT 2 |
| 55 | #define DYNAMIC_KEYMAP_LAYER_COUNT 2 | ||
| 56 | // EEPROM usage | ||
| 57 | |||
| 58 | // TODO: refactor with new user EEPROM code (coming soon) | ||
| 59 | #define EEPROM_MAGIC 0x451F | ||
| 60 | #define EEPROM_MAGIC_ADDR 34 | ||
| 61 | // Bump this every time we change what we store | ||
| 62 | // This will automatically reset the EEPROM with defaults | ||
| 63 | // and avoid loading invalid data from the EEPROM | ||
| 64 | #define EEPROM_VERSION 0x08 | ||
| 65 | #define EEPROM_VERSION_ADDR 36 | ||
| 66 | |||
| 67 | // Dynamic keymap starts after EEPROM version | ||
| 68 | #define DYNAMIC_KEYMAP_EEPROM_ADDR 37 | ||
| 69 | // Dynamic macro starts after dynamic keymaps (35+(4*10*6*2)) = (35+480) | ||
| 70 | #define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 637 | ||
| 71 | #define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 391 // 1024-DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR | ||
| 72 | #define DYNAMIC_KEYMAP_MACRO_COUNT 16 | ||
| 73 | #endif | 55 | #endif |
diff --git a/keyboards/dp60/keymaps/via/rules.mk b/keyboards/dp60/keymaps/via/rules.mk index 6d2a73864..036bd6d1c 100644 --- a/keyboards/dp60/keymaps/via/rules.mk +++ b/keyboards/dp60/keymaps/via/rules.mk | |||
| @@ -1,39 +1 @@ | |||
| 1 | # MCU name | VIA_ENABLE = yes \ No newline at end of file | |
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | # Teensy halfkay | ||
| 6 | # Pro Micro caterina | ||
| 7 | # Atmel DFU atmel-dfu | ||
| 8 | # LUFA DFU lufa-dfu | ||
| 9 | # QMK DFU qmk-dfu | ||
| 10 | # ATmega32A bootloadHID | ||
| 11 | # ATmega328P USBasp | ||
| 12 | BOOTLOADER = atmel-dfu | ||
| 13 | |||
| 14 | # Build Options | ||
| 15 | # change yes to no to disable | ||
| 16 | # | ||
| 17 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration | ||
| 18 | MOUSEKEY_ENABLE = no # Mouse keys | ||
| 19 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 20 | CONSOLE_ENABLE = no # Console for debug | ||
| 21 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 22 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 23 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 24 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 25 | NKRO_ENABLE = no # USB Nkey Rollover | ||
| 26 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default | ||
| 27 | MIDI_ENABLE = no # MIDI support | ||
| 28 | UNICODE_ENABLE = no # Unicode | ||
| 29 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 30 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 31 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | ||
| 32 | RGBLIGHT_ENABLE = yes # Use RGB bottom light | ||
| 33 | RGB_MATRIX_ENABLE = yes # Use RGB matrix | ||
| 34 | |||
| 35 | RAW_ENABLE = yes | ||
| 36 | DYNAMIC_KEYMAP_ENABLE = yes | ||
| 37 | |||
| 38 | CUSTOM_MATRIX = yes | ||
| 39 | SRC += matrix.c keyboards/wilba_tech/wt_main.c | ||
