mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-30 21:38:01 +06:00
0ec0d29e9f
* add Userspace and keymaps * Adding keymaps for zeal60 and iris * Created my own tap dance that toggles RGB Mode based on whether I toggled caps lock or not * parent 578ed42a7f8f986147cad040d50d4ae1d24a32e2 author Seth Barberee <seth.barberee@gmail.com> 1565065903 -0500 committer Seth Barberee <seth.barberee@gmail.com> 1565065903 -0500 move to userspace add zeal60 * update based on review * move userspace to github name
21 lines
394 B
C
21 lines
394 B
C
#ifndef USERSPACE
|
|
#define USERSPACE
|
|
|
|
#include "quantum.h"
|
|
|
|
#ifdef TAP_DANCE_ENABLE // only enable for tap dances
|
|
enum {
|
|
TD_ECAP = 0,
|
|
};
|
|
|
|
#define KC_ECAP TD(TD_ECAP)
|
|
|
|
typedef struct {
|
|
bool toggled; // store whether we have toggled caps lock
|
|
int toggle_mode; // idk why but maybe do something with this..
|
|
int normal_mode;
|
|
} tap;
|
|
#endif
|
|
|
|
#endif
|