dacc54fa1a
- NOT TESTED YET. still need to do that - also, got an idea for layer masking... possible future changes: - i'd like to make the layer matrices just '_kb_layout_values', and '_kb_layout_functions'. - i'd like to make layer masks implemented with a special function 'kbfun_layermask_transparent' or something similar. a function that looks up what would have been pressed if that layer wasn't active. they could be chainable, i.e. a lookup for such a function could end up calling the same function (if two layermasks were active on top of on another), which would then call a real key. these wouldn't be allowed on the base layer, of course... and then, all i'd have to do to keep track of layers would be keep a variable length array (or not... maybe an array of length 10 or something) of which layer is active... :) - i'd like to have a thing (this isn't a very complete thought yet) where keypresses are looked up first in the EEPROM, to see if there's a definition there. if there isn't (which should usually be the case) then the standard definition for that key from the matrices would be used. this would allow macros (and redefinitions) without reflashing. this would also be convenient, once the mechanism was implemented, for assigning keys multiple decomposable actions... dunno exactly how it'll work out yet though. layer stuff comes first.
27 lines
1 KiB
Plaintext
27 lines
1 KiB
Plaintext
# -----------------------------------------------------------------------------
|
|
# certain compilations options
|
|
# -----------------------------------------------------------------------------
|
|
# Copyright (c) 2012 Ben Blazak <benblazak.dev@gmail.com>
|
|
# Released under The MIT License (MIT) (see "license.md")
|
|
# Project located at <https://github.com/benblazak/ergodox-firmware>
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
|
TARGET := firmware # the name we want for our program binary
|
|
KEYBOARD := ergodox # keyboard model; see "src/keyboard" for what's available
|
|
LAYOUT := qwerty-kinesis-mod # keyboard layout
|
|
# see "src/keyboard/*/layout" for what's
|
|
# available
|
|
|
|
LED_BRIGHTNESS := 0.5 # a multiplier, with 1 being the max
|
|
DEBOUNCE_TIME := 5 # in ms; see keyswitch spec for necessary value; 5ms should
|
|
# be good for cherry mx switches
|
|
|
|
|
|
# remove whitespace
|
|
TARGET := $(strip $(TARGET))
|
|
KEYBOARD := $(strip $(KEYBOARD))
|
|
LAYOUT := $(strip $(LAYOUT))
|
|
DEBOUNCE_TIME := $(strip $(DEBOUNCE_TIME))
|
|
|