diff options
author | Nick Brassel <[email protected]> | 2023-11-28 16:39:48 +1100 |
---|---|---|
committer | Nick Brassel <[email protected]> | 2023-11-28 16:40:47 +1100 |
commit | 0115951de12bd4c798a43a380651c34552552e85 (patch) | |
tree | 62999011ae782d93aa6dc9c889615db2a840cafc /users/imchipwood/imchipwood.h | |
parent | 0379d1f59e58cefa18cdb72ba1b77507d1108ae6 (diff) | |
parent | 4d99e0a23cff02f4c6e55e093b5de08a9be0df7c (diff) | |
download | qmk_firmware-0115951de12bd4c798a43a380651c34552552e85.tar.gz qmk_firmware-0115951de12bd4c798a43a380651c34552552e85.zip |
`develop` -> `master`, 2023q4 edition0.23.0
Diffstat (limited to 'users/imchipwood/imchipwood.h')
-rw-r--r-- | users/imchipwood/imchipwood.h | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/users/imchipwood/imchipwood.h b/users/imchipwood/imchipwood.h deleted file mode 100644 index 1e4bc3f744..0000000000 --- a/users/imchipwood/imchipwood.h +++ /dev/null @@ -1,51 +0,0 @@ -/* Copyright 2021 imchipwood - * - * 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/>. - */ -#pragma once - -#include "quantum.h" - -// change the tapping term to a little bit quicker -#ifdef TAPPING_TERM - #undef TAPPING_TERM -#endif -#define TAPPING_TERM 175 - -#ifdef TAPPING_TOGGLE - #undef TAPPING_TOGGLE -#endif -#define TAPPING_TOGGLE 2 - - -enum td_keycodes { - TD_REND = 0, // right when tapped, end when double tapped - TD_LOME, // left when tapped, home when double tapped - TD_RSFT_CAPS, - ALT_F2, // F2 when tapped, LALT when held, LALT+F2 when double tapped - CTL_F5, // F5 when tapped, LCTL when held, LCTL+F5 when double tapped - ALT_F7, // F7 when tapped, LALT when held, LALT+F7 when double tapped - DEL_NLCK, // DEL when tapped, NUMLOCK when double tapped -}; - - -typedef enum { SINGLE_TAP, SINGLE_HOLD, DOUBLE_TAP } td_state_t; -int cur_dance(tap_dance_state_t *state); - -void altf2_finished(tap_dance_state_t *state, void *user_data); -void altf2_reset(tap_dance_state_t *state, void *user_data); -void ctlf5_finished(tap_dance_state_t *state, void *user_data); -void ctlf5_reset(tap_dance_state_t *state, void *user_data); -void altf7_finished(tap_dance_state_t *state, void *user_data); -void altf7_reset(tap_dance_state_t *state, void *user_data); |