|
|
@ -1,6 +1,7 @@
|
|
|
|
#include "ergodox_ez.h"
|
|
|
|
#include "ergodox.h"
|
|
|
|
#include "debug.h"
|
|
|
|
#include "debug.h"
|
|
|
|
#include "action_layer.h"
|
|
|
|
#include "action_layer.h"
|
|
|
|
|
|
|
|
#include "version.h"
|
|
|
|
|
|
|
|
|
|
|
|
#define BASE 0 // default layer
|
|
|
|
#define BASE 0 // default layer
|
|
|
|
#define SYMB 1 // symbols
|
|
|
|
#define SYMB 1 // symbols
|
|
|
@ -145,9 +146,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
|
|
|
|
switch(id) {
|
|
|
|
switch(id) {
|
|
|
|
case 0:
|
|
|
|
case 0:
|
|
|
|
if (record->event.pressed) {
|
|
|
|
if (record->event.pressed) {
|
|
|
|
register_code(KC_RSFT);
|
|
|
|
SEND_STRING (QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION);
|
|
|
|
} else {
|
|
|
|
|
|
|
|
unregister_code(KC_RSFT);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|