]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - keyboards/uk78/config.h
qwerty_code_friendly: configurable left thumb
[qmk_firmware.git] / keyboards / uk78 / config.h
index ffd62f3d4b0efa634177e9352ceec2478a17f901..35f5bf70b323b596f17c13eefa539fc331bdb1c4 100644 (file)
@@ -1,76 +1,76 @@
-/*\r
-Copyright 2017 Ruari Armstrong <ukkeyboards@gmail.com>\r
-\r
-This program is free software: you can redistribute it and/or modify\r
-it under the terms of the GNU General Public License as published by\r
-the Free Software Foundation, either version 2 of the License, or\r
-(at your option) any later version.\r
-\r
-This program is distributed in the hope that it will be useful,\r
-but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-GNU General Public License for more details.\r
-\r
-You should have received a copy of the GNU General Public License\r
-along with this program.  If not, see <http://www.gnu.org/licenses/>.\r
-*/\r
-\r
-#ifndef CONFIG_H\r
-#define CONFIG_H\r
-\r
-#include "config_common.h"\r
-\r
-/* USB Device descriptor parameter */\r
-#define VENDOR_ID       0x554B /* Ascii */\r
-#define PRODUCT_ID      0x004E\r
-#define DEVICE_VER      0x0002\r
-#define MANUFACTURER    UK Keyboards\r
-#define PRODUCT         UK78\r
-#define DESCRIPTION     QMK keyboard firmware for UK78\r
-\r
-/* key matrix size */\r
-#define MATRIX_ROWS 5\r
-#define MATRIX_COLS 19\r
-\r
-/* key matrix pins */\r
-#define MATRIX_ROW_PINS { F3, F2, F1, F0, A0 }\r
-#define MATRIX_COL_PINS { A2, A1, F5, F4, E6, E7, E5, E4, B7, D0, D1, D2, D3, D4, D5, D6, D7, B5, E0 }\r
-#define UNUSED_PINS\r
-\r
-/* COL2ROW or ROW2COL */\r
-#define DIODE_DIRECTION COL2ROW\r
-\r
-/* number of backlight levels */\r
-#define BACKLIGHT_PIN B6\r
-#ifdef BACKLIGHT_PIN\r
-#define BACKLIGHT_LEVELS 3\r
-#endif\r
-\r
-/* Set 0 if debouncing isn't needed */\r
-#define DEBOUNCING_DELAY 5\r
-\r
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */\r
-#define LOCKING_SUPPORT_ENABLE\r
-\r
-/* Locking resynchronize hack */\r
-#define LOCKING_RESYNC_ENABLE\r
-\r
-/* key combination for command */\r
-#define IS_COMMAND() ( \\r
-    keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \\r
-)\r
-\r
-/* prevent stuck modifiers */\r
-#define PREVENT_STUCK_MODIFIERS\r
-\r
-/* ws2812b options */\r
-#define RGB_DI_PIN F6\r
-#ifdef RGB_DI_PIN\r
-#define RGBLIGHT_ANIMATIONS\r
-#define RGBLED_NUM 20\r
-#define RGBLIGHT_HUE_STEP 8\r
-#define RGBLIGHT_SAT_STEP 8\r
-#define RGBLIGHT_VAL_STEP 8\r
-#endif\r
-\r
-#endif\r
+/*
+Copyright 2017 Ruari Armstrong <ukkeyboards@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/>.
+*/
+
+#ifndef CONFIG_H
+#define CONFIG_H
+
+#include "config_common.h"
+
+/* USB Device descriptor parameter */
+#define VENDOR_ID       0x554B /* Ascii */
+#define PRODUCT_ID      0x004E
+#define DEVICE_VER      0x0002
+#define MANUFACTURER    UK Keyboards
+#define PRODUCT         UK78
+#define DESCRIPTION     QMK keyboard firmware for UK78
+
+/* key matrix size */
+#define MATRIX_ROWS 5
+#define MATRIX_COLS 19
+
+/* key matrix pins */
+#define MATRIX_ROW_PINS { F3, F2, F1, F0, A0 }
+#define MATRIX_COL_PINS { A2, A1, F5, F4, E6, E7, E5, E4, B7, D0, D1, D2, D3, D4, D5, D6, D7, B5, E0 }
+#define UNUSED_PINS
+
+/* COL2ROW or ROW2COL */
+#define DIODE_DIRECTION COL2ROW
+
+/* number of backlight levels */
+#define BACKLIGHT_PIN B6
+#ifdef BACKLIGHT_PIN
+#define BACKLIGHT_LEVELS 3
+#endif
+
+/* Set 0 if debouncing isn't needed */
+#define DEBOUNCING_DELAY 5
+
+/* 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 command */
+#define IS_COMMAND() ( \
+    keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
+)
+
+/* prevent stuck modifiers */
+#define PREVENT_STUCK_MODIFIERS
+
+/* ws2812b options */
+#define RGB_DI_PIN F6
+#ifdef RGB_DI_PIN
+#define RGBLIGHT_ANIMATIONS
+#define RGBLED_NUM 20
+#define RGBLIGHT_HUE_STEP 8
+#define RGBLIGHT_SAT_STEP 8
+#define RGBLIGHT_VAL_STEP 8
+#endif
+
+#endif