aboutsummaryrefslogtreecommitdiff
path: root/keyboards/qaz/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/qaz/config.h')
-rw-r--r--keyboards/qaz/config.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/keyboards/qaz/config.h b/keyboards/qaz/config.h
new file mode 100644
index 000000000..1dbaaa0fc
--- /dev/null
+++ b/keyboards/qaz/config.h
@@ -0,0 +1,49 @@
1#pragma once
2
3#include "config_common.h"
4
5/* USB Device descriptor parameter */
6#define VENDOR_ID 0x7431
7#define PRODUCT_ID 0x0001
8#define DEVICE_VER 0x0001
9#define MANUFACTURER whydobearsexplod
10#define PRODUCT qaz keyboard
11
12/* key matrix size */
13#define MATRIX_ROWS 6
14#define MATRIX_COLS 7
15
16/*
17 * Keyboard Matrix Assignments
18 *
19 * Change this to how you wired your keyboard
20 * COLS: AVR pins used for columns, left to right
21 * ROWS: AVR pins used for rows, top to bottom
22 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
23 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
24 *
25 */
26#define MATRIX_ROW_PINS { F4, D4, C6, E6, D1, D0 }
27#define MATRIX_COL_PINS { B4, D3, D2, F5, B5, F6, D7 }
28#define UNUSED_PINS
29
30/* COL2ROW, ROW2COL*/
31#define DIODE_DIRECTION COL2ROW
32
33/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
34#define DEBOUNCE 5
35
36/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
37#define LOCKING_SUPPORT_ENABLE
38/* Locking resynchronize hack */
39#define LOCKING_RESYNC_ENABLE
40
41#define RGB_DI_PIN F7
42
43#ifdef RGB_DI_PIN
44#define RGBLIGHT_ANIMATIONS
45#define RGBLED_NUM 21
46#define RGBLIGHT_HUE_STEP 8
47#define RGBLIGHT_SAT_STEP 8
48#define RGBLIGHT_VAL_STEP 8
49#endif