diff options
author | sh-xguitar <ibanez_shine@yahoo.com> | 2020-08-06 15:03:27 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-06 01:03:27 -0700 |
commit | cb9b81cc103f801febd67dcaf0c86322a2bfddc8 (patch) | |
tree | e0d6429278ffc977a207449988804a0cd3439138 /keyboards/ash_xiix/config.h | |
parent | 904c5613f41859ccc07057278b41587224b84871 (diff) | |
download | qmk_firmware-cb9b81cc103f801febd67dcaf0c86322a2bfddc8.tar.gz qmk_firmware-cb9b81cc103f801febd67dcaf0c86322a2bfddc8.zip |
[Keyboard] added ASH-XIIX keyboard (#9833)
* Create readme.md
* Update readme.md
* Update readme.md
* Create ash_xiix.c
* Create ash_xiix.h
* Create info.json
* Create config.h
* Create rules.mk
* Create keymap.c
* Update keyboards/ash_xiix/rules.mk
* Update keyboards/ash_xiix/config.h
* Update keyboards/ash_xiix/config.h
* Update keyboards/ash_xiix/config.h
* Update keyboards/ash_xiix/info.json
* Update keyboards/ash_xiix/info.json
* Update keyboards/ash_xiix/readme.md
* Update readme.md
* Update readme.md
Diffstat (limited to 'keyboards/ash_xiix/config.h')
-rw-r--r-- | keyboards/ash_xiix/config.h | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/keyboards/ash_xiix/config.h b/keyboards/ash_xiix/config.h new file mode 100644 index 000000000..bcfdaeef7 --- /dev/null +++ b/keyboards/ash_xiix/config.h | |||
@@ -0,0 +1,56 @@ | |||
1 | /* | ||
2 | Copyright 2020 sh_xguitar | ||
3 | This program is free software: you can redistribute it and/or modify | ||
4 | it under the terms of the GNU General Public License as published by | ||
5 | the Free Software Foundation, either version 2 of the License, or | ||
6 | (at your option) any later version. | ||
7 | This program is distributed in the hope that it will be useful, | ||
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
10 | GNU General Public License for more details. | ||
11 | You should have received a copy of the GNU General Public License | ||
12 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
13 | */ | ||
14 | |||
15 | #pragma once | ||
16 | |||
17 | #include "config_common.h" | ||
18 | |||
19 | /* USB Device descriptor parameter */ | ||
20 | #define VENDOR_ID 0xFEED | ||
21 | #define PRODUCT_ID 0x14BC | ||
22 | #define DEVICE_VER 0x0001 | ||
23 | #define MANUFACTURER ASH | ||
24 | #define PRODUCT XIIX | ||
25 | |||
26 | /* key matrix size */ | ||
27 | #define MATRIX_ROWS 12 | ||
28 | #define MATRIX_COLS 10 | ||
29 | |||
30 | /* | ||
31 | * Keyboard Matrix Assignments | ||
32 | * | ||
33 | * Change this to how you wired your keyboard | ||
34 | * COLS: AVR pins used for columns, left to right | ||
35 | * ROWS: AVR pins used for rows, top to bottom | ||
36 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
37 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
38 | * | ||
39 | */ | ||
40 | #define MATRIX_ROW_PINS { C6, B6, B5, B4, D7, D0, D1, D2, D3, D5, D4, D6 } | ||
41 | #define MATRIX_COL_PINS { F1, F4, F5, F6, B0, B2, B1, B3, B7, C7 } | ||
42 | #define UNUSED_PINS | ||
43 | |||
44 | #define NUM_LOCK_LED_PIN E6 | ||
45 | #define CAPS_LOCK_LED_PIN F0 | ||
46 | #define SCROLL_LOCK_LED_PIN F7 | ||
47 | |||
48 | /* COL2ROW, ROW2COL*/ | ||
49 | #define DIODE_DIRECTION COL2ROW | ||
50 | |||
51 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
52 | #define DEBOUNCE 5 | ||
53 | |||
54 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
55 | #define LOCKING_SUPPORT_ENABLE | ||
56 | #define LOCKING_RESYNC_ENABLE | ||