aboutsummaryrefslogtreecommitdiff
path: root/keyboards/nix_studio/oxalys80/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/nix_studio/oxalys80/config.h')
-rw-r--r--keyboards/nix_studio/oxalys80/config.h80
1 files changed, 80 insertions, 0 deletions
diff --git a/keyboards/nix_studio/oxalys80/config.h b/keyboards/nix_studio/oxalys80/config.h
new file mode 100644
index 000000000..acd39ad52
--- /dev/null
+++ b/keyboards/nix_studio/oxalys80/config.h
@@ -0,0 +1,80 @@
1/* Copyright 2021 Nix Studio
2 *
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 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "config_common.h"
20
21/* USB Device descriptor parameter */
22#define VENDOR_ID 0x6E78
23#define PRODUCT_ID 0x3830
24#define DEVICE_VER 0x0001
25#define MANUFACTURER Nix Studio
26#define PRODUCT OXALYS80
27
28
29/* key matrix size */
30#define MATRIX_ROWS 12
31#define MATRIX_COLS 9
32
33/*
34 * Keyboard Matrix Assignments
35 *
36 * Change this to how you wired your keyboard
37 * COLS: AVR pins used for columns, left to right
38 * ROWS: AVR pins used for rows, top to bottom
39 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
40 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
41 *
42*/
43#define MATRIX_ROW_PINS { C6, B6, B5, B4, D7, D6, D4, D5, D3, D2, D1, D0 }
44#define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, C7, B0, B1 }
45#define UNUSED_PINS
46
47/* COL2ROW, ROW2COL*/
48#define DIODE_DIRECTION COL2ROW
49
50#define BACKLIGHT_PIN B7
51// #define BACKLIGHT_BREATHING
52#define BACKLIGHT_LEVELS 3
53
54/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
55#define DEBOUNCE 5
56
57/* define if matrix has ghost (lacks anti-ghosting diodes) */
58//#define MATRIX_HAS_GHOST
59
60/* number of backlight levels */
61
62/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
63#define LOCKING_SUPPORT_ENABLE
64/* Locking resynchronize hack */
65#define LOCKING_RESYNC_ENABLE
66
67#define RGB_DI_PIN B3
68#ifdef RGB_DI_PIN
69#define RGBLIGHT_ANIMATIONS
70#define RGBLED_NUM 24
71#define RGBLIGHT_HUE_STEP 8
72#define RGBLIGHT_SAT_STEP 8
73#define RGBLIGHT_VAL_STEP 8
74#define RGBLIGHT_LIMIT_VAL 200
75#define RGBLIGHT_SLEEP // RGB will turn off when PC is put to sleep
76#endif
77
78#define LED_CAPS_LOCK_PIN E6
79#define LED_SCROLL_LOCK_PIN B2
80#define LED_PIN_ON_STATE 0