diff options
author | Fred Silberberg <fred@silberberg.xyz> | 2017-11-06 09:09:01 -0800 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-11-06 12:09:01 -0500 |
commit | 89357b96d40f6f8189da09c3d15131e22991ed4c (patch) | |
tree | b62722f0814bed5aee7cc11331ca1846453cb486 /users/333fred/333fred.h | |
parent | 16843bc8c967e965a5361fe5f94abc9cd1ccc5a5 (diff) |
333fred layout update (#1971)
* Set up tap dance for layers on the lower button.
* Refactored code to share in the users directory between my two keyboard layouts.
* Small keyboard layout change.
* Updated documentation on oneshot usage in macros/tap dance.
Diffstat (limited to 'users/333fred/333fred.h')
-rw-r--r-- | users/333fred/333fred.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/users/333fred/333fred.h b/users/333fred/333fred.h new file mode 100644 index 0000000000..4a0462b7a2 --- /dev/null +++ b/users/333fred/333fred.h @@ -0,0 +1,22 @@ +#ifndef FRED_333 +#define FRED_333 + +#include "quantum.h" + +#define BASE 0 +#define CODE 1 // code layer +#define SYMB 2 +#define MDIA 3 // media keys +#define VIM 4 +#define GAME 5 + +// Tap dance config shared between my keyboards +enum tap_dance_declarations { + TD_SYM_VIM = 0 +}; + +void tap_dance_layer_finished(qk_tap_dance_state_t*, void*); +void tap_dance_layer_reset(qk_tap_dance_state_t*, void*); +void tap_dance_process_record(uint16_t); + +#endif |