summaryrefslogtreecommitdiff
path: root/keyboards/bioi/s65/config.h
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-01-11 02:58:47 +0000
committerQMK Bot <hello@qmk.fm>2021-01-11 02:58:47 +0000
commit64009220d3fe0abf53fbf44da903218c8860bb17 (patch)
treeaabc2610e8ba7a8ad71ee40282e9517598e556bb /keyboards/bioi/s65/config.h
parent36a70e117a20d12451cc56b07de8aad8da253cc0 (diff)
parent6edbd845ebda0b67e9d56a21977381949476930a (diff)
downloadqmk_firmware-64009220d3fe0abf53fbf44da903218c8860bb17.tar.gz
qmk_firmware-64009220d3fe0abf53fbf44da903218c8860bb17.zip
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/bioi/s65/config.h')
-rw-r--r--keyboards/bioi/s65/config.h74
1 files changed, 74 insertions, 0 deletions
diff --git a/keyboards/bioi/s65/config.h b/keyboards/bioi/s65/config.h
new file mode 100644
index 0000000000..77960a4db3
--- /dev/null
+++ b/keyboards/bioi/s65/config.h
@@ -0,0 +1,74 @@
+/*
+Copyright 2019 Basic I/O Instruments(Scott Wei) <scot.wei@gmail.com>
+
+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 0x8101 // 8101 = "BIOI"
+#define PRODUCT_ID 0x5365 // "S"65
+#define DEVICE_VER 0x0001
+#define MANUFACTURER Basic IO Instruments
+#define PRODUCT BIOI S65
+
+
+/* key matrix size */
+#define MATRIX_ROWS 5
+#define MATRIX_COLS 16
+
+/*
+ * Keyboard Matrix Assignments
+ *
+ * Change this to how you wired your keyboard
+ * COLS: AVR pins used for columns, left to right
+ * ROWS: AVR pins used for rows, top to bottom
+ * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
+ * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
+ *
+*/
+
+#define MATRIX_ROW_PINS { D2, D0, D1, F7, D6 }
+#define MATRIX_COL_PINS { F1, B3, F4, F5, F6, E6, C7, B2, B1, C6, B6, B5, B4, D7, D4, D5 }
+
+
+/* Backlight Setup */
+#define BACKLIGHT_PIN B6
+#define BACKLIGHT_LEVELS 12
+
+/* COL2ROW or ROW2COL */
+#define DIODE_DIRECTION COL2ROW
+
+/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
+#define DEBOUNCE 5
+
+/* RGB Underglow */
+#define RGB_DI_PIN D3
+#define RGBLIGHT_ANIMATIONS
+#define RGBLED_NUM 8
+#define RGBLIGHT_HUE_STEP 8
+#define RGBLIGHT_SAT_STEP 8
+#define RGBLIGHT_VAL_STEP 8
+
+/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
+#define LOCKING_SUPPORT_ENABLE
+/* Locking resynchronize hack */
+#define LOCKING_RESYNC_ENABLE
+
+/* key combination for magic key command */
+#define KEYBOARD_LOCK_ENABLE
+#define MAGIC_KEY_LOCK L