aboutsummaryrefslogtreecommitdiff
path: root/keyboards/deltasplit75/v2
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/deltasplit75/v2')
-rw-r--r--keyboards/deltasplit75/v2/config.h81
-rw-r--r--keyboards/deltasplit75/v2/rules.mk1
-rw-r--r--keyboards/deltasplit75/v2/v2.c1
-rw-r--r--keyboards/deltasplit75/v2/v2.h57
4 files changed, 140 insertions, 0 deletions
diff --git a/keyboards/deltasplit75/v2/config.h b/keyboards/deltasplit75/v2/config.h
new file mode 100644
index 000000000..397683ce4
--- /dev/null
+++ b/keyboards/deltasplit75/v2/config.h
@@ -0,0 +1,81 @@
1/*
2Copyright 2012 Jun Wako <[email protected]>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20#include "config_common.h"
21
22/* USB Device descriptor parameter */
23#define VENDOR_ID 0xFEED
24#define PRODUCT_ID 0x3060
25#define DEVICE_VER 0x0001
26#define MANUFACTURER xyxjj
27#define PRODUCT DeltaSplit75
28
29/* key matrix size */
30// Rows are doubled-up
31#define MATRIX_ROWS 14
32#define MATRIX_COLS 8
33
34// wiring of each half
35#define MATRIX_ROW_PINS { F4, F5, F6, F7, B1, B3, B2 }
36#define MATRIX_COL_PINS { B6, B5, B4, E6, D7, C6, D4, D1}
37
38/* COL2ROW or ROW2COL */
39#define DIODE_DIRECTION COL2ROW
40
41/*
42 * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
43 */
44#define SOFT_SERIAL_PIN D0
45
46/* define if matrix has ghost */
47//#define MATRIX_HAS_GHOST
48
49/* number of backlight levels */
50// #define BACKLIGHT_LEVELS 3
51
52/* Set 0 if debouncing isn't needed */
53#define DEBOUNCE 5
54
55/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
56#define LOCKING_SUPPORT_ENABLE
57/* Locking resynchronize hack */
58#define LOCKING_RESYNC_ENABLE
59
60/* ws2812 RGB LED */
61#define RGB_DI_PIN D3
62
63#define RGBLED_NUM 12 // Number of LEDs
64
65/*
66 * Feature disable options
67 * These options are also useful to firmware size reduction.
68 */
69
70/* disable debug print */
71// #define NO_DEBUG
72
73/* disable print */
74// #define NO_PRINT
75
76/* disable action features */
77//#define NO_ACTION_LAYER
78//#define NO_ACTION_TAPPING
79//#define NO_ACTION_ONESHOT
80//#define NO_ACTION_MACRO
81//#define NO_ACTION_FUNCTION
diff --git a/keyboards/deltasplit75/v2/rules.mk b/keyboards/deltasplit75/v2/rules.mk
new file mode 100644
index 000000000..f84561674
--- /dev/null
+++ b/keyboards/deltasplit75/v2/rules.mk
@@ -0,0 +1 @@
BACKLIGHT_ENABLE = no \ No newline at end of file
diff --git a/keyboards/deltasplit75/v2/v2.c b/keyboards/deltasplit75/v2/v2.c
new file mode 100644
index 000000000..caf7c6f0f
--- /dev/null
+++ b/keyboards/deltasplit75/v2/v2.c
@@ -0,0 +1 @@
#include "v2.h"
diff --git a/keyboards/deltasplit75/v2/v2.h b/keyboards/deltasplit75/v2/v2.h
new file mode 100644
index 000000000..bab6a47cd
--- /dev/null
+++ b/keyboards/deltasplit75/v2/v2.h
@@ -0,0 +1,57 @@
1#pragma once
2
3#include "deltasplit75.h"
4
5#include "quantum.h"
6
7//matrix is defined in a weird way here; the layout on both sides are asymmetrical, but the "matrix" is symmetrical but with empty gaps
8//the last column is defined as a separate row because the firmware currently doesnt support more than 8 columns (this layout has 9 columns per side) K45 and K110 are the Bs on both sides; K53 and K106 are extra keys for ISO
9#define LAYOUT_v2( \
10 K00, K01, K02, K03, K04, K05, K06, K70, K71, K72, K73, K74, K75, K76, K77, K132, \
11 K10, K11, K12, K13, K14, K15, K16, K80, K81, K82, K83, K84, K85, K86, K87, K133, \
12 K20, K21, K22, K23, K24, K25, K90, K91, K92, K93, K94, K95, K96, K97, K134, \
13 K30, K31, K32, K33, K34, K35, K100, K101, K102, K103, K104, K105, K106, K107, K135, \
14 K40, K53, K41, K42, K43, K44, K45, K110, K111, K112, K113, K114, K115, K116, K117, K136, \
15 K50, K51, K52, K54, K55, K120, K121, K122, K123, K126, K127, K137 \
16 ) \
17 { \
18 { K00, K01, K02, K03, K04, K05, K06, KC_NO}, \
19 { K10, K11, K12, K13, K14, K15, K16, KC_NO}, \
20 { K20, K21, K22, K23, K24, K25, KC_NO, KC_NO}, \
21 { K30, K31, K32, K33, K34, K35, KC_NO, KC_NO}, \
22 { K40, K41, K42, K43, K44, K45, KC_NO, KC_NO}, \
23 { K50, K51, K52, K53, K54, K55, KC_NO, KC_NO}, \
24 { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO}, \
25 { K70 , K71, K72, K73, K74, K75, K76, K77}, \
26 { K80, K81, K82, K83, K84, K85, K86, K87}, \
27 { K90, K91, K92, K93, K94, K95, K96, K97}, \
28 { K100, K101, K102, K103, K104, K105, K106, K107}, \
29 { K110, K111, K112, K113, K114, K115, K116, K117}, \
30 { K120, K121, K122, K123, KC_NO, KC_NO, K126, K127}, \
31 { KC_NO, KC_NO, K132, K133, K134, K135, K136, K137} \
32 }
33
34#define LAYOUT_protosplit( \
35 K00, K01, K02, K03, K04, K05, K06, K70, K71, K72, K73, K74, K75, K76, K77, K132, \
36 K10, K11, K12, K13, K14, K15, K16, K80, K81, K82, K83, K84, K85, K86, K87, K133, \
37 K20, K21, K22, K23, K24, K25, K90, K91, K92, K93, K94, K95, K96, K97, K134, \
38 K30, K31, K32, K33, K34, K35, K100, K101, K102, K103, K104, K105, K107, K135, \
39 K40, K41, K42, K43, K44, K45, K110, K111, K112, K113, K114, K115, K116, K117, K136, \
40 K50, K51, K52, K54, K55, K120, K121, K122, K123, K126, K127, K137 \
41 ) \
42 { \
43 { K00, K01, K02, K03, K04, K05, K06, KC_NO}, \
44 { K10, K11, K12, K13, K14, K15, K16, KC_NO}, \
45 { K20, K21, K22, K23, K24, K25, KC_NO, KC_NO}, \
46 { K30, K31, K32, K33, K34, K35, KC_NO, KC_NO}, \
47 { K40, K41, K42, K43, K44, K45, KC_NO, KC_NO}, \
48 { K50, K51, K52, KC_NO, K54, K55, KC_NO, KC_NO}, \
49 { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO}, \
50 { K70 , K71, K72, K73, K74, K75, K76, K77}, \
51 { K80, K81, K82, K83, K84, K85, K86, K87}, \
52 { K90, K91, K92, K93, K94, K95, K96, K97}, \
53 { K100, K101, K102, K103, K104, K105, KC_NO, K107}, \
54 { K110, K111, K112, K113, K114, K115, K116, K117}, \
55 { K120, K121, K122, K123, KC_NO, KC_NO, K126, K127}, \
56 { KC_NO, KC_NO, K132, K133, K134, K135, K136, K137} \
57 }