Add current atreus firmware
This commit is contained in:
commit
6054f2879a
13 changed files with 506 additions and 0 deletions
46
handwired/atreus/config.h
Normal file
46
handwired/atreus/config.h
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
/*
|
||||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue