forked from mirrors/qmk_userspace
[Keymap] Xulkal user changes (#6044)
* Xulkal user changes Xulkal user changes * Reduce code duplication * Massive user code refactor
This commit is contained in:
parent
02b3fadbac
commit
4f788c2ae9
18 changed files with 334 additions and 260 deletions
26
users/xulkal/custom_tap_dance.h
Normal file
26
users/xulkal/custom_tap_dance.h
Normal file
|
@ -0,0 +1,26 @@
|
|||
#pragma once
|
||||
#include "quantum.h"
|
||||
|
||||
#ifdef TAP_DANCE_ENABLE
|
||||
|
||||
#include "process_tap_dance.h"
|
||||
|
||||
//Tap Dance Declarations
|
||||
enum {
|
||||
COMM_QUOT = 0,
|
||||
BACKSPACE,
|
||||
DELETE,
|
||||
DOT
|
||||
};
|
||||
|
||||
#define TD_COMM TD(COMM_QUOT)
|
||||
#define TD_BSPC TD(BACKSPACE)
|
||||
#define TD_DEL TD(DELETE)
|
||||
#define TD_DOT TD(DOT)
|
||||
|
||||
#else
|
||||
|
||||
void run_tap_dance_double(uint8_t i);
|
||||
bool process_tap_dance_double(uint16_t keycode, keyrecord_t *record);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue