summaryrefslogtreecommitdiff
path: root/keyboards/ktec/ergodone/config.h
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2022-05-31 03:08:56 +0100
committerGitHub <noreply@github.com>2022-05-31 03:08:56 +0100
commit0e11b511e4a3c48a67de6414b0907ec26dfcdf49 (patch)
tree786fe4fdaa248a9c92e17c27b508778eb77e815f /keyboards/ktec/ergodone/config.h
parent2879573688e347fd448ac32a1621ba3bec97f5c5 (diff)
Convert ergodone to use core mcp23018 driver (#17005)
Diffstat (limited to 'keyboards/ktec/ergodone/config.h')
-rw-r--r--keyboards/ktec/ergodone/config.h77
1 files changed, 4 insertions, 73 deletions
diff --git a/keyboards/ktec/ergodone/config.h b/keyboards/ktec/ergodone/config.h
index ee51e4c055..afe1512aa4 100644
--- a/keyboards/ktec/ergodone/config.h
+++ b/keyboards/ktec/ergodone/config.h
@@ -1,77 +1,8 @@
-#pragma once
-
-#include "config_common.h"
+// Copyright 2022 QMK
+// SPDX-License-Identifier: GPL-2.0-or-later
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x1209
-#define PRODUCT_ID 0x2328
-// The official ErgoDone VID and PID are documented at http://pid.codes/1209/2328/.
-#define DEVICE_VER 0x0001
-#define MANUFACTURER K.T.E.C.
-#define PRODUCT ErgoDone
+#pragma once
-/* key matrix size */
+// TODO: handle matrix_size.cols and matrix_size.rows for custom matrix
#define MATRIX_ROWS 6
#define MATRIX_COLS 14
-
-#define MOUSEKEY_INTERVAL 20
-#define MOUSEKEY_DELAY 0
-#define MOUSEKEY_TIME_TO_MAX 60
-#define MOUSEKEY_MAX_SPEED 7
-#define MOUSEKEY_WHEEL_DELAY 0
-
-#define TAPPING_TOGGLE 1
-
-/* define if matrix has ghost */
-//#define MATRIX_HAS_GHOST
-
-#define TAPPING_TERM 200
-#define IGNORE_MOD_TAP_INTERRUPT // this makes it possible to do rolling combos (zx) with keys that convert to other keys on hold (z becomes ctrl when you hold it, and when this option isn't enabled, z rapidly followed by x actually sends Ctrl-x. That's bad.)
-
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
-
-/* key combination for command */
-#define IS_COMMAND() ( \
- get_mods() == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \
- get_mods() == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \
-)
-
-/* number of backlight levels */
-#define BACKLIGHT_LEVELS 3
-
-#define LED_BRIGHTNESS_LO 15
-#define LED_BRIGHTNESS_HI 255
-
-/* fix space cadet rollover issue */
-#define DISABLE_SPACE_CADET_ROLLOVER
-
-/* Set 0 if debouncing isn't needed */
-#define DEBOUNCE 5
-
-#define USB_MAX_POWER_CONSUMPTION 500
-
-/* NKRO */
-#ifndef FORCE_NKRO
- #define FORCE_NKRO // Depends on NKRO_ENABLE.
-#endif
-
-/*
- * Feature disable options
- * These options are also useful to firmware size reduction.
- */
-
-/* disable debug print */
-// #define NO_DEBUG
-
-/* disable print */
-// #define NO_PRINT
-
-/* disable action features */
-//#define NO_ACTION_LAYER
-//#define NO_ACTION_TAPPING
-//#define NO_ACTION_ONESHOT
-
-//#define DEBUG_MATRIX_SCAN_RATE