qmk_userspace/users/t4corun/features/taphold.h
Victor edf4c932f2
Added super alt-tab
- going to remove it though so I can hold different mods for chrome
and windows. Wanted to save the code since I spent time working on it
- General code cleanup
- introduced klor and rollow keyboard.json
- set encoder resolution to 4 for alt tab to work right
2024-07-02 23:29:06 -05:00

12 lines
No EOL
424 B
C

#pragma once
#include "t4corun.h"
// Tells the process_tap_hold_key what kind of hold action is wanted
#define HOLD_SINGLETP 0
#define HOLD_DOUBLETP 1
#define HOLD_BRACKETS 2
void single_tap (uint16_t key);
void double_tap (uint16_t key, uint32_t ms);
void insert_brackets (uint16_t left, uint16_t right, uint32_t ms);
bool process_tap_hold_key (keyrecord_t* record, uint16_t tap_keycode, uint16_t hold_keycode, int mode);