summaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/rootiest
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/planck/keymaps/rootiest')
-rw-r--r--keyboards/planck/keymaps/rootiest/keymap.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/keyboards/planck/keymaps/rootiest/keymap.c b/keyboards/planck/keymaps/rootiest/keymap.c
index d6e8c7ef0f..a8ff2dd8d9 100644
--- a/keyboards/planck/keymaps/rootiest/keymap.c
+++ b/keyboards/planck/keymaps/rootiest/keymap.c
@@ -1328,33 +1328,25 @@ void send_degree_symbol(tap_dance_state_t* state, void* user_data) {
switch (state->count) {
case 4:
// ℃
- unicode_input_start();
- register_hex(0x2103);
- unicode_input_finish();
+ register_unicode(0x2103);
print("You pressed the Degrees key 4 times!\n");
reset_tap_dance(state);
break;
case 3:
//℉
- unicode_input_start();
- register_hex(0x2109);
- unicode_input_finish();
+ register_unicode(0x2109);
print("You pressed the Degrees key 3 times!\n");
reset_tap_dance(state);
break;
case 2:
// €
- unicode_input_start();
- register_hex(0x20AC);
- unicode_input_finish();
+ register_unicode(0x20AC);
print("You pressed the Degrees key 2 times!\n");
reset_tap_dance(state);
break;
case 1:
// °
- unicode_input_start();
- register_hex(0x00B0);
- unicode_input_finish();
+ register_unicode(0x00B0);
print("You pressed the Degrees key 1 time!\n");
reset_tap_dance(state);
break;