* 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 changespull/7777/head
@ -1,68 +1 @@ | |||
# project specific files | |||
SRC = keyboards/wilba_tech/wt_main.c | |||
# MCU name | |||
MCU = atmega32u4 | |||
# Processor frequency. | |||
# This will define a symbol, F_CPU, in all source code files equal to the | |||
# processor frequency in Hz. You can then use this symbol in your source code to | |||
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done | |||
# automatically to create a 32-bit value in your source code. | |||
# | |||
# This will be an integer division of F_USB below, as it is sourced by | |||
# F_USB after it has run through any CPU prescalers. Note that this value | |||
# does not *change* the processor frequency - it should merely be updated to | |||
# reflect the processor speed set externally so that the code can use accurate | |||
# software delays. | |||
F_CPU = 16000000 | |||
# | |||
# LUFA specific | |||
# | |||
# Target architecture (see library "Board Types" documentation). | |||
ARCH = AVR8 | |||
# Input clock frequency. | |||
# This will define a symbol, F_USB, in all source code files equal to the | |||
# input clock frequency (before any prescaling is performed) in Hz. This value may | |||
# differ from F_CPU if prescaling is used on the latter, and is required as the | |||
# raw input clock is fed directly to the PLL sections of the AVR for high speed | |||
# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | |||
# at the end, this will be done automatically to create a 32-bit value in your | |||
# source code. | |||
# | |||
# If no clock division is performed on the input clock inside the AVR (via the | |||
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | |||
F_USB = $(F_CPU) | |||
# Interrupt driven control endpoint task(+60) | |||
OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | |||
# Boot Section | |||
BOOTLOADER = atmel-dfu | |||
# Build Options | |||
# change yes to no to disable | |||
# | |||
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | |||
MOUSEKEY_ENABLE = no # Mouse keys(+4700) | |||
EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | |||
CONSOLE_ENABLE = no # Console for debug(+400) | |||
COMMAND_ENABLE = no # Commands for debug and configuration | |||
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | |||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | |||
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | |||
NKRO_ENABLE = yes # USB Nkey Rollover | |||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default | |||
MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config) | |||
UNICODE_ENABLE = no # Unicode | |||
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | |||
AUDIO_ENABLE = no # Audio output on port C6 | |||
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | |||
RAW_ENABLE = yes | |||
DYNAMIC_KEYMAP_ENABLE = yes | |||
VIA_ENABLE = yes |
@ -1,68 +1 @@ | |||
# project specific files | |||
SRC = keyboards/wilba_tech/wt_main.c | |||
# MCU name | |||
MCU = atmega32u4 | |||
# Processor frequency. | |||
# This will define a symbol, F_CPU, in all source code files equal to the | |||
# processor frequency in Hz. You can then use this symbol in your source code to | |||
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done | |||
# automatically to create a 32-bit value in your source code. | |||
# | |||
# This will be an integer division of F_USB below, as it is sourced by | |||
# F_USB after it has run through any CPU prescalers. Note that this value | |||
# does not *change* the processor frequency - it should merely be updated to | |||
# reflect the processor speed set externally so that the code can use accurate | |||
# software delays. | |||
F_CPU = 16000000 | |||
# | |||
# LUFA specific | |||
# | |||
# Target architecture (see library "Board Types" documentation). | |||
ARCH = AVR8 | |||
# Input clock frequency. | |||
# This will define a symbol, F_USB, in all source code files equal to the | |||
# input clock frequency (before any prescaling is performed) in Hz. This value may | |||
# differ from F_CPU if prescaling is used on the latter, and is required as the | |||
# raw input clock is fed directly to the PLL sections of the AVR for high speed | |||
# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | |||
# at the end, this will be done automatically to create a 32-bit value in your | |||
# source code. | |||
# | |||
# If no clock division is performed on the input clock inside the AVR (via the | |||
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | |||
F_USB = $(F_CPU) | |||
# Interrupt driven control endpoint task(+60) | |||
OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | |||
# Boot Section | |||
BOOTLOADER = atmel-dfu | |||
# Build Options | |||
# change yes to no to disable | |||
# | |||
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | |||
MOUSEKEY_ENABLE = no # Mouse keys(+4700) | |||
EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | |||
CONSOLE_ENABLE = no # Console for debug(+400) | |||
COMMAND_ENABLE = no # Commands for debug and configuration | |||
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | |||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | |||
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | |||
NKRO_ENABLE = yes # USB Nkey Rollover | |||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default | |||
MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config) | |||
UNICODE_ENABLE = no # Unicode | |||
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | |||
AUDIO_ENABLE = no # Audio output on port C6 | |||
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | |||
RAW_ENABLE = yes | |||
DYNAMIC_KEYMAP_ENABLE = yes | |||
VIA_ENABLE = yes |
@ -1,85 +1 @@ | |||
# MCU name | |||
MCU = atmega32u4 | |||
# Processor frequency. | |||
# This will define a symbol, F_CPU, in all source code files equal to the | |||
# processor frequency in Hz. You can then use this symbol in your source code to | |||
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done | |||
# automatically to create a 32-bit value in your source code. | |||
# | |||
# This will be an integer division of F_USB below, as it is sourced by | |||
# F_USB after it has run through any CPU prescalers. Note that this value | |||
# does not *change* the processor frequency - it should merely be updated to | |||
# reflect the processor speed set externally so that the code can use accurate | |||
# software delays. | |||
F_CPU = 16000000 | |||
# | |||
# LUFA specific | |||
# | |||
# Target architecture (see library "Board Types" documentation). | |||
ARCH = AVR8 | |||
# Input clock frequency. | |||
# This will define a symbol, F_USB, in all source code files equal to the | |||
# input clock frequency (before any prescaling is performed) in Hz. This value may | |||
# differ from F_CPU if prescaling is used on the latter, and is required as the | |||
# raw input clock is fed directly to the PLL sections of the AVR for high speed | |||
# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | |||
# at the end, this will be done automatically to create a 32-bit value in your | |||
# source code. | |||
# | |||
# If no clock division is performed on the input clock inside the AVR (via the | |||
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | |||
F_USB = $(F_CPU) | |||
# Interrupt driven control endpoint task(+60) | |||
OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | |||
# Bootloader selection | |||
# Teensy halfkay | |||
# Pro Micro caterina | |||
# Atmel DFU atmel-dfu | |||
# LUFA DFU lufa-dfu | |||
# QMK DFU qmk-dfu | |||
# atmega32a bootloadHID | |||
BOOTLOADER = atmel-dfu | |||
# If you don't know the bootloader type, then you can specify the | |||
# Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line | |||
# Teensy halfKay 512 | |||
# Teensy++ halfKay 1024 | |||
# Atmel DFU loader 4096 | |||
# LUFA bootloader 4096 | |||
# USBaspLoader 2048 | |||
# OPT_DEFS += -DBOOTLOADER_SIZE=4096 | |||
# Build Options | |||
# change yes to no to disable | |||
# | |||
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | |||
MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | |||
EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | |||
CONSOLE_ENABLE = yes # Console for debug(+400) | |||
COMMAND_ENABLE = yes # Commands for debug and configuration | |||
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | |||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | |||
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | |||
NKRO_ENABLE = yes # USB Nkey Rollover | |||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default | |||
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | |||
MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config) | |||
UNICODE_ENABLE = no # Unicode | |||
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | |||
AUDIO_ENABLE = no # Audio output on port C6 | |||
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | |||
HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) | |||
SRC += keyboards/wilba_tech/wt_main.c | |||
RAW_ENABLE = yes | |||
DYNAMIC_KEYMAP_ENABLE = yes | |||
VIA_ENABLE = yes |
@ -1,5 +1 @@ | |||
# rules.mk overrides to enable VIA | |||
RAW_ENABLE = yes | |||
DYNAMIC_KEYMAP_ENABLE = yes | |||
VIA_ENABLE = yes |
@ -1,5 +1 @@ | |||
# rules.mk overrides to enable VIA | |||
RAW_ENABLE = yes | |||
DYNAMIC_KEYMAP_ENABLE = yes | |||
VIA_ENABLE = yes |
@ -1,5 +1 @@ | |||
# rules.mk overrides to enable VIA | |||
RAW_ENABLE = yes | |||
DYNAMIC_KEYMAP_ENABLE = yes | |||
VIA_ENABLE = yes |
@ -1,5 +1 @@ | |||
# rules.mk overrides to enable VIA | |||
RAW_ENABLE = yes | |||
DYNAMIC_KEYMAP_ENABLE = yes | |||
VIA_ENABLE = yes |
@ -1,4 +1,3 @@ | |||
# rules.mk overrides to enable VIA | |||
RAW_ENABLE = yes | |||
DYNAMIC_KEYMAP_ENABLE = yes | |||
VIA_ENABLE = yes |
@ -1,5 +1 @@ | |||
# rules.mk overrides to enable VIA | |||
RAW_ENABLE = yes | |||
DYNAMIC_KEYMAP_ENABLE = yes | |||
VIA_ENABLE = yes |
@ -1,39 +1 @@ | |||
# MCU name | |||
MCU = atmega32u4 | |||
# Bootloader selection | |||
# Teensy halfkay | |||
# Pro Micro caterina | |||
# Atmel DFU atmel-dfu | |||
# LUFA DFU lufa-dfu | |||
# QMK DFU qmk-dfu | |||
# ATmega32A bootloadHID | |||
# ATmega328P USBasp | |||
BOOTLOADER = atmel-dfu | |||
# Build Options | |||
# change yes to no to disable | |||
# | |||
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration | |||
MOUSEKEY_ENABLE = no # Mouse keys | |||
EXTRAKEY_ENABLE = yes # Audio control and System control | |||
CONSOLE_ENABLE = no # Console for debug | |||
COMMAND_ENABLE = no # Commands for debug and configuration | |||
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | |||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | |||
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | |||
NKRO_ENABLE = no # USB Nkey Rollover | |||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default | |||
MIDI_ENABLE = no # MIDI support | |||
UNICODE_ENABLE = no # Unicode | |||
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | |||
AUDIO_ENABLE = no # Audio output on port C6 | |||
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | |||
RGBLIGHT_ENABLE = yes # Use RGB bottom light | |||
RGB_MATRIX_ENABLE = yes # Use RGB matrix | |||
RAW_ENABLE = yes | |||
DYNAMIC_KEYMAP_ENABLE = yes | |||
CUSTOM_MATRIX = yes | |||
SRC += matrix.c keyboards/wilba_tech/wt_main.c | |||
VIA_ENABLE = yes |
@ -1,86 +1 @@ | |||
# MCU name | |||
MCU = atmega32u4 | |||
# Processor frequency. | |||
# This will define a symbol, F_CPU, in all source code files equal to the | |||
# processor frequency in Hz. You can then use this symbol in your source code to | |||
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done | |||
# automatically to create a 32-bit value in your source code. | |||
# | |||
# This will be an integer division of F_USB below, as it is sourced by | |||
# F_USB after it has run through any CPU prescalers. Note that this value | |||
# does not *change* the processor frequency - it should merely be updated to | |||
# reflect the processor speed set externally so that the code can use accurate | |||
# software delays. | |||
F_CPU = 16000000 | |||
# | |||
# LUFA specific | |||
# | |||
# Target architecture (see library "Board Types" documentation). | |||
ARCH = AVR8 | |||
# Input clock frequency. | |||
# This will define a symbol, F_USB, in all source code files equal to the | |||
# input clock frequency (before any prescaling is performed) in Hz. This value may | |||
# differ from F_CPU if prescaling is used on the latter, and is required as the | |||
# raw input clock is fed directly to the PLL sections of the AVR for high speed | |||
# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | |||
# at the end, this will be done automatically to create a 32-bit value in your | |||
# source code. | |||
# | |||
# If no clock division is performed on the input clock inside the AVR (via the | |||
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | |||
F_USB = $(F_CPU) | |||
# Interrupt driven control endpoint task(+60) | |||
OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | |||
# Bootloader selection | |||
# Teensy halfkay | |||
# Pro Micro caterina | |||
# Atmel DFU atmel-dfu | |||
# LUFA DFU lufa-dfu | |||
# QMK DFU qmk-dfu | |||
# atmega32a bootloadHID | |||
BOOTLOADER = atmel-dfu | |||
# If you don't know the bootloader type, then you can specify the | |||
# Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line | |||
# Teensy halfKay 512 | |||
# Teensy++ halfKay 1024 | |||
# Atmel DFU loader 4096 | |||
# LUFA bootloader 4096 | |||
# USBaspLoader 2048 | |||
# OPT_DEFS += -DBOOTLOADER_SIZE=4096 | |||
# Build Options | |||
# change yes to no to disable | |||
# | |||
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | |||
MOUSEKEY_ENABLE = no # Mouse keys(+4700) | |||
EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | |||
CONSOLE_ENABLE = no # Console for debug(+400) | |||
COMMAND_ENABLE = no # Commands for debug and configuration | |||
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | |||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | |||
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | |||
NKRO_ENABLE = yes # USB Nkey Rollover | |||
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality on B7 by default | |||
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | |||
MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config) | |||
UNICODE_ENABLE = no # Unicode | |||
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | |||
AUDIO_ENABLE = no # Audio output on port C6 | |||
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | |||
HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) | |||
# This is the VIA magic | |||
RAW_ENABLE = yes | |||
DYNAMIC_KEYMAP_ENABLE = yes | |||
SRC += keyboards/wilba_tech/wt_main.c | |||
VIA_ENABLE = yes |
@ -1,67 +1 @@ | |||
# project specific files | |||
SRC = keyboards/wilba_tech/wt_main.c \ | |||
keyboards/wilba_tech/wt_rgb_backlight.c \ | |||
drivers/issi/is31fl3733.c \ | |||
quantum/color.c \ | |||
drivers/arm/i2c_master.c | |||
## chip/board settings | |||
# the next two should match the directories in | |||
# <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES) | |||
MCU_FAMILY = STM32 | |||
MCU_SERIES = STM32F3xx | |||
# Linker script to use | |||
# it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/ | |||
# or <this_dir>/ld/ | |||
MCU_LDSCRIPT = STM32F303xC | |||
# Startup code to use | |||
# - it should exist in <chibios>/os/common/startup/ARMCMx/compilers/GCC/mk/ | |||
MCU_STARTUP = stm32f3xx | |||
# Board: it should exist either in <chibios>/os/hal/boards/ | |||
# or <this_dir>/boards | |||
BOARD = GENERIC_STM32_F303XC | |||
# Cortex version | |||
MCU = cortex-m4 | |||
# ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7 | |||
ARMV = 7 | |||
USE_FPU = yes | |||
# Vector table for application | |||
# 0x00000000-0x00001000 area is occupied by bootlaoder.*/ | |||
# The CORTEX_VTOR... is needed only for MCHCK/Infinity KB | |||
# OPT_DEFS = -DCORTEX_VTOR_INIT=0x08005000 | |||
OPT_DEFS = | |||
# Do not put the microcontroller into power saving mode | |||
# when we get USB suspend event. We want it to keep updating | |||
# backlight effects. | |||
OPT_DEFS += -DNO_SUSPEND_POWER_DOWN | |||
# Options to pass to dfu-util when flashing | |||
DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave | |||
DFU_SUFFIX_ARGS = -p DF11 -v 0483 | |||
# Build Options | |||
# comment out to disable the options. | |||
# | |||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | |||
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration | |||
MOUSEKEY_ENABLE = yes # Mouse keys | |||
EXTRAKEY_ENABLE = yes # Audio control and System control | |||
CONSOLE_ENABLE = no # Console for debug | |||
COMMAND_ENABLE = no # Commands for debug and configuration | |||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | |||
NKRO_ENABLE = yes # USB Nkey Rollover | |||
AUDIO_ENABLE = no # Audio output on port C6 | |||
NO_USB_STARTUP_CHECK = no # Disable initialization only when usb is plugged in | |||
#SERIAL_LINK_ENABLE = yes | |||
RAW_ENABLE = yes | |||
DYNAMIC_KEYMAP_ENABLE = yes | |||
CIE1931_CURVE = yes | |||
VIA_ENABLE = yes |
@ -1,67 +1 @@ | |||
# project specific files | |||
SRC = keyboards/wilba_tech/wt_main.c \ | |||
keyboards/wilba_tech/wt_rgb_backlight.c \ | |||
drivers/issi/is31fl3733.c \ | |||
quantum/color.c \ | |||
drivers/arm/i2c_master.c | |||
## chip/board settings | |||
# the next two should match the directories in | |||
# <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES) | |||
MCU_FAMILY = STM32 | |||
MCU_SERIES = STM32F3xx | |||
# Linker script to use | |||
# it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/ | |||
# or <this_dir>/ld/ | |||
MCU_LDSCRIPT = STM32F303xC | |||
# Startup code to use | |||
# - it should exist in <chibios>/os/common/startup/ARMCMx/compilers/GCC/mk/ | |||
MCU_STARTUP = stm32f3xx | |||
# Board: it should exist either in <chibios>/os/hal/boards/ | |||
# or <this_dir>/boards | |||
BOARD = GENERIC_STM32_F303XC | |||
# Cortex version | |||
MCU = cortex-m4 | |||
# ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7 | |||
ARMV = 7 | |||
USE_FPU = yes | |||
# Vector table for application | |||
# 0x00000000-0x00001000 area is occupied by bootlaoder.*/ | |||
# The CORTEX_VTOR... is needed only for MCHCK/Infinity KB | |||
# OPT_DEFS = -DCORTEX_VTOR_INIT=0x08005000 | |||
OPT_DEFS = | |||
# Do not put the microcontroller into power saving mode | |||
# when we get USB suspend event. We want it to keep updating | |||
# backlight effects. | |||
OPT_DEFS += -DNO_SUSPEND_POWER_DOWN | |||
# Options to pass to dfu-util when flashing | |||
DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave | |||
DFU_SUFFIX_ARGS = -p DF11 -v 0483 | |||
# Build Options | |||
# comment out to disable the options. | |||
# | |||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | |||
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration | |||
MOUSEKEY_ENABLE = yes # Mouse keys | |||
EXTRAKEY_ENABLE = yes # Audio control and System control | |||
CONSOLE_ENABLE = no # Console for debug | |||
COMMAND_ENABLE = no # Commands for debug and configuration | |||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | |||
NKRO_ENABLE = yes # USB Nkey Rollover | |||
AUDIO_ENABLE = no # Audio output on port C6 | |||
NO_USB_STARTUP_CHECK = no # Disable initialization only when usb is plugged in | |||
#SERIAL_LINK_ENABLE = yes | |||
RAW_ENABLE = yes | |||
DYNAMIC_KEYMAP_ENABLE = yes | |||
CIE1931_CURVE = yes | |||
VIA_ENABLE = yes |
@ -1,67 +1 @@ | |||
# project specific files | |||
SRC = keyboards/wilba_tech/wt_main.c \ | |||
keyboards/wilba_tech/wt_rgb_backlight.c \ | |||
drivers/issi/is31fl3733.c \ | |||
quantum/color.c \ | |||
drivers/arm/i2c_master.c | |||
## chip/board settings | |||
# the next two should match the directories in | |||
# <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES) | |||
MCU_FAMILY = STM32 | |||
MCU_SERIES = STM32F3xx | |||
# Linker script to use | |||
# it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/ | |||
# or <this_dir>/ld/ | |||
MCU_LDSCRIPT = STM32F303xC | |||
# Startup code to use | |||
# - it should exist in <chibios>/os/common/startup/ARMCMx/compilers/GCC/mk/ | |||
MCU_STARTUP = stm32f3xx | |||
# Board: it should exist either in <chibios>/os/hal/boards/ | |||
# or <this_dir>/boards | |||
BOARD = GENERIC_STM32_F303XC | |||
# Cortex version | |||
MCU = cortex-m4 | |||
# ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7 | |||
ARMV = 7 | |||
USE_FPU = yes | |||
# Vector table for application | |||
# 0x00000000-0x00001000 area is occupied by bootlaoder.*/ | |||
# The CORTEX_VTOR... is needed only for MCHCK/Infinity KB | |||
# OPT_DEFS = -DCORTEX_VTOR_INIT=0x08005000 | |||
OPT_DEFS = | |||
# Do not put the microcontroller into power saving mode | |||
# when we get USB suspend event. We want it to keep updating | |||
# backlight effects. | |||
OPT_DEFS += -DNO_SUSPEND_POWER_DOWN | |||
# Options to pass to dfu-util when flashing | |||
DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave | |||
DFU_SUFFIX_ARGS = -p DF11 -v 0483 | |||
# Build Options | |||
# comment out to disable the options. | |||
# | |||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | |||
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration | |||
MOUSEKEY_ENABLE = yes # Mouse keys | |||
EXTRAKEY_ENABLE = yes # Audio control and System control | |||
CONSOLE_ENABLE = no # Console for debug | |||
COMMAND_ENABLE = no # Commands for debug and configuration | |||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | |||
NKRO_ENABLE = yes # USB Nkey Rollover | |||
AUDIO_ENABLE = no # Audio output on port C6 | |||
NO_USB_STARTUP_CHECK = no # Disable initialization only when usb is plugged in | |||
#SERIAL_LINK_ENABLE = yes | |||
RAW_ENABLE = yes | |||
DYNAMIC_KEYMAP_ENABLE = yes | |||
CIE1931_CURVE = yes | |||
VIA_ENABLE = yes |
@ -1,67 +1 @@ | |||
# project specific files | |||
SRC = keyboards/wilba_tech/wt_main.c \ | |||
keyboards/wilba_tech/wt_rgb_backlight.c \ | |||
drivers/issi/is31fl3733.c \ | |||
quantum/color.c \ | |||
drivers/arm/i2c_master.c | |||
## chip/board settings | |||
# the next two should match the directories in | |||
# <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES) | |||
MCU_FAMILY = STM32 | |||
MCU_SERIES = STM32F3xx | |||
# Linker script to use | |||
# it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/ | |||
# or <this_dir>/ld/ | |||
MCU_LDSCRIPT = STM32F303xC | |||
# Startup code to use | |||
# - it should exist in <chibios>/os/common/startup/ARMCMx/compilers/GCC/mk/ | |||
MCU_STARTUP = stm32f3xx | |||
# Board: it should exist either in <chibios>/os/hal/boards/ | |||
# or <this_dir>/boards | |||
BOARD = GENERIC_STM32_F303XC | |||
# Cortex version | |||
MCU = cortex-m4 | |||
# ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7 | |||
ARMV = 7 | |||
USE_FPU = yes | |||
# Vector table for application | |||
# 0x00000000-0x00001000 area is occupied by bootlaoder.*/ | |||
# The CORTEX_VTOR... is needed only for MCHCK/Infinity KB | |||
# OPT_DEFS = -DCORTEX_VTOR_INIT=0x08005000 | |||
OPT_DEFS = | |||
# Do not put the microcontroller into power saving mode | |||
# when we get USB suspend event. We want it to keep updating | |||
# backlight effects. | |||
OPT_DEFS += -DNO_SUSPEND_POWER_DOWN | |||
# Options to pass to dfu-util when flashing | |||
DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave | |||
DFU_SUFFIX_ARGS = -p DF11 -v 0483 | |||
# Build Options | |||
# comment out to disable the options. | |||
# | |||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | |||
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration | |||
MOUSEKEY_ENABLE = yes # Mouse keys | |||
EXTRAKEY_ENABLE = yes # Audio control and System control | |||
CONSOLE_ENABLE = no # Console for debug | |||
COMMAND_ENABLE = no # Commands for debug and configuration | |||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | |||
NKRO_ENABLE = yes # USB Nkey Rollover | |||
AUDIO_ENABLE = no # Audio output on port C6 | |||
NO_USB_STARTUP_CHECK = no # Disable initialization only when usb is plugged in | |||
#SERIAL_LINK_ENABLE = yes | |||
RAW_ENABLE = yes | |||
DYNAMIC_KEYMAP_ENABLE = yes | |||
CIE1931_CURVE = yes | |||
VIA_ENABLE = yes |
@ -1,67 +1 @@ | |||
# project specific files | |||
SRC = keyboards/wilba_tech/wt_main.c \ | |||
keyboards/wilba_tech/wt_rgb_backlight.c \ | |||
drivers/issi/is31fl3733.c \ | |||
quantum/color.c \ | |||
drivers/arm/i2c_master.c | |||
## chip/board settings | |||
# the next two should match the directories in | |||
# <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES) | |||
MCU_FAMILY = STM32 | |||
MCU_SERIES = STM32F3xx | |||
# Linker script to use | |||
# it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/ | |||
# or <this_dir>/ld/ | |||
MCU_LDSCRIPT = STM32F303xC | |||
# Startup code to use | |||
# - it should exist in <chibios>/os/common/startup/ARMCMx/compilers/GCC/mk/ | |||
MCU_STARTUP = stm32f3xx | |||
# Board: it should exist either in <chibios>/os/hal/boards/ | |||
# or <this_dir>/boards | |||
BOARD = GENERIC_STM32_F303XC | |||
# Cortex version | |||
MCU = cortex-m4 | |||
# ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7 | |||
ARMV = 7 | |||
USE_FPU = yes | |||
# Vector table for application | |||
# 0x00000000-0x00001000 area is occupied by bootlaoder.*/ | |||
# The CORTEX_VTOR... is needed only for MCHCK/Infinity KB | |||
# OPT_DEFS = -DCORTEX_VTOR_INIT=0x08005000 | |||
OPT_DEFS = | |||
# Do not put the microcontroller into power saving mode | |||
# when we get USB suspend event. We want it to keep updating | |||
# backlight effects. | |||
OPT_DEFS += -DNO_SUSPEND_POWER_DOWN | |||
# Options to pass to dfu-util when flashing | |||
DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave | |||
DFU_SUFFIX_ARGS = -p DF11 -v 0483 | |||
# Build Options | |||
# comment out to disable the options. | |||
# | |||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | |||
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration | |||
MOUSEKEY_ENABLE = yes # Mouse keys | |||
EXTRAKEY_ENABLE = yes # Audio control and System control | |||
CONSOLE_ENABLE = no # Console for debug | |||
COMMAND_ENABLE = no # Commands for debug and configuration | |||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | |||
NKRO_ENABLE = yes # USB Nkey Rollover | |||
AUDIO_ENABLE = no # Audio output on port C6 | |||
NO_USB_STARTUP_CHECK = no # Disable initialization only when usb is plugged in | |||
#SERIAL_LINK_ENABLE = yes | |||
RAW_ENABLE = yes | |||
DYNAMIC_KEYMAP_ENABLE = yes | |||
CIE1931_CURVE = yes | |||
VIA_ENABLE = yes |
@ -1,67 +1 @@ | |||
# project specific files | |||
SRC = keyboards/wilba_tech/wt_main.c \ | |||
keyboards/wilba_tech/wt_rgb_backlight.c \ | |||
drivers/issi/is31fl3733.c \ | |||
quantum/color.c \ | |||
drivers/arm/i2c_master.c | |||
## chip/board settings | |||
# the next two should match the directories in | |||
# <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES) | |||
MCU_FAMILY = STM32 | |||
MCU_SERIES = STM32F3xx | |||
# Linker script to use | |||
# it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/ | |||
# or <this_dir>/ld/ | |||
MCU_LDSCRIPT = STM32F303xC | |||
# Startup code to use | |||
# - it should exist in <chibios>/os/common/startup/ARMCMx/compilers/GCC/mk/ | |||
MCU_STARTUP = stm32f3xx | |||
# Board: it should exist either in <chibios>/os/hal/boards/ | |||
# or <this_dir>/boards | |||
BOARD = GENERIC_STM32_F303XC | |||
# Cortex version | |||
MCU = cortex-m4 | |||
# ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7 | |||
ARMV = 7 | |||
USE_FPU = yes | |||
# Vector table for application | |||
# 0x00000000-0x00001000 area is occupied by bootlaoder.*/ | |||
# The CORTEX_VTOR... is needed only for MCHCK/Infinity KB | |||
# OPT_DEFS = -DCORTEX_VTOR_INIT=0x08005000 | |||
OPT_DEFS = | |||
# Do not put the microcontroller into power saving mode | |||
# when we get USB suspend event. We want it to keep updating | |||
# backlight effects. | |||
OPT_DEFS += -DNO_SUSPEND_POWER_DOWN | |||
# Options to pass to dfu-util when flashing | |||
DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave | |||
DFU_SUFFIX_ARGS = -p DF11 -v 0483 | |||
# Build Options | |||
# comment out to disable the options. | |||
# | |||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | |||
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration | |||
MOUSEKEY_ENABLE = yes # Mouse keys | |||
EXTRAKEY_ENABLE = yes # Audio control and System control | |||
CONSOLE_ENABLE = no # Console for debug | |||
COMMAND_ENABLE = no # Commands for debug and configuration | |||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | |||
NKRO_ENABLE = yes # USB Nkey Rollover | |||
AUDIO_ENABLE = no # Audio output on port C6 | |||
NO_USB_STARTUP_CHECK = no # Disable initialization only when usb is plugged in | |||
#SERIAL_LINK_ENABLE = yes | |||
RAW_ENABLE = yes | |||
DYNAMIC_KEYMAP_ENABLE = yes | |||
CIE1931_CURVE = yes | |||
VIA_ENABLE = yes |
@ -1,67 +1 @@ | |||
# project specific files | |||
SRC = keyboards/wilba_tech/wt_main.c \ | |||
keyboards/wilba_tech/wt_rgb_backlight.c \ | |||
drivers/issi/is31fl3733.c \ | |||
quantum/color.c \ | |||
drivers/arm/i2c_master.c | |||
## chip/board settings | |||
# the next two should match the directories in | |||
# <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES) | |||
MCU_FAMILY = STM32 | |||
MCU_SERIES = STM32F3xx | |||
# Linker script to use | |||
# it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/ | |||
# or <this_dir>/ld/ | |||
MCU_LDSCRIPT = STM32F303xC | |||
# Startup code to use | |||
# - it should exist in <chibios>/os/common/startup/ARMCMx/compilers/GCC/mk/ | |||
MCU_STARTUP = stm32f3xx | |||
# Board: it should exist either in <chibios>/os/hal/boards/ | |||
# or <this_dir>/boards | |||
BOARD = GENERIC_STM32_F303XC | |||
# Cortex version | |||
MCU = cortex-m4 | |||
# ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7 | |||
ARMV = 7 | |||
USE_FPU = yes | |||
# Vector table for application | |||
# 0x00000000-0x00001000 area is occupied by bootlaoder.*/ | |||
# The CORTEX_VTOR... is needed only for MCHCK/Infinity KB | |||
# OPT_DEFS = -DCORTEX_VTOR_INIT=0x08005000 | |||
OPT_DEFS = | |||
# Do not put the microcontroller into power saving mode | |||
# when we get USB suspend event. We want it to keep updating | |||
# backlight effects. | |||
OPT_DEFS += -DNO_SUSPEND_POWER_DOWN | |||
# Options to pass to dfu-util when flashing | |||
DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave | |||
DFU_SUFFIX_ARGS = -p DF11 -v 0483 | |||
# Build Options | |||
# comment out to disable the options. | |||
# | |||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | |||
BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration | |||
MOUSEKEY_ENABLE = yes # Mouse keys | |||
EXTRAKEY_ENABLE = yes # Audio control and System control | |||
CONSOLE_ENABLE = no # Console for debug | |||
COMMAND_ENABLE = no # Commands for debug and configuration | |||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | |||
NKRO_ENABLE = yes # USB Nkey Rollover | |||
AUDIO_ENABLE = no # Audio output on port C6 | |||
NO_USB_STARTUP_CHECK = no # Disable initialization only when usb is plugged in | |||
#SERIAL_LINK_ENABLE = yes | |||
RAW_ENABLE = yes | |||
DYNAMIC_KEYMAP_ENABLE = yes | |||
CIE1931_CURVE = yes | |||
VIA_ENABLE = yes |
@ -0,0 +1,31 @@ | |||
/* Copyright 2019 Ryota Goto | |||
* | |||
* This program is free software: you can redistribute it and/or modify | |||
* it under the terms of the GNU General Public License as published by | |||
* the Free Software Foundation, either version 2 of the License, or | |||
* (at your option) any later version. | |||
* | |||
* This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
* GNU General Public License for more details. | |||
* | |||
* You should have received a copy of the GNU General Public License | |||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
*/ | |||
#include QMK_KEYBOARD_H | |||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
[0] = LAYOUT( | |||
KC_ENT | |||
), | |||
[1] = LAYOUT( | |||
KC_TRNS | |||
), | |||
[2] = LAYOUT( | |||
KC_TRNS | |||
), | |||
[3] = LAYOUT( | |||
KC_TRNS | |||
), | |||
}; |
@ -0,0 +1 @@ | |||
# The VIA keymap for is0 |
@ -0,0 +1 @@ | |||
VIA_ENABLE = yes |
@ -1,8 +1,3 @@ | |||
RGBLIGHT_ENABLE = yes | |||
BACKLIGHT_ENABLE = yes | |||
MOUSEKEY_ENABLE = yes | |||
# VIA Support - Comment these 3 lines out to disable | |||
# RAW_ENABLE = yes | |||
# DYNAMIC_KEYMAP_ENABLE = yes | |||
# SRC += keyboards/wilba_tech/wt_main.c |
@ -1,20 +0,0 @@ | |||
/* | |||
Copyright 2017 Danny Nguyen <danny@keeb.io> | |||
This program is free software: you can redistribute it and/or modify | |||
it under the terms of the GNU General Public License as published by | |||
the Free Software Foundation, either version 2 of the License, or | |||
(at your option) any later version. | |||
This program is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
GNU General Public License for more details. | |||
You should have received a copy of the GNU General Public License | |||
along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
*/ | |||
#pragma once | |||
#define RGBLIGHT_ANIMATIONS |
@ -1,7 +1 @@ | |||
RGBLIGHT_ENABLE = yes | |||
BACKLIGHT_ENABLE = yes | |||
# VIA Support - Comment these 3 lines out to disable | |||
RAW_ENABLE = yes | |||
DYNAMIC_KEYMAP_ENABLE = yes | |||
SRC += keyboards/wilba_tech/wt_main.c | |||
VIA_ENABLE = yes |
@ -0,0 +1,44 @@ | |||
/* Copyright 2018 Jack Humbert | |||
* | |||
* This program is free software: you can redistribute it and/or modify | |||
* it under the terms of the GNU General Public License as published by | |||
* the Free Software Foundation, either version 2 of the License, or | |||
* (at your option) any later version. | |||
* | |||
* This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
* GNU General Public License for more details. | |||
* | |||
* You should have received a copy of the GNU General Public License | |||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
*/ | |||
#include QMK_KEYBOARD_H | |||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
[0] = LAYOUT( | |||
KC_KP_7, KC_KP_8, KC_KP_9, \ | |||
KC_KP_4, KC_KP_5, KC_KP_6, \ | |||
KC_KP_1, KC_KP_2, KC_KP_3, \ | |||
MO(1), KC_KP_0, KC_KP_DOT \ | |||
), | |||
[1] = LAYOUT( | |||
KC_TRNS, KC_TRNS, KC_TRNS, \ | |||
KC_TRNS, KC_TRNS, KC_TRNS, \ | |||
KC_TRNS, KC_TRNS, KC_TRNS, \ | |||
KC_TRNS, KC_TRNS, KC_TRNS \ | |||
), | |||
[2] = LAYOUT( | |||
KC_TRNS, KC_TRNS, KC_TRNS, \ | |||
KC_TRNS, KC_TRNS, KC_TRNS, \ | |||
KC_TRNS, KC_TRNS, KC_TRNS, \ | |||
KC_TRNS, KC_TRNS, KC_TRNS \ | |||
), | |||
[3] = LAYOUT( | |||
KC_TRNS, KC_TRNS, KC_TRNS, \ | |||
KC_TRNS, KC_TRNS, KC_TRNS, \ | |||
KC_TRNS, KC_TRNS, KC_TRNS, \ | |||
KC_TRNS, KC_TRNS, KC_TRNS \ | |||
) | |||
}; |
@ -0,0 +1 @@ | |||
VIA_ENABLE = yes |
@ -1,5 +1 @@ | |||
# rules.mk overrides to enable VIA | |||
SRC += keyboards/wilba_tech/wt_main.c | |||
RAW_ENABLE = yes | |||
DYNAMIC_KEYMAP_ENABLE = yes | |||
VIA_ENABLE = yes |
@ -1,67 +1 @@ | |||
# project specific files | |||
SRC = keyboards/wilba_tech/wt_main.c \ | |||
keyboards/wilba_tech/wt_rgb_backlight.c \ | |||
drivers/issi/is31fl3733.c \ | |||
quantum/color.c \ | |||
drivers/arm/i2c_master.c | |||
## chip/board settings | |||
# the next two should match the directories in | |||
# <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES) | |||
MCU_FAMILY = STM32 | |||
MCU_SERIES = STM32F3xx | |||
# Linker script to use | |||
# it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/ | |||
# or <this_dir>/ld/ | |||
MCU_LDSCRIPT = STM32F303xC | |||
# Startup code to use | |||
# - it should exist in <chibios>/os/common/startup/ARMCMx/compilers/GCC/mk/ | |||
MCU_STARTUP = stm32f3xx | |||
# Board: it should exist either in <chibios>/os/hal/boards/ | |||
# or <this_dir>/boards | |||
BOARD = GENERIC_STM32_F303XC | |||
# Cortex version | |||
MCU = cortex-m4 | |||
# ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7 | |||
ARMV = 7 | |||
USE_FPU = yes | |||
# Vector table for application | |||
# 0x00000000-0x00001000 area is occupied by bootlaoder.*/ | |||
# The CORTEX_VTOR... is needed only for MCHCK/Infinity KB | |||
# OPT_DEFS = -DCORTEX_VTOR_INIT=0x08005000 | |||
OPT_DEFS = | |||
# Do not put the microcontroller into power saving mode | |||
# when we get USB suspend event. We want it to keep updating | |||
# backlight effects. | |||
OPT_DEFS += -DNO_SUSPEND_POWER_DOWN | |||
# Options to pass to dfu-util when flashing | |||
DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave | |||
DFU_SUFFIX_ARGS = -p DF11 -v 0483 | |||
# Build Options | |||
# comment out to disable the options. | |||
# | |||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | |||
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration | |||
MOUSEKEY_ENABLE = yes # Mouse keys | |||
EXTRAKEY_ENABLE = yes # Audio control and System control | |||
CONSOLE_ENABLE = no # Console for debug | |||
COMMAND_ENABLE = no # Commands for debug and configuration | |||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | |||
NKRO_ENABLE = yes # USB Nkey Rollover | |||
AUDIO_ENABLE = no # Audio output on port C6 | |||
NO_USB_STARTUP_CHECK = no # Disable initialization only when usb is plugged in | |||
#SERIAL_LINK_ENABLE = yes | |||
RAW_ENABLE = yes | |||
DYNAMIC_KEYMAP_ENABLE = yes | |||
CIE1931_CURVE = yes | |||
VIA_ENABLE = yes |
@ -1,85 +1 @@ | |||
# MCU name | |||
MCU = atmega32u4 | |||
# Processor frequency. | |||
# This will define a symbol, F_CPU, in all source code files equal to the | |||
# processor frequency in Hz. You can then use this symbol in your source code to | |||
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done | |||
# automatically to create a 32-bit value in your source code. | |||
# | |||
# This will be an integer division of F_USB below, as it is sourced by | |||
# F_USB after it has run through any CPU prescalers. Note that this value | |||
# does not *change* the processor frequency - it should merely be updated to | |||
# reflect the processor speed set externally so that the code can use accurate | |||
# software delays. | |||
F_CPU = 16000000 | |||
# | |||
# LUFA specific | |||
# | |||
# Target architecture (see library "Board Types" documentation). | |||
ARCH = AVR8 | |||
# Input clock frequency. | |||
# This will define a symbol, F_USB, in all source code files equal to the | |||
# input clock frequency (before any prescaling is performed) in Hz. This value may | |||
# differ from F_CPU if prescaling is used on the latter, and is required as the | |||
# raw input clock is fed directly to the PLL sections of the AVR for high speed | |||
# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | |||
# at the end, this will be done automatically to create a 32-bit value in your | |||
# source code. | |||
# | |||
# If no clock division is performed on the input clock inside the AVR (via the | |||
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | |||
F_USB = $(F_CPU) | |||
# Interrupt driven control endpoint task(+60) | |||
OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | |||
# Bootloader selection | |||
# Teensy halfkay | |||
# Pro Micro caterina | |||
# Atmel DFU atmel-dfu | |||
# LUFA DFU lufa-dfu | |||
# QMK DFU qmk-dfu | |||
# atmega32a bootloadHID | |||
BOOTLOADER = atmel-dfu | |||
# If you don't know the bootloader type, then you can specify the | |||
# Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line | |||
# Teensy halfKay 512 | |||
# Teensy++ halfKay 1024 | |||
# Atmel DFU loader 4096 | |||
# LUFA bootloader 4096 | |||
# USBaspLoader 2048 | |||
# OPT_DEFS += -DBOOTLOADER_SIZE=4096 | |||
# Build Options | |||
# change yes to no to disable | |||
# | |||
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | |||
MOUSEKEY_ENABLE = no # Mouse keys(+4700) | |||
EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | |||
CONSOLE_ENABLE = no # Console for debug(+400) | |||
COMMAND_ENABLE = no # Commands for debug and configuration | |||
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | |||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | |||
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | |||
NKRO_ENABLE = yes # USB Nkey Rollover | |||
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality on B7 by default | |||
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | |||
MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config) | |||
UNICODE_ENABLE = no # Unicode | |||
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | |||
AUDIO_ENABLE = no # Audio output on port C6 | |||
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | |||
HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) | |||
# This is the VIA magic | |||
RAW_ENABLE = yes | |||
DYNAMIC_KEYMAP_ENABLE = yes | |||
SRC += keyboards/wilba_tech/wt_main.c | |||
VIA_ENABLE = yes |
@ -0,0 +1,49 @@ | |||
/* Copyright 2019 jrfhoutx | |||
* | |||
* This program is free software: you can redistribute it and/or modify | |||
* it under the terms of the GNU General Public License as published by | |||
* the Free Software Foundation, either version 2 of the License, or | |||
* (at your option) any later version. | |||
* | |||
* This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
* GNU General Public License for more details. | |||
* | |||
* You should have received a copy of the GNU General Public License | |||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
*/ | |||
#include QMK_KEYBOARD_H | |||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
[0] = LAYOUT_all( | |||
KC_DEL, 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_BSPC, KC_BSPC, | |||
KC_PGUP, 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_PGDN, 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_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_RSFT, | |||
KC_LCTL, KC_LALT, KC_SPC, MO(1), KC_SPC, KC_RALT, KC_RCTL | |||
), | |||
[1] = LAYOUT_all( | |||
KC_TRNS, KC_TRNS, 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_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, | |||
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, 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, KC_TRNS | |||
), | |||
[2] = LAYOUT_all( | |||
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, 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, 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, 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 | |||
), | |||
[3] = LAYOUT_all( | |||
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, 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, 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, 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 | |||
), | |||
}; |
@ -0,0 +1 @@ | |||
# The VIA keymap for OSA |
@ -0,0 +1,2 @@ | |||
VIA_ENABLE = yes | |||
MOUSEKEY_ENABLE = no |
@ -1,76 +1 @@ | |||
# MCU name | |||
MCU = atmega32u4 | |||
# Processor frequency. | |||
# This will define a symbol, F_CPU, in all source code files equal to the | |||
# processor frequency in Hz. You can then use this symbol in your source code to | |||
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done | |||
# automatically to create a 32-bit value in your source code. | |||
# | |||
# This will be an integer division of F_USB below, as it is sourced by | |||
# F_USB after it has run through any CPU prescalers. Note that this value | |||
# does not *change* the processor frequency - it should merely be updated to | |||
# reflect the processor speed set externally so that the code can use accurate | |||
# software delays. | |||
F_CPU = 16000000 | |||
# | |||
# LUFA specific | |||
# | |||
# Target architecture (see library "Board Types" documentation). | |||
ARCH = AVR8 | |||
# Input clock frequency. | |||
# This will define a symbol, F_USB, in all source code files equal to the | |||
# input clock frequency (before any prescaling is performed) in Hz. This value may | |||
# differ from F_CPU if prescaling is used on the latter, and is required as the | |||
# raw input clock is fed directly to the PLL sections of the AVR for high speed | |||
# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | |||
# at the end, this will be done automatically to create a 32-bit value in your | |||
# source code. | |||
# | |||
# If no clock division is performed on the input clock inside the AVR (via the | |||
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | |||
F_USB = $(F_CPU) | |||
# Interrupt driven control endpoint task(+60) | |||
OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | |||
# Bootloader selection | |||
# Teensy halfkay | |||
# Pro Micro caterina | |||
# Atmel DFU atmel-dfu | |||
# LUFA DFU lufa-dfu | |||
# QMK DFU qmk-dfu | |||
# atmega32a bootloadHID | |||
BOOTLOADER = caterina | |||
# Boot Section Size in *bytes* | |||
# OPT_DEFS += -DBOOTLOADER_SIZE=4096 | |||
# Build Options | |||
# change yes to no to disable | |||
# | |||
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | |||
MOUSEKEY_ENABLE = no # Mouse keys(+4700) | |||
EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | |||
CONSOLE_ENABLE = no # Console for debug(+400) | |||
COMMAND_ENABLE = no # Commands for debug and configuration | |||
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | |||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | |||
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | |||
NKRO_ENABLE = yes # USB Nkey Rollover | |||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default | |||
MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config) | |||
UNICODE_ENABLE = no # Unicode | |||
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | |||
AUDIO_ENABLE = no # Audio output on port C6 | |||
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | |||
# This is the VIA magic | |||
RAW_ENABLE = yes | |||
DYNAMIC_KEYMAP_ENABLE = yes | |||
SRC += keyboards/wilba_tech/wt_main.c | |||
LAYOUTS = ortho_5x4 numpad_5x4 | |||
VIA_ENABLE = yes |
@ -1,69 +1 @@ | |||
# MCU name | |||
MCU = atmega32u4 | |||
# Processor frequency. | |||
# This will define a symbol, F_CPU, in all source code files equal to the | |||
# processor frequency in Hz. You can then use this symbol in your source code to | |||
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done | |||
# automatically to create a 32-bit value in your source code. | |||
# | |||
# This will be an integer division of F_USB below, as it is sourced by | |||
# F_USB after it has run through any CPU prescalers. Note that this value | |||
# does not *change* the processor frequency - it should merely be updated to | |||
# reflect the processor speed set externally so that the code can use accurate | |||
# software delays. | |||
F_CPU = 16000000 | |||
# | |||
# LUFA specific | |||
# | |||
# Target architecture (see library "Board Types" documentation). | |||
ARCH = AVR8 | |||
# Input clock frequency. | |||
# This will define a symbol, F_USB, in all source code files equal to the | |||
# input clock frequency (before any prescaling is performed) in Hz. This value may | |||
# differ from F_CPU if prescaling is used on the latter, and is required as the | |||
# raw input clock is fed directly to the PLL sections of the AVR for high speed | |||
# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | |||
# at the end, this will be done automatically to create a 32-bit value in your | |||
# source code. | |||
# | |||
# If no clock division is performed on the input clock inside the AVR (via the | |||
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | |||
F_USB = $(F_CPU) | |||
# Interrupt driven control endpoint task(+60) | |||
OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | |||
# Bootloader selection | |||
# Teensy halfkay | |||
# Pro Micro caterina | |||
# Atmel DFU atmel-dfu | |||
# LUFA DFU lufa-dfu | |||
# QMK DFU qmk-dfu | |||
# atmega32a bootloadHID | |||
BOOTLOADER = atmel-dfu | |||
# Build Options | |||
# comment out to disable the options. | |||
# | |||
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | |||
MOUSEKEY_ENABLE = no # Mouse keys(+4700) | |||
EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | |||
CONSOLE_ENABLE = no # Console for debug(+400) | |||
COMMAND_ENABLE = no # Commands for debug and configuration | |||
NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | |||
RGBLIGHT_ENABLE = yes # Enable keyboard underlight functionality (+4870) | |||
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality (+1150) | |||
MIDI_ENABLE = no # MIDI controls | |||
AUDIO_ENABLE = no | |||
UNICODE_ENABLE = no # Unicode | |||
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | |||
#add files needed for via | |||
RAW_ENABLE = yes | |||
DYNAMIC_KEYMAP_ENABLE = yes | |||
SRC += keyboards/wilba_tech/wt_main.c | |||
VIA_ENABLE = yes |
@ -0,0 +1,36 @@ | |||
#include QMK_KEYBOARD_H | |||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
// Default layer | |||
[0] = LAYOUT_all( | |||
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, | |||
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, | |||
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, | |||
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, | |||
MO(1), KC_LGUI, KC_LALT, KC_SPC, MO(2), KC_LEFT, KC_DOWN, KC_RGHT), | |||
// Fn1 Layer | |||
[1] = LAYOUT_all( | |||
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, | |||
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, | |||
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, | |||
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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), | |||
// Fn2 Layer | |||
[2] = LAYOUT_all( | |||
KC_TRNS, EF_DEC, EF_INC, H1_DEC, H1_INC, H2_DEC, H2_INC, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, BR_DEC, BR_INC, KC_TRNS, KC_TRNS, KC_TRNS, | |||
KC_TRNS, KC_TRNS, KC_TRNS, S1_DEC, S1_INC, S2_DEC, S2_INC, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, ES_DEC, ES_INC, 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, 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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), | |||
// Fn3 Layer | |||
[3] = LAYOUT_all( | |||
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, 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, 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, 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), | |||
}; |
@ -0,0 +1 @@ | |||
VIA_ENABLE = yes |
@ -0,0 +1,13 @@ | |||
#include QMK_KEYBOARD_H | |||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
LAYOUT( | |||
KC_KP_7, KC_KP_8, KC_KP_9, KC_KP_4, KC_KP_5, KC_KP_6, KC_KP_1, KC_KP_2, KC_KP_3, KC_KP_0 ), | |||
LAYOUT( | |||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ), | |||
LAYOUT( | |||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ), | |||
LAYOUT( | |||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ) | |||
}; |
@ -0,0 +1 @@ | |||
VIA_ENABLE = yes |
@ -0,0 +1,40 @@ | |||
// M60-A layout | |||
#include QMK_KEYBOARD_H | |||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
// Default layer | |||
[0] = LAYOUT_60_hhkb( | |||
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_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_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_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, FN_MO13, | |||
KC_LGUI, KC_LALT, KC_SPC, KC_RALT, FN_MO23), | |||
// Fn1 Layer | |||
[1] = LAYOUT_60_hhkb( | |||
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_CAPS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PSCR, KC_SLCK, KC_PAUS, KC_UP, KC_TRNS, KC_TRNS, | |||
KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_EJCT, KC_TRNS, KC_PAST, KC_PSLS, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, KC_TRNS, | |||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PPLS, KC_PMNS, KC_END, KC_PGDN, KC_DOWN, KC_TRNS, KC_TRNS, | |||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), | |||
// Fn2 Layer | |||
[2] = LAYOUT_60_hhkb( | |||
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, 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, 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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | |||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), | |||
// Fn3 Layer (zeal60 Configuration) | |||
[3] = LAYOUT_60_hhkb( | |||
KC_TRNS, EF_DEC, EF_INC, H1_DEC, H1_INC, H2_DEC, H2_INC, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, BR_DEC, BR_INC, KC_TRNS, KC_TRNS, | |||
KC_TRNS, KC_TRNS, KC_TRNS, S1_DEC, S1_INC, S2_DEC, S2_INC, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, ES_DEC, ES_INC, 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, 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), | |||
}; | |||
@ -0,0 +1 @@ | |||
VIA_ENABLE = yes |
@ -0,0 +1,16 @@ | |||
#include QMK_KEYBOARD_H | |||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
LAYOUT( | |||
KC_1, KC_2, KC_3, KC_4, KC_5, KC_6), | |||
LAYOUT( | |||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO), | |||
LAYOUT( | |||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO), | |||
LAYOUT( | |||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO) }; | |||