mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-22 19:39:27 +00:00
cf935d97ae
* Fix functions with empty params * Found a bunch more
22 lines
533 B
C
22 lines
533 B
C
// Copyright 2022 Kyle McCreery (@kylemccreery)
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#include "bbs.h"
|
|
|
|
#ifdef DIP_SWITCH_ENABLE
|
|
bool dip_switch_update_kb(uint8_t index, bool active) {
|
|
if (!dip_switch_update_user(index, active)) { return false; }
|
|
switch (index) {
|
|
case 0:
|
|
if(active) { tap_code(KC_CAPS_LOCK); }
|
|
break;
|
|
break;
|
|
}
|
|
return true;
|
|
}
|
|
#endif
|
|
|
|
void eeconfig_init_kb(void) {
|
|
steno_set_mode(STENO_MODE_GEMINI); // or STENO_MODE_BOLT
|
|
eeconfig_init_user();
|
|
} |