qmk_firmwares/handwired/atreus/config.h

47 lines
1.3 KiB
C
Raw Permalink Normal View History

2026-03-17 21:45:10 -04:00
/*
Copyright 2012 Jun Wako <wakojun@gmail.com>
Copyright 2015 Jack Humbert
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"
/* USB Device descriptor parameter */
#define VENDOR_ID 0xFEED
#define PRODUCT_ID 0x0000
#define DEVICE_VER 0x0001
#define MANUFACTURER AlexSelimov
#define PRODUCT Atreus
#define DESCRIPTION A custom keyboard
#define MATRIX_ROWS 4
#define MATRIX_COLS 12
#define MATRIX_COL_PINS \
{ F4, F5, F6, F7, D4, D0, D1, B5, B4, E6, D7, C6 }
// #define MATRIX_ROW_PINS {B5, B4, E6, D7, C6}
#define MATRIX_ROW_PINS \
{ B1, B3, B2, B6 }
#define DIODE_DIRECTION COL2ROW
#define DEBOUNCE 5
#define COMBO_TERM 25
#define IGNORE_MOD_TAP_INTERRUPT
#define TAPPING_TERM 150
#define PERMISSIVE_HOLD
#define TAPPING_FORCE_HOLD_PER_KEY