diff options
author | Dan Nixon <dan@dan-nixon.com> | 2021-09-15 07:56:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-14 23:56:12 -0700 |
commit | a2d43ca024d8e840c882cc72e80e9eb6b70384f1 (patch) | |
tree | bc0987aa76cad2528d5645d1a4ebbff43cd0bfa8 /keyboards/aya/config.h | |
parent | c2f2f9bfd3f5c927496a80e7074fa7c54a2c1619 (diff) |
[Keyboard] Add Aya keyboard (#14378)
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/aya/config.h')
-rw-r--r-- | keyboards/aya/config.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/keyboards/aya/config.h b/keyboards/aya/config.h new file mode 100644 index 0000000000..1ad9716d45 --- /dev/null +++ b/keyboards/aya/config.h @@ -0,0 +1,37 @@ +/* Copyright 2021 Dan Nixon + * + * 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" + +#define VENDOR_ID 0xBEEF +#define PRODUCT_ID 0x0003 +#define DEVICE_VER 0x0001 +#define MANUFACTURER DanNixon +#define PRODUCT Aya + +#define MATRIX_ROWS 10 +#define MATRIX_COLS 7 + +#define MATRIX_ROW_PINS { D4, C6, D7, E6, B4 } +#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2 } +#define DIODE_DIRECTION ROW2COL + +#define DEBOUNCE 5 + +#define SPLIT_HAND_PIN B5 +#define USE_I2C |