summaryrefslogtreecommitdiff
path: root/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/u_arrows_gui.c
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-02-16 13:25:44 +0000
committerGitHub <noreply@github.com>2024-02-16 13:25:44 +0000
commit78a74ca9748b12c27fcddef576a2a9f7f8a9eb38 (patch)
tree13f73755150379bc824424610740411f6fc76b30 /keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/u_arrows_gui.c
parentb8646bc40bd616167da150f6da4eda372f7de23d (diff)
[Keymap Removal] keyboard with most keymaps (#23092)
Diffstat (limited to 'keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/u_arrows_gui.c')
-rw-r--r--keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/u_arrows_gui.c39
1 files changed, 0 insertions, 39 deletions
diff --git a/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/u_arrows_gui.c b/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/u_arrows_gui.c
deleted file mode 100644
index b9a213ef08..0000000000
--- a/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/u_arrows_gui.c
+++ /dev/null
@@ -1,39 +0,0 @@
-//instanalize an instance of 'tap' for the U - Arrows - Gui tap dance.
-static tap u_arrows_gui_state = {
- .is_press_action = true,
- .state = 0
-};
-
-void u_arrows_gui_finished(tap_dance_state_t *state, void *user_data) {
- u_arrows_gui_state.state = current_dance(state);
- switch (u_arrows_gui_state.state) {
- case SINGLE_TAP:
- register_code(KC_U);
- break;
-
- case SINGLE_HOLD:
- layer_on(ARROWS);
- break;
-
- case DOUBLE_HOLD:
- register_code(KC_LGUI);
- break;
- }
-}
-
-void u_arrows_gui_reset(tap_dance_state_t *state, void *user_data) {
- switch (u_arrows_gui_state.state) {
- case SINGLE_TAP:
- unregister_code(KC_U);
- break;
-
- case SINGLE_HOLD:
- layer_off(ARROWS);
- break;
-
- case DOUBLE_HOLD:
- unregister_code(KC_LGUI);
- break;
- }
- u_arrows_gui_state.state = 0;
-}