summaryrefslogtreecommitdiffstats
path: root/users/gordon
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2022-10-20 23:15:15 +0100
committerGitHub <noreply@github.com>2022-10-20 23:15:15 +0100
commit08e111758d1828f206a75f2083fc026a494365b5 (patch)
treef8ab69f86c25cb558840e7fcb4e536cfc81c6b59 /users/gordon
parent00a47742433dc3d48854f2ef646c4fc332f5f443 (diff)
Remove stale userspace/keymaps (#18700)
Diffstat (limited to 'users/gordon')
-rw-r--r--users/gordon/gordon.c410
-rw-r--r--users/gordon/gordon.h247
-rw-r--r--users/gordon/readme.md14
-rw-r--r--users/gordon/rules.mk3
4 files changed, 0 insertions, 674 deletions
diff --git a/users/gordon/gordon.c b/users/gordon/gordon.c
deleted file mode 100644
index c31418b526..0000000000
--- a/users/gordon/gordon.c
+++ /dev/null
@@ -1,410 +0,0 @@
-#include "gordon.h"
-#include "quantum.h"
-#include "action.h"
-#include "process_keycode/process_tap_dance.h"
-
-#if (__has_include("secret.h"))
-#include "secret.h"
-#else
-const char secret[][64] = {
- "test1",
- "test2",
- "test3",
- "test4",
- "test5"
-};
-#endif
-
-void register_hyper (void) { //Helper function to invoke Hyper
- register_code (KC_LSFT);
- register_code (KC_LCTL);
- register_code (KC_LALT);
- register_code (KC_LGUI);
-}
-void unregister_hyper (void) { //Helper function to invoke Hyper
- unregister_code (KC_LSFT);
- unregister_code (KC_LCTL);
- unregister_code (KC_LALT);
- unregister_code (KC_LGUI);
-}
-
-void register_ctrl_a (void) {
- register_code(KC_LCTL);
- register_code(KC_A);
-}
-
-void unregister_ctrl_a (void) {
- unregister_code(KC_LCTL);
- unregister_code(KC_A);
-}
-
-void register_alt_f7 (void) {
- register_code (KC_LALT);
- register_code (KC_F7);
-}
-
-void unregister_alt_f7 (void) {
- unregister_code (KC_LALT);
- unregister_code (KC_F7);
-}
-
-void register_shift_f6 (void) {
- register_code (KC_LSFT);
- register_code (KC_F6);
-}
-
-void unregister_shift_f6 (void) {
- unregister_code (KC_LSFT);
- unregister_code (KC_F6);
-}
-
-void register_ctrl_shift (void) {
- register_code (KC_LSFT);
- register_code (KC_LCTL);
-}
-
-void unregister_ctrl_shift (void) {
- unregister_code (KC_LSFT);
- unregister_code (KC_LCTL);
-}
-
-void register_alt_shift (void) {
- register_code (KC_LSFT);
- register_code (KC_LALT);
-}
-
-void unregister_alt_shift (void) {
- unregister_code (KC_LSFT);
- unregister_code (KC_LALT);
-}
-
-// To activate SINGLE_HOLD, you will need to hold for 200ms first.
-// This tap dance favors keys that are used frequently in typing like 'f'
-int cur_dance (qk_tap_dance_state_t *state) {
- if (state->count == 1) {
- //If count = 1, and it has been interrupted - it doesn't matter if it is pressed or not: Send SINGLE_TAP
- if (state->interrupted) {
- // if (!state->pressed) return SINGLE_TAP;
- //need "permissive hold" here.
- // else return SINsGLE_HOLD;
- //If the interrupting key is released before the tap-dance key, then it is a single HOLD
- //However, if the tap-dance key is released first, then it is a single TAP
- //But how to get access to the state of the interrupting key????
- return SINGLE_TAP;
- }
- else {
- if (!state->pressed) return SINGLE_TAP;
- else return SINGLE_HOLD;
- }
- }
- //If count = 2, and it has been interrupted - assume that user is trying to type the letter associated
- //with single tap.
- else if (state->count == 2) {
- if (state->interrupted) return DOUBLE_SINGLE_TAP;
- else if (state->pressed) return DOUBLE_HOLD;
- else return DOUBLE_TAP;
- }
- else if ((state->count == 3) && ((state->interrupted) || (!state->pressed))) return TRIPLE_TAP;
- else if (state->count == 3) return TRIPLE_HOLD;
- else return 8; //magic number. At some point this method will expand to work for more presses
-}
-
-//This works well if you want this key to work as a "fast modifier". It favors being held over being tapped.
-int hold_cur_dance (qk_tap_dance_state_t *state) {
- if (state->count == 1) {
- if (state->interrupted) {
- if (!state->pressed) return SINGLE_TAP;
- else return SINGLE_HOLD;
- }
- else {
- if (!state->pressed) return SINGLE_TAP;
- else return SINGLE_HOLD;
- }
- }
- //If count = 2, and it has been interrupted - assume that user is trying to type the letter associated
- //with single tap.
- else if (state->count == 2) {
- if (state->pressed) return DOUBLE_HOLD;
- else return DOUBLE_TAP;
- }
- else if (state->count == 3) {
- if (!state->pressed) return TRIPLE_TAP;
- else return TRIPLE_HOLD;
- }
- else return 8; //magic number. At some point this method will expand to work for more presses
-}
-
-
-static xtap htap_state = {
- .is_press_action = true,
- .state = 0
-};
-
-void h_finished (qk_tap_dance_state_t *state, void *user_data) {
- htap_state.state = cur_dance(state);
- switch (htap_state.state) {
- case SINGLE_TAP: register_code(KC_H); break;
- case SINGLE_HOLD: layer_on(8); register_code(KC_LALT); break;
- case DOUBLE_TAP: layer_invert(8); register_code(KC_LALT); break;
- // case DOUBLE_HOLD: register_code(KC_LALT);
- case DOUBLE_SINGLE_TAP: register_code(KC_H);unregister_code(KC_H);register_code(KC_H);
- }
-}
-
-void h_reset (qk_tap_dance_state_t *state, void *user_data) {
- switch (htap_state.state) {
- case SINGLE_TAP: unregister_code(KC_H); break;
- case SINGLE_HOLD: layer_off(8); unregister_code(KC_LALT); break;
- case DOUBLE_TAP: unregister_code(KC_LALT);break;
- // case DOUBLE_HOLD: unregister_code(KC_LALT);
- case DOUBLE_SINGLE_TAP: unregister_code(KC_H);
- }
- htap_state.state = 0;
-}
-
-
-/**************** QUAD FUNCTION FOR TAB ****************/
-// TAB, ALT + SHIFT, TAB TAB, CTRL + SHIFT
-static xtap tab_state = {
- .is_press_action = true,
- .state = 0
-};
-
-void tab_finished (qk_tap_dance_state_t *state, void *user_data) {
- tab_state.state = cur_dance(state);
- switch (tab_state.state) {
- case SINGLE_TAP: register_code(KC_TAB); break; //send tab on single press
- case SINGLE_HOLD: register_ctrl_shift(); break;
- case DOUBLE_HOLD: register_alt_shift(); break; //alt shift on single hold
- case DOUBLE_TAP: register_code(KC_TAB); unregister_code(KC_TAB); register_code(KC_TAB); break; //tab tab
- case TRIPLE_TAP: register_code(KC_LSFT) ;register_code(KC_ESC); break;
- case TRIPLE_HOLD: register_code(KC_LSFT); register_code(KC_LGUI); break;
- }
-}
-
-void tab_reset (qk_tap_dance_state_t *state, void *user_data) {
- switch (tab_state.state) {
- case SINGLE_TAP: unregister_code(KC_TAB); break; //unregister tab
- case DOUBLE_HOLD: unregister_alt_shift(); break; //let go of alt shift
- case DOUBLE_TAP: unregister_code(KC_TAB); break;
- case SINGLE_HOLD: unregister_ctrl_shift(); break;
- case TRIPLE_TAP: unregister_code(KC_LSFT); unregister_code(KC_ESC); break;
- case TRIPLE_HOLD: unregister_code(KC_LSFT); unregister_code(KC_LGUI); break;
- }
- tab_state.state = 0;
-}
-/**************** QUAD FUNCTION FOR TAB ****************/
-
-//*************** SUPER COMMA *******************//
-// Assumption: we don't care about trying to hit ,, quickly
-//*************** SUPER COMMA *******************//
-static xtap comma_state = {
- .is_press_action = true,
- .state = 0
-};
-
-void comma_finished (qk_tap_dance_state_t *state, void *user_data) {
- comma_state.state = hold_cur_dance(state); //Use the dance that favors being held
- switch (comma_state.state) {
- case SINGLE_TAP: register_code(KC_COMMA); break;
- case SINGLE_HOLD: layer_on(1); break; //turn on symbols layer
- case DOUBLE_TAP: layer_invert(4); break; //toggle numbers layer
- case DOUBLE_HOLD: layer_on(2); break;
- case TRIPLE_TAP: register_code(KC_CALCULATOR); break;
- case TRIPLE_HOLD: layer_on(3);
- }
-}
-
-void comma_reset (qk_tap_dance_state_t *state, void *user_data) {
- switch (comma_state.state) {
- case SINGLE_TAP: unregister_code(KC_COMMA); break; //unregister comma
- case SINGLE_HOLD: layer_off(1); break;
- case DOUBLE_TAP: ;break;
- case DOUBLE_HOLD: layer_off(2); break;
- case TRIPLE_TAP: unregister_code(KC_CALCULATOR); break;
- case TRIPLE_HOLD: layer_off(3);
- }
- comma_state.state = 0;
-}
-//*************** SUPER COMMA *******************//
-//*************** SUPER COMMA *******************//
-
-
-//*************** F3 TAP DANCE *******************//
-//Good example for accessing multiple layers from the same key.
-static xtap S1_state = {
- .is_press_action = true,
- .state = 0
-};
-
-void bt_finished (qk_tap_dance_state_t *state, void *user_data) {
- S1_state.state = cur_dance(state);
- switch (S1_state.state) {
- case SINGLE_TAP: register_code(KC_F3); break;
- case SINGLE_HOLD: layer_on(_MACROS); break;
- case DOUBLE_TAP: layer_invert(_MACROS); break;
- case DOUBLE_HOLD: layer_on(5); break;
- case DOUBLE_SINGLE_TAP: layer_invert(_MACROS); break;
- }
-}
-
-void bt_reset (qk_tap_dance_state_t *state, void *user_data) {
- switch (S1_state.state) {
- case SINGLE_TAP: unregister_code(KC_F3); break;
- case SINGLE_HOLD: layer_off(_MACROS); break;
- case DOUBLE_TAP: break; //already inverted. Don't do anything.
- case DOUBLE_HOLD: layer_off(5); break;
- case DOUBLE_SINGLE_TAP: break;
- }
- S1_state.state = 0;
-}
-
-// Tap Dance Definitions
-qk_tap_dance_action_t tap_dance_actions[] = {
- // simple tap dance
- [F12ETAPS] = ACTION_TAP_DANCE_DOUBLE(KC_F12,LSFT(LCTL(KC_F10))),
- [REFRESH] = ACTION_TAP_DANCE_DOUBLE(KC_R,LCTL(KC_R)),
- [ENDESC] = ACTION_TAP_DANCE_DOUBLE(KC_END, KC_ESC),
- [Q_ESCAPE] = ACTION_TAP_DANCE_DOUBLE(KC_Q, KC_ESC),
- [ENDHOME] = ACTION_TAP_DANCE_DOUBLE(KC_END, KC_HOME),
- [CALCCOMP] = ACTION_TAP_DANCE_DOUBLE(KC_CALCULATOR, KC_MY_COMPUTER),
- [ALTF4] = ACTION_TAP_DANCE_DOUBLE(KC_F4,LALT(KC_F4)),
- [F6F7] = ACTION_TAP_DANCE_DOUBLE(LSFT(KC_F6), LALT(KC_F7)),
- [F1F13] = ACTION_TAP_DANCE_DOUBLE(KC_F1, KC_F13),
- [F2F14] = ACTION_TAP_DANCE_DOUBLE(KC_F2, KC_F14),
- [F5F15] = ACTION_TAP_DANCE_DOUBLE(KC_F5, KC_F15),
- [TABCOMBO] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, tab_finished, tab_reset),
- [F3D] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, bt_finished, bt_reset),
- [COMMA] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, comma_finished, comma_reset),
- [HTAB] = ACTION_TAP_DANCE_FN_ADVANCED(NULL,h_finished, h_reset)
-};
-
-// bool process_record_user(uint16_t keycode, keyrecord_t *record) {
-// if (!record->event.pressed) {
-// switch (keycode) {
-
-// case KC_SECRET_1 ... KC_SECRET_5:
-// send_string(secret[keycode - KC_SECRET_1]);
-// // clear_oneshot_layer_state(ONESHOT_OTHER_KEY_PRESSED);
-// return true; break;
-
-// case UP_ENTER_RESET:
-// register_code(KC_UP);
-// unregister_code(KC_UP);
-// register_code(KC_ENTER);
-// unregister_code(KC_ENTER);
-// reset_keyboard();
-// return false; break;
-
-// case TIL_SLASH:
-// SEND_STRING ("~/.");
-// return false; break;
-
-// case DBMS_OUT:
-// SEND_STRING ("dbms_output.put_line('');");
-// SEND_STRING (SS_TAP(X_LEFT) SS_TAP(X_LEFT) SS_TAP(X_LEFT));
-// return false; break;
-
-// case ID_MAN_IP:
-// SEND_STRING ("http://dev-1967110238.us-east-1.elb.amazonaws.com");
-// return false; break;
-
-// case MODRESET:
-// clear_mods();
-// return false; break;
-
-// case DEREF:
-// SEND_STRING ("->");
-// return false; break;
-
-// case EQRIGHT:
-// SEND_STRING ("=>");
-// return false; break;
-
-// case TICK3:
-// SEND_STRING ("```");
-// return false; break;
-
-// case TILD3:
-// SEND_STRING ("~~~");
-// return false; break;
-// }
-// }
-// return true;
-// };
-
-
-
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- if (!record->event.pressed) {
- switch (keycode) {
- case KC_SECRET_1 ... KC_SECRET_5:
- send_string(secret[keycode - KC_SECRET_1]);
- // clear_oneshot_layer_state(ONESHOT_OTHER_KEY_PRESSED);
- return true; break;
- case UP_ENTER_RESET:
- SEND_STRING("make ergodox_infinity:gordon:dfu-util");
- register_code(KC_ENTER);
- unregister_code(KC_ENTER);
- reset_keyboard();
- return false; break;
-
- case TIL_SLASH:
- SEND_STRING ("~/.");
- return false; break;
-
- case DBMS_OUT:
- SEND_STRING ("dbms_output.put_line('');");
- SEND_STRING (SS_TAP(X_LEFT) SS_TAP(X_LEFT) SS_TAP(X_LEFT));
- return false; break;
- case DIE_1000X_RIGHT:
- SEND_STRING (SS_TAP(X_G) SS_TAP(X_G) SS_TAP(X_RIGHT) SS_TAP(X_B) SS_TAP(X_J));
- return false; break;
- case DIE_1000X_LEFT:
- SEND_STRING (SS_TAP(X_GRAVE) SS_TAP(X_G) SS_TAP(X_LEFT) SS_TAP(X_B) SS_TAP(X_J));
- return false; break;
- case ID_MAN_IP:
- SEND_STRING ("http://dev-1967110238.us-east-1.elb.amazonaws.com");
- return false; break;
-
- case MODRESET:
- clear_mods();
- return false; break;
-
- case DEREF:
- SEND_STRING ("->");
- return false; break;
-
- case EQRIGHT:
- SEND_STRING ("=>");
- return false; break;
-
- case TICK3:
- SEND_STRING ("```");
-
- return false; break;
-
- case SPRK_TCK:
- SEND_STRING ("```");
- SEND_STRING (SS_DOWN(X_LSFT) SS_TAP(X_ENTER) SS_UP(X_LSFT));
- SEND_STRING (SS_DOWN(X_LSFT) SS_TAP(X_ENTER) SS_UP(X_LSFT));
- SEND_STRING ("```");
- SEND_STRING (SS_TAP(X_UP));
- return false; break;
-
- case TILD3:
- SEND_STRING ("~~~");
- return false; break;
- }
- }
- else { //On key being pressed
- switch (keycode) {
- case KC_SECRET_1 ... KC_SECRET_5:
- clear_oneshot_layer_state(ONESHOT_OTHER_KEY_PRESSED);
- return false; break;
- }
- }
- return true;
-};
-
diff --git a/users/gordon/gordon.h b/users/gordon/gordon.h
deleted file mode 100644
index c6bd6e10b5..0000000000
--- a/users/gordon/gordon.h
+++ /dev/null
@@ -1,247 +0,0 @@
-#ifndef GORDON
-#define GORDON
-
-#include "quantum.h"
-#include "process_keycode/process_tap_dance.h"
-
-
-// Fillers to make layering more clear
-#define ________ KC_TRNS
-#define _________ KC_TRNS
-#define _XXXXXX_ KC_TRNS
-
-// KC codes that are too long
-#define DOLLAR KC_DOLLAR
-#define LSQUIGLY KC_LBRC
-#define RSQUIGLY KC_RBRC
-#define NUMLOCK KC_NUM_LOCK
-#define CAPLOCK KC_CAPS_LOCK
-#define BK_SLASH KC_BACKSLASH
-#define ASTERSK KC_KP_ASTERISK
-
-// Navigation
-#define SNAPLEFT LGUI(KC_LEFT)
-#define SNAPRGHT LGUI(KC_RIGHT)
-#define SNAPUP LGUI(KC_UP)
-#define SNAPDOWN LGUI(KC_DOWN)
-#define PREVTAB LCTL(LSFT(KC_TAB))
-#define NEXTTAB LCTL(KC_TAB)
-#define WORKRIGHT LCTL(LGUI(KC_RIGHT))
-#define WORKLEFT LCTL(LGUI(KC_LEFT))
-
-#define APP_1 LCTL(LGUI(KC_1))
-#define APP_2 LCTL(LGUI(KC_2))
-#define APP_3 LCTL(LGUI(KC_3))
-#define APP_4 LCTL(LGUI(KC_4))
-#define APP_5 LCTL(LGUI(KC_5))
-#define APP_6 LCTL(LGUI(KC_6))
-#define APP_7 LCTL(LGUI(KC_7))
-#define APP_8 LCTL(LGUI(KC_8))
-
-// KC/modifier hold
-#define CTRL_F CTL_T(KC_F)
-#define CTRL_J CTL_T(KC_J)
-#define CTRL_Z CTL_T(KC_Z)
-#define ALT_V ALT_T(KC_V)
-#define ALT_M ALT_T(KC_M)
-#define WIN_G GUI_T(KC_G)
-#define WIN_H GUI_T(KC_H)
-#define HYPER_X ALL_T(KC_X)
-#define HYPE_DOT ALL_T(KC_DOT)
-#define MEH_S MEH_T(KC_S)
-#define MEH_L MEH_T(KC_L)
-#define ALT_HOME ALT_T(KC_HOME)
-
-
-// KC/Layer Hold
-#define NAV_E LT(_NAV,KC_E)
-#define NUMPAD_D LT(_NUMPAD,KC_D)
-#define MOUSE_C LT(_MOUSE,KC_C)
-#define SYMB_BSP LT(_SYMBOLS,KC_BACKSPACE)
-#define COL_MOUS LT(_MOUSE,KC_SEMICOLON)
-#define SPAC_SYM LT(_SYMBOLS,KC_SPACE)
-#define SPAC_TXT LT(_TEXTNAV,KC_SPACE)
-
-#define APP_SW_I LT(_APPSWITCH,KC_I)
-#define APP_SW_K LT(_APPSWITCH,KC_K)
-
-// #define TLSLSH TIL_SLASH
-// #define TILDA_3x TILD3
-// #define _RESET_ UP_ENTER_RESET
-
-
-// Double Modifier ONLY hold
-#define ALT_SHFT LSFT(KC_LALT)
-#define CTR_SHFT LSFT(KC_LCTL)
-
-// KC/Double modifier Hold
-#define CTR_SH_W MT(MOD_LCTL|MOD_LSFT,KC_W)
-#define CTR_AL_R MT(MOD_LCTL|MOD_LALT,KC_R)
-#define ALT_SH_R MT(MOD_LSFT|MOD_LALT,KC_R)
-
-//MISC
-#define PRINTSCR KC_PRINT_SCREEN
-#define CALTDEL LCTL(LALT(KC_DEL))
-#define TSKMGR LCTL(LSFT(KC_ESC))
-
-
-typedef struct {
- bool is_press_action;
- int state;
-} xtap;
-
-enum {
- SINGLE_TAP = 1,
- SINGLE_HOLD = 2,
- DOUBLE_TAP = 3,
- DOUBLE_HOLD = 4,
- DOUBLE_SINGLE_TAP = 5, //send two single taps
- TRIPLE_TAP = 6,
- TRIPLE_HOLD = 7
-};
-
-//Tap dance enums
-enum
-{
- F12TAP = 0,
- F12ETAPS,
- CALCCOMP,
- REFRESH, //send R, or Control+R if double tapped.
- ENDESC,
- XESC, //'quad function'. x, control, escape, alt
- ALY2, //'quad function': a, Hyper, ctrl+a, layer 2
- PRLOCK,
- F6F7, // Shift F6 or Alt F7
- TABCOMBO,
- FCTRL,
- F3D,
- ALTF4,
- COMMA,
- AT,
- HTAB,
- F1F13,
- F2F14,
- F5F15,
- ENDHOME,
- Q_ESCAPE
-};
-
-#ifdef TAP_DANCE_ENABLE
-#define F1_F13 TD(F1F13)
-#define F2_F14 TD(F2F14)
-#define F5_F15 TD(F5F15)
-#define F4_ALTF4 TD(ALTF4)
-#define END_ESC TD(ENDESC)
-#define Q_ESC TD(Q_ESCAPE)
-#define END_HOME TD(ENDHOME)
-#define SHF6_AF7 TD(F6F7)
-#define F12_RUN TD(F12ETAPS)
-#define COMMA_TD TD(COMMA)
-#define CALC_COM TD(CALCCOMP)
-#else //just to make things compile
-#define F1_F13 KC_1
-#define F2_F14 KC_1
-#define F5_F15 KC_1
-#define F4_ALTF4 KC_1
-#define END_ESC KC_1
-#define END_HOME KC_1
-#define SHF6_AF7 KC_1
-#define F12_RUN KC_1
-#define COMMA_TD KC_1
-#define CALC_COM KC_1
-#endif
-
-enum gordon_layers
-{
- _QWERTY = 0,
- _SYMBOLS, // Programming and all other commonlye used symbols
- _MOUSE, // Mouse movement and also a few macros
- _NUMPAD, // For getting a numpad under the right hand, and a few helpful things under the left
- _NAV, // Windows navigation. Windows snapping, changing workspaces, and ARROWS
- _MACROS, // Non-text related Macros.
- _FUNCTION, // Not sure what I had in mind for this one
- _APPSWITCH, // For switching between apps using the `ctrl + Win + [num]` shortcut.
- // This allows for toggling windows of the same app with one button.
- // Example: Press and hold `I`, then tap `j` multiple times to cycle through all
- // Intellij windows (and only Intellij). This requires the app to be pinned to the Windows bar
- _ONESHOT, // A layer I use for shortcuts that require multiple modifiers and a button not on my home layer
- // Example: If I need to hit `alt + shift + 5`
- _TEXTNAV, // Navigate through text
- _QWERTY_KIDS, // So my kids can do nothing but type. Could also be a `speed typing` layer with no LT or MTs
- _STREET_FIGHTER, // For Street Fighter 5. Die 1000x Deaths!!!!
- _DIRNAV, // For navigating to different directories.
- _TEXT_MACROS // For text-manipulation macros. Passwords, saved strings, pre-formatting
-};
-
-
-
-void register_hyper (void);
-void unregister_hyper (void);
-
-void register_ctrl_a (void);
-void unregister_ctrl_a (void);
-
-void register_alt_f7 (void);
-void unregister_alt_f7 (void);
-
-void register_shift_f6 (void);
-void unregister_shift_f6 (void);
-
-void register_ctrl_shift (void);
-void unregister_ctrl_shift (void);
-
-void register_alt_shift (void);
-void unregister_alt_shift (void);
-
-int cur_dance (qk_tap_dance_state_t *state);
-int hold_cur_dance (qk_tap_dance_state_t *state);
-
-void x_finished (qk_tap_dance_state_t *state, void *user_data);
-void x_reset (qk_tap_dance_state_t *state, void *user_data);
-
-void h_finished (qk_tap_dance_state_t *state, void *user_data);
-void h_reset (qk_tap_dance_state_t *state, void *user_data);
-
-void tab_finished (qk_tap_dance_state_t *state, void *user_data);
-void tab_reset (qk_tap_dance_state_t *state, void *user_data);
-
-void comma_finished (qk_tap_dance_state_t *state, void *user_data);
-void comma_reset (qk_tap_dance_state_t *state, void *user_data);
-
-void bt_finished (qk_tap_dance_state_t *state, void *user_data);
-void bt_reset (qk_tap_dance_state_t *state, void *user_data);
-
-enum secret_strings {
- KC_SECRET_1 = SAFE_RANGE,
- KC_SECRET_2,
- KC_SECRET_3,
- KC_SECRET_4,
- KC_SECRET_5,
- END_SECRET_SAFE_RANGE
-};
-
-
-// Macro Declarations
-enum {
- INFOQM = END_SECRET_SAFE_RANGE,
- MODRESET,
- TIL_SLASH,
- DEREF,
- EQRIGHT,
- TILD3,
- TICK3,
- SPRK_TCK,
- ALTTAB_START,
- ALTTAB_END,
- UP_ENTER_RESET,
- DBMS_OUT,
- DIE_1000X_RIGHT,
- DIE_1000X_LEFT,
- ID_MAN_IP
-};
-
-
-
-const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt);
-
-#endif
diff --git a/users/gordon/readme.md b/users/gordon/readme.md
deleted file mode 100644
index fdea33b67a..0000000000
--- a/users/gordon/readme.md
+++ /dev/null
@@ -1,14 +0,0 @@
-Copyright <year> <name> <email> @<github_username>
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>. \ No newline at end of file
diff --git a/users/gordon/rules.mk b/users/gordon/rules.mk
deleted file mode 100644
index c282f00284..0000000000
--- a/users/gordon/rules.mk
+++ /dev/null
@@ -1,3 +0,0 @@
-TAP_DANCE_ENABLE = yes
-SRC += gordon.c
-