aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/vision_division/config.h
diff options
context:
space:
mode:
authorGravatar IBNobody <ibnobody@gmail.com>2016-08-21 22:05:55 -0500
committerGravatar IBNobody <ibnobody@gmail.com>2016-08-21 22:05:55 -0500
commit705c775a4a433249081321cea0c2def2627817dc (patch)
tree016fc41f59baeae31768ed30b4c66130f31c9490 /keyboards/vision_division/config.h
parent4807feec8a8ea51db40b881b5057784b2b00310b (diff)
downloadqmk_firmware-705c775a4a433249081321cea0c2def2627817dc.tar.gz
Nightly
Only major change to qmk was the addition of A0-A7 pins for the AT90USB
Diffstat (limited to 'keyboards/vision_division/config.h')
-rw-r--r--keyboards/vision_division/config.h44
1 files changed, 2 insertions, 42 deletions
diff --git a/keyboards/vision_division/config.h b/keyboards/vision_division/config.h
index 1faea335a..37b834973 100644
--- a/keyboards/vision_division/config.h
+++ b/keyboards/vision_division/config.h
@@ -20,52 +20,12 @@ 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)
- *
-*/
+// Due to the configurability of this keyboard, matrix sizes are determined in the keymap's config.h
-#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 }
-
-
- #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