summaryrefslogtreecommitdiff
path: root/users/riblee/riblee.c
diff options
context:
space:
mode:
authorReibl János Dániel <janos.daniel.reibl@protonmail.com>2021-10-23 08:30:43 +0200
committerGitHub <noreply@github.com>2021-10-22 23:30:43 -0700
commita167a95bd07adfa15c3837fdee9cee507e49ae06 (patch)
treeab42e81f91c039a73a2bd3465d99170bc7586a69 /users/riblee/riblee.c
parentbfddc7dfa15555edf0cf36d649ba84413e642c9c (diff)
downloadqmk_firmware-a167a95bd07adfa15c3837fdee9cee507e49ae06.tar.gz
qmk_firmware-a167a95bd07adfa15c3837fdee9cee507e49ae06.zip
[Keymap] Simplify unicode input mode change and CTRL and GUI swapping (#14874)
Diffstat (limited to 'users/riblee/riblee.c')
-rw-r--r--users/riblee/riblee.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/users/riblee/riblee.c b/users/riblee/riblee.c
index ae3bd7a2b1..6f608f94f5 100644
--- a/users/riblee/riblee.c
+++ b/users/riblee/riblee.c
@@ -175,6 +175,12 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return false;
break;
+ case CG_NORM:
+ set_unicode_input_mode(UC_MAC);
+ break;
+ case CG_SWAP:
+ set_unicode_input_mode(UC_LNX);
+ break;
}
return true;
};