mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-05-05 07:04:17 -04:00
- 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
12 lines
No EOL
424 B
C
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); |