diff options
author | ai03 <admin@ai03.com> | 2022-10-27 09:16:59 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-26 17:16:59 -0700 |
commit | 432feecc61d9b4ede3fb7b65920714853209a7a7 (patch) | |
tree | 659e34a65716f7add7acffa20b71f7e7f21a56dc /keyboards/ai03/lunar_ii/config.h | |
parent | 42c240f6cfe697744cdf876ace1e7273f43db60d (diff) |
[Keyboard] Add Lunar II (#18827)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: ai03 <sarcaphx510@gmail.com>
Diffstat (limited to 'keyboards/ai03/lunar_ii/config.h')
-rw-r--r-- | keyboards/ai03/lunar_ii/config.h | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/keyboards/ai03/lunar_ii/config.h b/keyboards/ai03/lunar_ii/config.h new file mode 100644 index 0000000000..5942457d57 --- /dev/null +++ b/keyboards/ai03/lunar_ii/config.h @@ -0,0 +1,62 @@ +/* +Copyright 2022 ai03 Design Studio + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + +#pragma once + +#include "config_common.h" + +/* Mechanical lock switch support */ +#define LOCKING_SUPPORT_ENABLE +#define LOCKING_RESYNC_ENABLE + +/* Solenoid support */ +#define SOLENOID_PIN B7 +#define SOLENOID_DEFAULT_DWELL 15 + + +/* + * Force NKRO + * + * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved + * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the + * makefile for this to work.) + * + * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) + * until the next keyboard reset. + * + * NKRO may prevent your keystrokes from being detected in the BIOS, but it is + * fully operational during normal computer usage. + * + * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) + * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by + * bootmagic, NKRO mode will always be enabled until it is toggled again during a + * power-up. + * + */ +//#define FORCE_NKRO + + +/* + * Feature disable options + * These options are also useful to firmware size reduction. + */ + +/* disable debug print */ +//#define NO_DEBUG + +/* disable print */ +//#define NO_PRINT |