aboutsummaryrefslogtreecommitdiff
path: root/users/davidkristoffersen/hardware/split_space.c
diff options
context:
space:
mode:
authorNick Brassel <[email protected]>2023-11-28 16:39:48 +1100
committerNick Brassel <[email protected]>2023-11-28 16:40:47 +1100
commit0115951de12bd4c798a43a380651c34552552e85 (patch)
tree62999011ae782d93aa6dc9c889615db2a840cafc /users/davidkristoffersen/hardware/split_space.c
parent0379d1f59e58cefa18cdb72ba1b77507d1108ae6 (diff)
parent4d99e0a23cff02f4c6e55e093b5de08a9be0df7c (diff)
downloadqmk_firmware-0.23.0.tar.gz
qmk_firmware-0.23.0.zip
`develop` -> `master`, 2023q4 edition0.23.0
Diffstat (limited to 'users/davidkristoffersen/hardware/split_space.c')
-rw-r--r--users/davidkristoffersen/hardware/split_space.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/users/davidkristoffersen/hardware/split_space.c b/users/davidkristoffersen/hardware/split_space.c
deleted file mode 100644
index da25343f3d..0000000000
--- a/users/davidkristoffersen/hardware/split_space.c
+++ /dev/null
@@ -1,23 +0,0 @@
-// Copyright 2022 David Kristoffersen (@davidkristoffersen)
-// SPDX-License-Identifier: GPL-3.0-or-later
-
-#include "split_space.h"
-
-#ifdef SPLIT_SPACE
-void handle_split_space(uint16_t keycode) {
- // Disable modifiers when numpad is active
- if (IS_LAYER_ON(NUMPAD)) clear_oneshot_mods();
-
- if (keycode == KC_LSPC) {
- // 2ng tap: Activate ctrl if shift is active
- if (get_oneshot_mods() & MOD_MASK_SHIFT) {
- clear_oneshot_mods();
- set_oneshot_mods(MOD_LCTL);
- }
- // 1st. tap: Activate shift if no modifier is active
- else {
- set_oneshot_mods(MOD_LSFT);
- }
- }
-}
-#endif