summary refs log tree commit diff stats
path: root/src/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h85
1 files changed, 26 insertions, 59 deletions
diff --git a/src/config.h b/src/config.h
index 240867c..b846d89 100644
--- a/src/config.h
+++ b/src/config.h
@@ -1,70 +1,37 @@
-// LTeX: language=off
-/*
- * Moonlander Layout
+/* Copyright 2020 ZSA Technology Labs, Inc <@zsa>
+ * Copyright 2020 Jack Humbert <jack.humb@gmail.com>
+ * Copyright 2020 Christopher Courtney, aka Drashna Jael're  (@drashna) <drashna@live.com>
  *
- * Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
- * SPDX-License-Identifier: AGPL-3.0-or-later
+ * 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 file is part of Moonlander Layout.
+ * 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 License along with this program.
- * If not, see <https://www.gnu.org/licenses/agpl.txt>.
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-/*
-  Set any config.h overrides for your specific keymap here.
-  See config.h options at
-  https://docs.qmk.fm/#/config_options?id=the-configh-file
-*/
+#pragma once
 
-#undef DEBOUNCE
-#define DEBOUNCE 8
+/* key matrix size */
+#define MATRIX_ROWS 12
+#define MATRIX_COLS 7
 
-#define USB_SUSPEND_WAKEUP_DELAY 0
-#define LAYER_STATE_16BIT
+#define EEPROM_I2C_24LC128
 
-#define RGB_MATRIX_STARTUP_SPD 60
+#define IS31FL3731_I2C_ADDRESS_1 IS31FL3731_I2C_ADDRESS_GND
+#define IS31FL3731_I2C_ADDRESS_2 IS31FL3731_I2C_ADDRESS_VCC
 
-#define UNICODE_SELECTED_MODES UNICODE_MODE_LINUX
+#define MUSIC_MAP
 
-// Mouse Key section {{{
-/* Delay between pressing a movement key and cursor movement */
-#undef MOUSEKEY_DELAY
-#define MOUSEKEY_DELAY 0 // default: 10
+#define FIRMWARE_VERSION_SIZE 17
+#define DYNAMIC_KEYMAP_EEPROM_ADDR (EECONFIG_SIZE + FIRMWARE_VERSION_SIZE)
 
-/* Time between cursor movements in milliseconds */
-#undef MOUSEKEY_INTERVAL
-#define MOUSEKEY_INTERVAL 20 // default: 20
-
-/* Step size */
-// #undef MOUSEKEY_MOVE_DELTA
-// #define MOUSEKEY_MOVE_DELTA 18 // default: 8
-
-/* Maximum cursor speed at which acceleration stops */
-#undef MOUSEKEY_MAX_SPEED
-#define MOUSEKEY_MAX_SPEED 14 // default: 10
-
-/* Time until maximum cursor speed is reached */
-#undef MOUSEKEY_TIME_TO_MAX
-#define MOUSEKEY_TIME_TO_MAX 60 // default: 30
-
-/* Delay between pressing a wheel key and wheel movement */
-#undef MOUSEKEY_WHEEL_DELAY
-#define MOUSEKEY_WHEEL_DELAY 0 // default: 10
-
-/* Time between wheel movements */
-#undef MOUSEKEY_WHEEL_INTERVAL
-#define MOUSEKEY_WHEEL_INTERVAL 80 // default: 80
-
-/* Wheel movement step size */
-#undef MOUSEKEY_WHEEL_DELTA
-#define MOUSEKEY_WHEEL_DELTA 3 // default: 1
-
-/* Maximum number of scroll steps per scroll action */
-#undef MOUSEKEY_WHEEL_MAX_SPEED
-#define MOUSEKEY_WHEEL_MAX_SPEED 8 // default: 8
-
-/* Time until maximum scroll speed is reached */
-#undef MOUSEKEY_WHEEL_TIME_TO_MAX
-#define MOUSEKEY_WHEEL_TIME_TO_MAX 60 // default: 40
-// }}}
+#define AUDIO_PIN A5
+#define AUDIO_PIN_ALT A4
+#define AUDIO_PIN_ALT_AS_NEGATIVE