From 432feecc61d9b4ede3fb7b65920714853209a7a7 Mon Sep 17 00:00:00 2001 From: ai03 Date: Thu, 27 Oct 2022 09:16:59 +0900 Subject: [Keyboard] Add Lunar II (#18827) Co-authored-by: Drashna Jaelre Co-authored-by: Ryan Co-authored-by: ai03 --- keyboards/ai03/lunar_ii/config.h | 62 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 keyboards/ai03/lunar_ii/config.h (limited to 'keyboards/ai03/lunar_ii/config.h') 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 . +*/ + +#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 -- cgit v1.2.3