mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-29 22:45:51 +00:00
more cleanup
This commit is contained in:
parent
c87d88be4d
commit
2f338c0608
@ -36,7 +36,6 @@ enum layer_names {
|
|||||||
|
|
||||||
enum custom_keycodes {
|
enum custom_keycodes {
|
||||||
QWERTY = SAFE_RANGE,
|
QWERTY = SAFE_RANGE,
|
||||||
SPEAKDASH,
|
|
||||||
CSPEAK,
|
CSPEAK,
|
||||||
PARADOWN,
|
PARADOWN,
|
||||||
PMERGE,
|
PMERGE,
|
||||||
@ -50,11 +49,6 @@ enum custom_keycodes {
|
|||||||
|
|
||||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||||
switch (keycode) {
|
switch (keycode) {
|
||||||
case SPEAKDASH:
|
|
||||||
if (record->event.pressed) {
|
|
||||||
SEND_STRING(SS_TAP(X_MINUS) SS_TAP(X_ENTER) SS_TAP(X_ENTER));
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
case CSPEAK:
|
case CSPEAK:
|
||||||
if (record->event.pressed) {
|
if (record->event.pressed) {
|
||||||
SEND_STRING(SS_TAP(X_PGDOWN) SS_TAP(X_ENTER) SS_TAP(X_ENTER) SS_TAP(X_PGDOWN));
|
SEND_STRING(SS_TAP(X_PGDOWN) SS_TAP(X_ENTER) SS_TAP(X_ENTER) SS_TAP(X_PGDOWN));
|
||||||
@ -123,7 +117,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
[_FN2] = LAYOUT_ortho_4x12(
|
[_FN2] = LAYOUT_ortho_4x12(
|
||||||
_______, SPEAK1 , SPEAK2 , SPEAK3 , SPEAK4 , _______, _______, _______, _______, _______, _______, _______,
|
_______, SPEAK1 , SPEAK2 , SPEAK3 , SPEAK4 , _______, _______, _______, _______, _______, _______, _______,
|
||||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,SPEAKDASH,
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||||
_______, _______, _______, _______, PARADOWN, CSPEAK, _______, _______, _______, _______, _______, _______
|
_______, _______, _______, _______, PARADOWN, CSPEAK, _______, _______, _______, _______, _______, _______
|
||||||
),
|
),
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user