]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - keyboards/vision_division/config.h
Extended the hint of the programmer to link to the relevant README part instead of...
[qmk_firmware.git] / keyboards / vision_division / config.h
index 1faea335adfd2367863e45c0887c815cf93b66b6..5798d91adf6e5c018ee25f1d1959b495bacdee76 100644 (file)
@@ -20,59 +20,20 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #include "config_common.h"
 
-/* USB Device descriptor parameter */
-#define VENDOR_ID       0xFEED
-#define PRODUCT_ID      0x2525
-#define DEVICE_VER      0x0001
-#define MANUFACTURER    You
-#define PRODUCT         Vision Division
-#define DESCRIPTION     Split or Full Keyboard
-#define MATRIX_EXTENDED
-
-/* key matrix size */
-#ifdef MATRIX_EXTENDED
-       #define MATRIX_ROWS 6
-       #define MATRIX_COLS 24
-#else 
-       #define MATRIX_ROWS 6
-       #define MATRIX_COLS 12
-#endif
-
-/*
- * 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)
- *
-*/
-
-#ifdef MATRIX_EXTENDED
- // Note that the extended colums are reversed because the second PCB has col 1 on the far right.
-       #define MATRIX_ROW_PINS { C2, C3, F4, F5, F6, F7 }
-       #define MATRIX_COL_PINS { C1, C0, E1, E0, F3, F2, F1, F0, B0, B1, B2, B3, E6, A4, A0, A1, A5, A2, A6, A3, A7, C4, C5, C7}
-#else #ifdef MATRIX_LEFT 
-       #define MATRIX_ROW_PINS { C2, C3, F4, F5, F6, F7 }
-       #define MATRIX_COL_PINS { C1, C0, E1, E0, F3, F2, F1, F0, B0, B1, B2, B3 }
+// Due to the configurability of this keyboard, matrix sizes are determined in the keymap's config.h
 
 
-       #define MATRIX_COL_PINS { B3, B2, B1, B0, F0, F1, F2, F3, E0, E1, C0, C1 }
-#endif
-
-#define UNUSED_PINS
-
 /* COL2ROW or ROW2COL */
-#define DIODE_DIRECTION COL2ROW
-// #define BACKLIGHT_PIN B7
-// #define BACKLIGHT_BREATHING
-// #define BACKLIGHT_LEVELS 3
+#define DIODE_DIRECTION ROW2COL
 
+#define BACKLIGHT_PIN B7
+#define BACKLIGHT_BREATHING
+#define BACKLIGHT_LEVELS 3
 
 /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
-#define DEBOUNCING_DELAY 5
+#define DEBOUNCING_DELAY 0
+
+#define MATRIX_MASKED
 
 /* define if matrix has ghost (lacks anti-ghosting diodes) */
 //#define MATRIX_HAS_GHOST
@@ -164,10 +125,18 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
 /* disable debug print */
-//#define NO_DEBUG
+// #ifndef NO_DEBUG
+// #  define NO_DEBUG
+// #endif
 
 /* disable print */
-//#define NO_PRINT
+// #ifndef NO_PRINT
+// #  define NO_PRINT
+// #endif
+
+/* Only print user print statements */
+// #define USER_PRINT
+
 
 /* disable action features */
 //#define NO_ACTION_LAYER