|
|
@ -1,5 +1,7 @@
|
|
|
|
#include "quantum.h"
|
|
|
|
#include "quantum.h"
|
|
|
|
|
|
|
|
#if defined(__AVR__)
|
|
|
|
#include "outputselect.h"
|
|
|
|
#include "outputselect.h"
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef TAPPING_TERM
|
|
|
|
#ifndef TAPPING_TERM
|
|
|
|
#define TAPPING_TERM 200
|
|
|
|
#define TAPPING_TERM 200
|
|
|
@ -213,6 +215,7 @@ bool process_record_quantum(keyrecord_t *record) {
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(__AVR__)
|
|
|
|
case OUT_AUTO:
|
|
|
|
case OUT_AUTO:
|
|
|
|
if (record->event.pressed) {
|
|
|
|
if (record->event.pressed) {
|
|
|
|
set_output(OUTPUT_AUTO);
|
|
|
|
set_output(OUTPUT_AUTO);
|
|
|
@ -241,6 +244,7 @@ bool process_record_quantum(keyrecord_t *record) {
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|
|
|
|
case MAGIC_SWAP_CONTROL_CAPSLOCK ... MAGIC_TOGGLE_NKRO:
|
|
|
|
case MAGIC_SWAP_CONTROL_CAPSLOCK ... MAGIC_TOGGLE_NKRO:
|
|
|
|
if (record->event.pressed) {
|
|
|
|
if (record->event.pressed) {
|
|
|
|
// MAGIC actions (BOOTMAGIC without the boot)
|
|
|
|
// MAGIC actions (BOOTMAGIC without the boot)
|
|
|
|