summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVM <mateescu.victor@gmail.com>2019-02-17 03:21:01 +0100
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-02-17 03:21:01 +0100
commitc8577a9a7320ee0f68378b63b39b649f92016857 (patch)
treeefec74b6cf5b4942331f405dbc33bc88990f6c12
parentf2d597d1d3b31ffd77b8fd0c143f9bb27d617f2b (diff)
downloadqmk_firmware-c8577a9a7320ee0f68378b63b39b649f92016857.tar.gz
qmk_firmware-c8577a9a7320ee0f68378b63b39b649f92016857.tar.xz
[omgvee:keymap] minor changes and fw size optimizations (#5150)
- flags for the linker - added INSERT key as I kinda use it for work fairly often - turned on more things in rules.mk since I recovered space via linker flags and whatnot
-rw-r--r--keyboards/crkbd/keymaps/omgvee/config.h3
-rw-r--r--keyboards/crkbd/keymaps/omgvee/keymap.c2
-rw-r--r--keyboards/crkbd/keymaps/omgvee/rules.mk7
3 files changed, 8 insertions, 4 deletions
diff --git a/keyboards/crkbd/keymaps/omgvee/config.h b/keyboards/crkbd/keymaps/omgvee/config.h
index 95d5328ad..5699c3beb 100644
--- a/keyboards/crkbd/keymaps/omgvee/config.h
+++ b/keyboards/crkbd/keymaps/omgvee/config.h
@@ -46,3 +46,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#undef PRODUCT
#define PRODUCT "Vee's hotswappable Helidox/Corne/CRKBD split keeb"
+
+#define NO_ACTION_MACRO
+#define NO_ACTION_FUNCTION
diff --git a/keyboards/crkbd/keymaps/omgvee/keymap.c b/keyboards/crkbd/keymaps/omgvee/keymap.c
index 5c4dd416e..2f79250f8 100644
--- a/keyboards/crkbd/keymaps/omgvee/keymap.c
+++ b/keyboards/crkbd/keymaps/omgvee/keymap.c
@@ -100,7 +100,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
//,-----------------------------------------. ,-----------------------------------------.
RST, LRST, XXXXX, XXXXX, XXXXX, ERST, MNXT, MPRV, MFFD, MRWD, XXXXX, EJCT,\
//|------+------+------+------+------+------| |------+------+------+------+------+------|
- LTOG, LHUI, LSAI, LVAI, PGUP, HOME, LEFT, DOWN, UP, RIGHT, XXXXX, XXXXX,\
+ LTOG, LHUI, LSAI, LVAI, PGUP, HOME, LEFT, DOWN, UP, RIGHT, XXXXX, INS,\
//|------+------+------+------+------+------| |------+------+------+------+------+------|
LMOD, LHUD, LSAD, LVAD, PGDN, END, BRID, BRIU, VOLD, VOLU, MUTE, MPLY,\
//|------+------+------+------+------+------+------| |------+------+------+------+------+------+------|
diff --git a/keyboards/crkbd/keymaps/omgvee/rules.mk b/keyboards/crkbd/keymaps/omgvee/rules.mk
index 16deaf45d..88e43aa99 100644
--- a/keyboards/crkbd/keymaps/omgvee/rules.mk
+++ b/keyboards/crkbd/keymaps/omgvee/rules.mk
@@ -3,13 +3,14 @@
# change to "no" to disable the options, or define them in the Makefile in
# the appropriate keymap folder that will get included automatically
#
+EXTRAFLAGS += -flto
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
MOUSEKEY_ENABLE = no # Mouse keys(+4700)
-EXTRAKEY_ENABLE = no # Audio control and System control(+450)
+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 = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
+NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
+BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
MIDI_ENABLE = no # MIDI controls
AUDIO_ENABLE = no # Audio output on port C6
UNICODE_ENABLE = no # Unicode