aboutsummaryrefslogtreecommitdiffstats
path: root/tmk_core/common.mk
diff options
context:
space:
mode:
authorGravatar Joe Wasson <jwasson+github@gmail.com>2016-07-27 08:43:02 -0700
committerGravatar Joe Wasson <jwasson+github@gmail.com>2016-08-20 17:46:53 -0700
commitdd378601608849679ead6e2cccb74f7f29c131dc (patch)
treeb8142400df6c9611a9b3e50aba2c78be1fb7db4e /tmk_core/common.mk
parenta3f726174c0f8f358f7970767a1bf743fd9ad761 (diff)
downloadqmk_firmware-dd378601608849679ead6e2cccb74f7f29c131dc.tar.gz
Add one-hand support.
This adds an action, `ACTION_SWAP_HANDS`, that swaps the the keys on the keyboard across a keymap-defined hemisphere in order to support one-hand typing without requiring a separate one-handed layer. See updated `doc/keymap.md` for more information.
Diffstat (limited to 'tmk_core/common.mk')
-rw-r--r--tmk_core/common.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/tmk_core/common.mk b/tmk_core/common.mk
index aa05b9491..429c57143 100644
--- a/tmk_core/common.mk
+++ b/tmk_core/common.mk
@@ -85,6 +85,10 @@ ifeq ($(strip $(BLUETOOTH_ENABLE)), yes)
OPT_DEFS += -DBLUETOOTH_ENABLE
endif
+ifeq ($(strip $(ONEHAND_ENABLE)), yes)
+ OPT_DEFS += -DONEHAND_ENABLE
+endif
+
ifeq ($(strip $(KEYMAP_SECTION_ENABLE)), yes)
OPT_DEFS += -DKEYMAP_SECTION_ENABLE