aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/noxary/268/config.h
diff options
context:
space:
mode:
authorGravatar Rozakiin <6567067+Rozakiin@users.noreply.github.com>2020-06-24 19:34:55 +0100
committerGravatar GitHub <noreply@github.com>2020-06-24 11:34:55 -0700
commit598c392709141a8d9bff1d8ab12fd50ef4f478ae (patch)
tree6fa0e90cef7485821bdab18f255ce2f22e550925 /keyboards/noxary/268/config.h
parent4d218566ccec5b7b9499a351f3acc5442f9f2c6a (diff)
downloadqmk_firmware-598c392709141a8d9bff1d8ab12fd50ef4f478ae.tar.gz
Add VIA support to Noxary 268 (#9449)
* Remove "rev1" from readme.md * Update rules.mk to enable bootmagic, mousekeys, console, command Also disable NKRO * Update USB descriptor, replace ifndef with pragma once, remove RGB * Replace ifndef with pragma once * Add commented led code * Add VIA keymap * Update keyboards/noxary/268/268.c Remove commented code * Update keyboards/noxary/268/keymaps/via/readme.md Flip layout image and title * Update keyboards/noxary/268/rules.mk Remove error in comment * Update keyboards/noxary/268/rules.mk Remove HD44780 rule option * Update keyboards/noxary/268/keymaps/via/rules.mk Replace Link_Time_Optimization with LTO * Update keyboards/noxary/268/readme.md Change Noxary link
Diffstat (limited to 'keyboards/noxary/268/config.h')
-rw-r--r--keyboards/noxary/268/config.h38
1 files changed, 17 insertions, 21 deletions
diff --git a/keyboards/noxary/268/config.h b/keyboards/noxary/268/config.h
index 8264b8019..8038ef8bb 100644
--- a/keyboards/noxary/268/config.h
+++ b/keyboards/noxary/268/config.h
@@ -1,5 +1,5 @@
/*
-Copyright 2017 Ruari Armstrong <ukkeyboards@gmail.com>
+Copyright 2020 Rozakiin
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
@@ -15,29 +15,37 @@ 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
+#pragma once
#include "config_common.h"
/* USB Device descriptor parameter */
-#define VENDOR_ID 0x4E58
-#define PRODUCT_ID 0x0044
+#define VENDOR_ID 0x4E58 //"NX"
+#define PRODUCT_ID 0x010C //268
#define DEVICE_VER 0x0001
#define MANUFACTURER Noxary
#define PRODUCT 268
-#define DESCRIPTION QMK keyboard firmware for 268
+#define DESCRIPTION A fully customizable 65% keyboard.
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 16
-/* key matrix pins */
+/*
+ * 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 { F5, F4, F0, F1, D0 }
#define MATRIX_COL_PINS { C6, C7, F7, F6, E6, B0, D1, B2, B3, D2, D3, D5, D4, D6, D7, B4 }
#define UNUSED_PINS
-/* COL2ROW or ROW2COL */
+/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
/* number of backlight levels */
@@ -53,16 +61,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
-
-/* ws2812b options */
-#define RGB_DI_PIN B5
-#ifdef RGB_DI_PIN
-#define RGBLIGHT_ANIMATIONS
-#define RGBLED_NUM 18
-#define RGBLIGHT_HUE_STEP 16
-#define RGBLIGHT_SAT_STEP 16
-#define RGBLIGHT_VAL_STEP 16
-#endif
-
-#endif
+#define LOCKING_RESYNC_ENABLE \ No newline at end of file