Add pcoves's userspace (#9354)
Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Pablo COVES <pablo.coves@anatoscope.com>
This commit is contained in:
parent
071e0c2029
commit
facca23315
13 changed files with 375 additions and 0 deletions
44
users/pcoves/combo.c
Normal file
44
users/pcoves/combo.c
Normal file
|
@ -0,0 +1,44 @@
|
|||
#include "quantum.h"
|
||||
|
||||
enum {
|
||||
MIN,
|
||||
EQL,
|
||||
|
||||
ESC,
|
||||
BSP,
|
||||
DEL,
|
||||
|
||||
TAB,
|
||||
BSL,
|
||||
|
||||
CUT,
|
||||
GRA,
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM min[] = {KC_C, KC_V, COMBO_END};
|
||||
const uint16_t PROGMEM eql[] = {KC_M, KC_COMM, COMBO_END};
|
||||
|
||||
const uint16_t PROGMEM esc[] = {KC_D, KC_F, COMBO_END};
|
||||
const uint16_t PROGMEM bsp[] = {KC_J, KC_K, COMBO_END};
|
||||
const uint16_t PROGMEM del[] = {KC_DOWN, KC_UP, COMBO_END};
|
||||
|
||||
const uint16_t PROGMEM tab[] = {KC_S, KC_F, COMBO_END};
|
||||
const uint16_t PROGMEM bsl[] = {KC_J, KC_L, COMBO_END};
|
||||
|
||||
const uint16_t PROGMEM cut[] = {KC_K, KC_L, COMBO_END};
|
||||
const uint16_t PROGMEM gra[] = {KC_S, KC_D, COMBO_END};
|
||||
|
||||
combo_t key_combos[COMBO_COUNT] = {
|
||||
[MIN] = COMBO(min, KC_MINS),
|
||||
[EQL] = COMBO(eql, KC_EQL),
|
||||
|
||||
[ESC] = COMBO(esc, KC_ESC),
|
||||
[BSP] = COMBO(bsp, KC_BSPC),
|
||||
[DEL] = COMBO(del, KC_DEL),
|
||||
|
||||
[TAB] = COMBO(tab, KC_TAB),
|
||||
[BSL] = COMBO(bsl, KC_BSLS),
|
||||
|
||||
[CUT] = COMBO(cut, KC_QUOT),
|
||||
[GRA] = COMBO(gra, KC_GRAVE),
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue