Dragon and Fishy
This commit is contained in:
parent
2afcde0271
commit
b684acefe3
2 changed files with 15 additions and 3 deletions
1
kbd75/pwarren/config.h
Normal file
1
kbd75/pwarren/config.h
Normal file
|
@ -0,0 +1 @@
|
|||
#define RGBLIGHT_LAYERS 3
|
|
@ -23,11 +23,14 @@ enum unicode_names {
|
|||
COFFEE,
|
||||
WINK,
|
||||
GRIM,
|
||||
DRAGON,
|
||||
FISHY,
|
||||
};
|
||||
|
||||
enum custom_keycode {
|
||||
TFLIP,
|
||||
FPALM,
|
||||
FPALM2,
|
||||
};
|
||||
|
||||
const uint32_t PROGMEM unicode_map[] = {
|
||||
|
@ -44,6 +47,8 @@ const uint32_t PROGMEM unicode_map[] = {
|
|||
[COFFEE] = 0x2615,
|
||||
[WINK] = 0x1F609,
|
||||
[GRIM] = 0x1F62C,
|
||||
[DRAGON] = 0x1F409,
|
||||
[FISHY] = 0x1F41F,
|
||||
|
||||
};
|
||||
|
||||
|
@ -69,9 +74,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
|
||||
[2] = LAYOUT(
|
||||
RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, FPALM, TFLIP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, _______,
|
||||
_______, FPALM, TFLIP, FPALM2, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, _______,
|
||||
_______, _______, _______, _______, _______, X(THUU), _______, _______, _______, _______, X(POOP), _______, _______, _______, _______,
|
||||
_______, _______, X(SNEK), _______, _______, X(THUD), X(WINK), X(GRIM), X(KISS), X(CHEESY), X(FROWN), X(SMILE), _______, _______,
|
||||
_______, _______, X(SNEK), X(DRAGON), X(FISHY), X(THUD), X(WINK), X(GRIM), X(KISS), X(CHEESY), X(FROWN), X(SMILE), _______, _______,
|
||||
_______, _______, _______, _______, X(COFFEE), _______, _______,_______, _______, UC_MOD, UC_RMOD, X(BANG), _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
|
||||
|
@ -83,13 +88,19 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
if (record->event.pressed) {
|
||||
switch(keycode) {
|
||||
case FPALM:
|
||||
if(record->event.pressed) {
|
||||
send_unicode_hex_string("1F926 200D 2640 FE0F 000A");
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
case TFLIP:
|
||||
if(record->event.pressed) {
|
||||
send_unicode_hex_string("0028 256F 00B0 25A1 00B0 0029 256F 0020 FE35 0020 253B 2501 253B");
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
case FPALM:
|
||||
case FPALM2:
|
||||
if(record->event.pressed) {
|
||||
send_unicode_hex_string("1F926 200D 2640 FE0F 000A");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue