[Keymap] new userspace for ibnuda (#8221)
* to ease the maintenance for some boards ibnuda has. * followed ridingqwerty's suggestion on 8821. * folloing drashna's suggestion on qmk's 8221. * following drashn's suggestion on qmk's 8211
This commit is contained in:
parent
ad96e995af
commit
910d603c65
14 changed files with 433 additions and 256 deletions
23
users/ibnuda/tapdance.h
Normal file
23
users/ibnuda/tapdance.h
Normal file
|
@ -0,0 +1,23 @@
|
|||
#pragma once
|
||||
#include "ibnuda.h"
|
||||
|
||||
#ifdef TAP_DANCE_ENABLE
|
||||
typedef enum {
|
||||
SINGLE_TAP,
|
||||
SINGLE_HOLD,
|
||||
DOUBLE_TAP,
|
||||
} td_state_t;
|
||||
|
||||
int current_dance(qk_tap_dance_state_t *state);
|
||||
|
||||
void dance_tmb_finished(qk_tap_dance_state_t *state, void *user_data);
|
||||
void dance_tmb_reset(qk_tap_dance_state_t *state, void *user_data);
|
||||
|
||||
// enum for tap dances.
|
||||
enum {
|
||||
TD_DLT_CTLDLT = 0,
|
||||
TD_SCLN_CLN,
|
||||
TD_LEFT_THUMB,
|
||||
};
|
||||
|
||||
#endif // TAP_DANCE_ENABLE
|
Loading…
Add table
Add a link
Reference in a new issue