diff options
Diffstat (limited to 'keyboards/dc01/right')
-rw-r--r-- | keyboards/dc01/right/config.h | 56 | ||||
-rw-r--r-- | keyboards/dc01/right/info.json | 18 | ||||
-rw-r--r-- | keyboards/dc01/right/keymaps/default/keymap.c | 30 | ||||
-rw-r--r-- | keyboards/dc01/right/keymaps/default/readme.md | 2 | ||||
-rw-r--r-- | keyboards/dc01/right/keymaps/hhkb_ansi/keymap.c | 46 | ||||
-rw-r--r-- | keyboards/dc01/right/keymaps/hhkb_ansi/readme.md | 3 | ||||
-rw-r--r-- | keyboards/dc01/right/keymaps/hhkb_iso/keymap.c | 46 | ||||
-rw-r--r-- | keyboards/dc01/right/keymaps/hhkb_iso/readme.md | 3 | ||||
-rw-r--r-- | keyboards/dc01/right/keymaps/iso/keymap.c | 38 | ||||
-rw-r--r-- | keyboards/dc01/right/keymaps/iso/readme.md | 3 | ||||
-rw-r--r-- | keyboards/dc01/right/keymaps/via/keymap.c | 46 | ||||
-rw-r--r-- | keyboards/dc01/right/keymaps/via/readme.md | 11 | ||||
-rwxr-xr-x | keyboards/dc01/right/keymaps/via/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/dc01/right/matrix.c | 20 | ||||
-rw-r--r-- | keyboards/dc01/right/right.c | 27 | ||||
-rw-r--r-- | keyboards/dc01/right/right.h | 60 | ||||
-rw-r--r-- | keyboards/dc01/right/rules.mk | 2 |
17 files changed, 98 insertions, 314 deletions
diff --git a/keyboards/dc01/right/config.h b/keyboards/dc01/right/config.h index e22ea6641..60672e252 100644 --- a/keyboards/dc01/right/config.h +++ b/keyboards/dc01/right/config.h | |||
@@ -20,7 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
20 | #include "config_common.h" | 20 | #include "config_common.h" |
21 | 21 | ||
22 | /* USB Device descriptor parameter */ | 22 | /* USB Device descriptor parameter */ |
23 | #define VENDOR_ID 0xFEED | 23 | #define VENDOR_ID 0x8968 |
24 | #define PRODUCT_ID 0x1011 | 24 | #define PRODUCT_ID 0x1011 |
25 | #define DEVICE_VER 0x0001 | 25 | #define DEVICE_VER 0x0001 |
26 | #define MANUFACTURER Mechboards | 26 | #define MANUFACTURER Mechboards |
@@ -47,10 +47,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
47 | /* COL2ROW, ROW2COL*/ | 47 | /* COL2ROW, ROW2COL*/ |
48 | #define DIODE_DIRECTION COL2ROW | 48 | #define DIODE_DIRECTION COL2ROW |
49 | 49 | ||
50 | // #define BACKLIGHT_PIN B7 | ||
51 | // #define BACKLIGHT_BREATHING | ||
52 | // #define BACKLIGHT_LEVELS 3 | ||
53 | |||
54 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | 50 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ |
55 | #define DEBOUNCE 5 | 51 | #define DEBOUNCE 5 |
56 | 52 | ||
@@ -89,53 +85,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
89 | * | 85 | * |
90 | */ | 86 | */ |
91 | //#define FORCE_NKRO | 87 | //#define FORCE_NKRO |
92 | |||
93 | /* | ||
94 | * Magic Key Options | ||
95 | * | ||
96 | * Magic keys are hotkey commands that allow control over firmware functions of | ||
97 | * the keyboard. They are best used in combination with the HID Listen program, | ||
98 | * found here: https://www.pjrc.com/teensy/hid_listen.html | ||
99 | * | ||
100 | * The options below allow the magic key functionality to be changed. This is | ||
101 | * useful if your keyboard/keypad is missing keys and you want magic key support. | ||
102 | * | ||
103 | */ | ||
104 | |||
105 | /* | ||
106 | * Feature disable options | ||
107 | * These options are also useful to firmware size reduction. | ||
108 | */ | ||
109 | |||
110 | /* disable debug print */ | ||
111 | //#define NO_DEBUG | ||
112 | |||
113 | /* disable print */ | ||
114 | //#define NO_PRINT | ||
115 | |||
116 | /* disable action features */ | ||
117 | //#define NO_ACTION_LAYER | ||
118 | //#define NO_ACTION_TAPPING | ||
119 | //#define NO_ACTION_ONESHOT | ||
120 | //#define NO_ACTION_MACRO | ||
121 | //#define NO_ACTION_FUNCTION | ||
122 | |||
123 | /* | ||
124 | * MIDI options | ||
125 | */ | ||
126 | |||
127 | /* enable basic MIDI features: | ||
128 | - MIDI notes can be sent when in Music mode is on | ||
129 | */ | ||
130 | //#define MIDI_BASIC | ||
131 | |||
132 | /* enable advanced MIDI features: | ||
133 | - MIDI notes can be added to the keymap | ||
134 | - Octave shift and transpose | ||
135 | - Virtual sustain, portamento, and modulation wheel | ||
136 | - etc. | ||
137 | */ | ||
138 | //#define MIDI_ADVANCED | ||
139 | |||
140 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | ||
141 | //#define MIDI_TONE_KEYCODE_OCTAVES 1 \ No newline at end of file | ||
diff --git a/keyboards/dc01/right/info.json b/keyboards/dc01/right/info.json index c9ae349c9..92acdf5e0 100644 --- a/keyboards/dc01/right/info.json +++ b/keyboards/dc01/right/info.json | |||
@@ -1,21 +1,15 @@ | |||
1 | { | 1 | { |
2 | "keyboard_name": "DC01 Right Half", | 2 | "keyboard_name": "DC01 Right Half", |
3 | "url": "", | 3 | "url": "", |
4 | "maintainer": "qmk", | 4 | "maintainer": "Yiancar-Designs", |
5 | "width": 8.5, | 5 | "width": 8.5, |
6 | "height": 5, | 6 | "height": 5, |
7 | "layouts": { | 7 | "layouts": { |
8 | "LAYOUT_ansi": { | 8 | "LAYOUT_all": { |
9 | "layout": [{"label":"&", "x":0.5, "y":0}, {"label":"*", "x":1.5, "y":0}, {"label":"(", "x":2.5, "y":0}, {"label":")", "x":3.5, "y":0}, {"label":"_", "x":4.5, "y":0}, {"label":"+", "x":5.5, "y":0}, {"label":"Backspace", "x":6.5, "y":0, "w":2}, {"label":"Y", "x":0, "y":1}, {"label":"U", "x":1, "y":1}, {"label":"I", "x":2, "y":1}, {"label":"O", "x":3, "y":1}, {"label":"P", "x":4, "y":1}, {"label":"{", "x":5, "y":1}, {"label":"}", "x":6, "y":1}, {"label":"|", "x":7, "y":1, "w":1.5}, {"label":"H", "x":0.25, "y":2}, {"label":"J", "x":1.25, "y":2}, {"label":"K", "x":2.25, "y":2}, {"label":"L", "x":3.25, "y":2}, {"label":":", "x":4.25, "y":2}, {"label":"\"", "x":5.25, "y":2}, {"label":"Enter", "x":6.25, "y":2, "w":2.25}, {"label":"N", "x":0.75, "y":3}, {"label":"M", "x":1.75, "y":3}, {"label":"<", "x":2.75, "y":3}, {"label":">", "x":3.75, "y":3}, {"label":"?", "x":4.75, "y":3}, {"label":"Shift", "x":5.75, "y":3, "w":2.75}, {"x":0, "y":4, "w":1.25}, {"x":1.25, "y":4, "w":2.25}, {"label":"Alt", "x":3.5, "y":4, "w":1.25}, {"label":"GUI", "x":4.75, "y":4, "w":1.25}, {"label":"Menu", "x":6, "y":4, "w":1.25}, {"label":"Ctrl", "x":7.25, "y":4, "w":1.25}] | 9 | "layout": [{"label":"&", "x":0.5, "y":0}, {"label":"*", "x":1.5, "y":0}, {"label":"(", "x":2.5, "y":0}, {"label":")", "x":3.5, "y":0}, {"label":"_", "x":4.5, "y":0}, {"label":"+", "x":5.5, "y":0}, {"label":"Back", "x":6.5, "y":0}, {"label":"Del", "x":7.5, "y":0}, {"label":"Y", "x":0, "y":1}, {"label":"U", "x":1, "y":1}, {"label":"I", "x":2, "y":1}, {"label":"O", "x":3, "y":1}, {"label":"P", "x":4, "y":1}, {"label":"{", "x":5, "y":1}, {"label":"}", "x":6, "y":1}, {"label":"|", "x":7, "y":1, "w":1.5}, {"label":"H", "x":0.25, "y":2}, {"label":"J", "x":1.25, "y":2}, {"label":"K", "x":2.25, "y":2}, {"label":"L", "x":3.25, "y":2}, {"label":":", "x":4.25, "y":2}, {"label":"@", "x":5.25, "y":2}, {"label":"~", "x":6.25, "y":2}, {"label":"Enter", "x":7.25, "y":2, "w":1.25}, {"label":"N", "x":0.75, "y":3}, {"label":"M", "x":1.75, "y":3}, {"label":"<", "x":2.75, "y":3}, {"label":">", "x":3.75, "y":3}, {"label":"?", "x":4.75, "y":3}, {"label":"Shift", "x":5.75, "y":3, "w":1.75}, {"label":"Shift", "x":7.5, "y":3}, {"label":"Fn", "x":0, "y":4, "w":1.25}, {"x":1.25, "y":4, "w":2.25}, {"label":"AltGr", "x":3.5, "y":4, "w":1.25}, {"label":"Win", "x":4.75, "y":4, "w":1.25}, {"label":"Menu", "x":6, "y":4, "w":1.25}, {"label":"Ctrl", "x":7.25, "y":4, "w":1.25}] |
10 | }, | ||
11 | "LAYOUT_iso": { | ||
12 | "layout": [{"label":"&", "x":0.5, "y":0}, {"label":"*", "x":1.5, "y":0}, {"label":"(", "x":2.5, "y":0}, {"label":")", "x":3.5, "y":0}, {"label":"_", "x":4.5, "y":0}, {"label":"+", "x":5.5, "y":0}, {"label":"Backspace", "x":6.5, "y":0, "w":2}, {"label":"Y", "x":0, "y":1}, {"label":"U", "x":1, "y":1}, {"label":"I", "x":2, "y":1}, {"label":"O", "x":3, "y":1}, {"label":"P", "x":4, "y":1}, {"label":"{", "x":5, "y":1}, {"label":"}", "x":6, "y":1}, {"label":"H", "x":0.25, "y":2}, {"label":"J", "x":1.25, "y":2}, {"label":"K", "x":2.25, "y":2}, {"label":"L", "x":3.25, "y":2}, {"label":":", "x":4.25, "y":2}, {"label":"@", "x":5.25, "y":2}, {"label":"~", "x":6.25, "y":2}, {"label":"Enter", "x":7.25, "y":1, "w":1.25, "h":2}, {"label":"N", "x":0.75, "y":3}, {"label":"M", "x":1.75, "y":3}, {"label":"<", "x":2.75, "y":3}, {"label":">", "x":3.75, "y":3}, {"label":"?", "x":4.75, "y":3}, {"label":"Shift", "x":5.75, "y":3, "w":2.75}, {"x":0, "y":4, "w":1.25}, {"x":1.25, "y":4, "w":2.25}, {"label":"AltGr", "x":3.5, "y":4, "w":1.25}, {"label":"GUI", "x":4.75, "y":4, "w":1.25}, {"label":"Menu", "x":6, "y":4, "w":1.25}, {"label":"Ctrl", "x":7.25, "y":4, "w":1.25}] | ||
13 | }, | 10 | }, |
14 | "LAYOUT_hhkb_ansi": { | 11 | "LAYOUT_ansi": { |
15 | "layout": [{"label":"&", "x":0.5, "y":0}, {"label":"*", "x":1.5, "y":0}, {"label":"(", "x":2.5, "y":0}, {"label":")", "x":3.5, "y":0}, {"label":"_", "x":4.5, "y":0}, {"label":"+", "x":5.5, "y":0}, {"label":"Backspace", "x":6.5, "y":0}, {"label":"~", "x":7.5, "y":0}, {"label":"Y", "x":0, "y":1}, {"label":"U", "x":1, "y":1}, {"label":"I", "x":2, "y":1}, {"label":"O", "x":3, "y":1}, {"label":"P", "x":4, "y":1}, {"label":"{", "x":5, "y":1}, {"label":"}", "x":6, "y":1}, {"label":"|", "x":7, "y":1, "w":1.5}, {"label":"H", "x":0.25, "y":2}, {"label":"J", "x":1.25, "y":2}, {"label":"K", "x":2.25, "y":2}, {"label":"L", "x":3.25, "y":2}, {"label":":", "x":4.25, "y":2}, {"label":"\"", "x":5.25, "y":2}, {"label":"Enter", "x":6.25, "y":2, "w":2.25}, {"label":"N", "x":0.75, "y":3}, {"label":"M", "x":1.75, "y":3}, {"label":"<", "x":2.75, "y":3}, {"label":">", "x":3.75, "y":3}, {"label":"?", "x":4.75, "y":3}, {"label":"Shift", "x":5.75, "y":3, "w":1.75}, {"label":"Fn", "x":7.5, "y":3}, {"x":0, "y":4, "w":1.25}, {"x":1.25, "y":4, "w":2.25}, {"label":"Alt", "x":3.5, "y":4, "w":1.25}, {"label":"GUI", "x":4.75, "y":4, "w":1.25}, {"label":"Menu", "x":6, "y":4, "w":1.25}, {"label":"Ctrl", "x":7.25, "y":4, "w":1.25}] | 12 | "layout": [{"label":"&", "x":0.5, "y":0}, {"label":"*", "x":1.5, "y":0}, {"label":"(", "x":2.5, "y":0}, {"label":")", "x":3.5, "y":0}, {"label":"_", "x":4.5, "y":0}, {"label":"+", "x":5.5, "y":0}, {"label":"Back", "x":6.5, "y":0}, {"label":"Del", "x":7.5, "y":0}, {"label":"Y", "x":0, "y":1}, {"label":"U", "x":1, "y":1}, {"label":"I", "x":2, "y":1}, {"label":"O", "x":3, "y":1}, {"label":"P", "x":4, "y":1}, {"label":"{", "x":5, "y":1}, {"label":"}", "x":6, "y":1}, {"label":"|", "x":7, "y":1, "w":1.5}, {"label":"H", "x":0.25, "y":2}, {"label":"J", "x":1.25, "y":2}, {"label":"K", "x":2.25, "y":2}, {"label":"L", "x":3.25, "y":2}, {"label":":", "x":4.25, "y":2}, {"label":"@", "x":5.25, "y":2}, {"label":"Enter", "x":6.25, "y":2, "w":2.25}, {"label":"N", "x":0.75, "y":3}, {"label":"M", "x":1.75, "y":3}, {"label":"<", "x":2.75, "y":3}, {"label":">", "x":3.75, "y":3}, {"label":"?", "x":4.75, "y":3}, {"label":"Shift", "x":5.75, "y":3, "w":1.75}, {"label":"Shift", "x":7.5, "y":3}, {"label":"Fn", "x":0, "y":4, "w":1.25}, {"x":1.25, "y":4, "w":2.25}, {"label":"AltGr", "x":3.5, "y":4, "w":1.25}, {"label":"Win", "x":4.75, "y":4, "w":1.25}, {"label":"Menu", "x":6, "y":4, "w":1.25}, {"label":"Ctrl", "x":7.25, "y":4, "w":1.25}] |
16 | }, | 13 | } |
17 | "LAYOUT_hhkb_iso": { | ||
18 | "layout": [{"label":"&", "x":0.5, "y":0}, {"label":"*", "x":1.5, "y":0}, {"label":"(", "x":2.5, "y":0}, {"label":")", "x":3.5, "y":0}, {"label":"_", "x":4.5, "y":0}, {"label":"+", "x":5.5, "y":0}, {"label":"|", "x":6.5, "y":0}, {"label":"Backspace", "x":7.5, "y":0}, {"label":"Y", "x":0, "y":1}, {"label":"U", "x":1, "y":1}, {"label":"I", "x":2, "y":1}, {"label":"O", "x":3, "y":1}, {"label":"P", "x":4, "y":1}, {"label":"{", "x":5, "y":1}, {"label":"}", "x":6, "y":1}, {"label":"H", "x":0.25, "y":2}, {"label":"J", "x":1.25, "y":2}, {"label":"K", "x":2.25, "y":2}, {"label":"L", "x":3.25, "y":2}, {"label":":", "x":4.25, "y":2}, {"label":"@", "x":5.25, "y":2}, {"label":"~", "x":6.25, "y":2}, {"label":"Enter", "x":7.25, "y":1, "w":1.25, "h":2}, {"label":"N", "x":0.75, "y":3}, {"label":"M", "x":1.75, "y":3}, {"label":"<", "x":2.75, "y":3}, {"label":">", "x":3.75, "y":3}, {"label":"?", "x":4.75, "y":3}, {"label":"Shift", "x":5.75, "y":3, "w":1.75}, {"label":"Fn", "x":7.5, "y":3}, {"x":0, "y":4, "w":1.25}, {"x":1.25, "y":4, "w":2.25}, {"label":"AltGr", "x":3.5, "y":4, "w":1.25}, {"label":"GUI", "x":4.75, "y":4, "w":1.25}, {"label":"Menu", "x":6, "y":4, "w":1.25}, {"label":"Ctrl", "x":7.25, "y":4, "w":1.25}] | ||
19 | } | ||
20 | } | 14 | } |
21 | } | 15 | } |
diff --git a/keyboards/dc01/right/keymaps/default/keymap.c b/keyboards/dc01/right/keymaps/default/keymap.c index 628351cfa..1bf026f3d 100644 --- a/keyboards/dc01/right/keymaps/default/keymap.c +++ b/keyboards/dc01/right/keymaps/default/keymap.c | |||
@@ -17,22 +17,16 @@ | |||
17 | 17 | ||
18 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | 18 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
19 | [0] = LAYOUT_ansi( /* Base */ | 19 | [0] = LAYOUT_ansi( /* Base */ |
20 | KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, \ | 20 | KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV, |
21 | KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC,KC_BSLS, \ | 21 | KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC,KC_BSPC, |
22 | KC_H, KC_J, KC_K, KC_L, KC_SCLN,KC_QUOT, KC_ENT, \ | 22 | KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, |
23 | KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH, KC_RSFT, \ | 23 | KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,MO(1), |
24 | KC_SPC, KC_SPC, KC_RALT, KC_RGUI, KC_RGUI, KC_RCTL \ | 24 | KC_SPC, KC_SPC, KC_RALT, KC_RGUI, KC_RGUI, KC_RCTL), |
25 | ), | ||
26 | }; | ||
27 | |||
28 | void matrix_init_user(void) { | ||
29 | |||
30 | } | ||
31 | 25 | ||
32 | void matrix_scan_user(void) { | 26 | [1] = LAYOUT_ansi( /* Empty for Dynamic keymap */ |
33 | 27 | KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, | |
34 | } | 28 | KC_TRNS, KC_TRNS, KC_PSCR, KC_SLCK, KC_PAUS, KC_UP, KC_TRNS, KC_BSPC, |
35 | 29 | KC_PAST, KC_PSLS, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, KC_PENT, | |
36 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | 30 | KC_PPLS, KC_PMNS, KC_END, KC_PGDN, KC_DOWN, KC_TRNS, KC_TRNS, |
37 | return true; | 31 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS) |
38 | } \ No newline at end of file | 32 | }; |
diff --git a/keyboards/dc01/right/keymaps/default/readme.md b/keyboards/dc01/right/keymaps/default/readme.md index 25567a4d3..50a56f610 100644 --- a/keyboards/dc01/right/keymaps/default/readme.md +++ b/keyboards/dc01/right/keymaps/default/readme.md | |||
@@ -1,3 +1,3 @@ | |||
1 | # The default ANSI keymap for DC01 Right | 1 | # The default ANSI keymap for DC01 Right |
2 | 2 | ||
3 | When using the right module individually, this keymap will take effect. When using the keyboard as a whole please edit the keymap of the left module. \ No newline at end of file | 3 | When using the right module individually, this keymap will take effect. When using the keyboard as a whole please edit the keymap of the left module. |
diff --git a/keyboards/dc01/right/keymaps/hhkb_ansi/keymap.c b/keyboards/dc01/right/keymaps/hhkb_ansi/keymap.c deleted file mode 100644 index 6f9d537e1..000000000 --- a/keyboards/dc01/right/keymaps/hhkb_ansi/keymap.c +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | /* Copyright 2018 Yiancar | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | #include QMK_KEYBOARD_H | ||
17 | |||
18 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
19 | [0] = LAYOUT_hhkb_ansi( /* Base */ | ||
20 | KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV, \ | ||
21 | KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC,KC_BSPC, \ | ||
22 | KC_H, KC_J, KC_K, KC_L, KC_SCLN,KC_QUOT, KC_ENT, \ | ||
23 | KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH, KC_RSFT,MO(1), \ | ||
24 | KC_SPC, KC_SPC, KC_RALT, KC_RGUI, KC_RGUI, KC_RCTL \ | ||
25 | ), | ||
26 | |||
27 | [1] = LAYOUT_hhkb_ansi( | ||
28 | KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, \ | ||
29 | KC_TRNS,KC_TRNS, KC_PSCR, KC_SLCK, KC_PAUS, KC_UP, KC_TRNS, KC_BSPC, \ | ||
30 | KC_PAST,KC_PSLS, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, KC_PENT, \ | ||
31 | KC_PPLS,KC_PMNS, KC_END, KC_PGDN, KC_DOWN, KC_TRNS, KC_TRNS, \ | ||
32 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS \ | ||
33 | ), | ||
34 | }; | ||
35 | |||
36 | void matrix_init_user(void) { | ||
37 | |||
38 | } | ||
39 | |||
40 | void matrix_scan_user(void) { | ||
41 | |||
42 | } | ||
43 | |||
44 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
45 | return true; | ||
46 | } \ No newline at end of file | ||
diff --git a/keyboards/dc01/right/keymaps/hhkb_ansi/readme.md b/keyboards/dc01/right/keymaps/hhkb_ansi/readme.md deleted file mode 100644 index e3025fe3e..000000000 --- a/keyboards/dc01/right/keymaps/hhkb_ansi/readme.md +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | # The default HHKB ANSI keymap for DC01 Right | ||
2 | |||
3 | When using the right module individually, this keymap will take effect. When using the keyboard as a whole please edit the keymap of the left module. \ No newline at end of file | ||
diff --git a/keyboards/dc01/right/keymaps/hhkb_iso/keymap.c b/keyboards/dc01/right/keymaps/hhkb_iso/keymap.c deleted file mode 100644 index 72ba350f3..000000000 --- a/keyboards/dc01/right/keymaps/hhkb_iso/keymap.c +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | /* Copyright 2018 Yiancar | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | #include QMK_KEYBOARD_H | ||
17 | |||
18 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
19 | [0] = LAYOUT_hhkb_iso( /* Base */ | ||
20 | KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, \ | ||
21 | KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, \ | ||
22 | KC_H, KC_J, KC_K, KC_L, KC_SCLN,KC_QUOT, KC_NUHS,KC_ENT, \ | ||
23 | KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH, KC_RSFT,MO(1), \ | ||
24 | KC_SPC, KC_SPC, KC_RALT, KC_RGUI, KC_RGUI, KC_RCTL \ | ||
25 | ), | ||
26 | |||
27 | [1] = LAYOUT_hhkb_iso( | ||
28 | KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, \ | ||
29 | KC_TRNS,KC_TRNS, KC_PSCR, KC_SLCK, KC_PAUS, KC_UP, KC_TRNS, \ | ||
30 | KC_PAST,KC_PSLS, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, KC_TRNS, KC_PENT, \ | ||
31 | KC_PPLS,KC_PMNS, KC_END, KC_PGDN, KC_DOWN, KC_TRNS, KC_TRNS, \ | ||
32 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS \ | ||
33 | ), | ||
34 | }; | ||
35 | |||
36 | void matrix_init_user(void) { | ||
37 | |||
38 | } | ||
39 | |||
40 | void matrix_scan_user(void) { | ||
41 | |||
42 | } | ||
43 | |||
44 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
45 | return true; | ||
46 | } \ No newline at end of file | ||
diff --git a/keyboards/dc01/right/keymaps/hhkb_iso/readme.md b/keyboards/dc01/right/keymaps/hhkb_iso/readme.md deleted file mode 100644 index 36cae20ac..000000000 --- a/keyboards/dc01/right/keymaps/hhkb_iso/readme.md +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | # The default HHKB ISO keymap for DC01 Right | ||
2 | |||
3 | When using the right module individually, this keymap will take effect. When using the keyboard as a whole please edit the keymap of the left module. \ No newline at end of file | ||
diff --git a/keyboards/dc01/right/keymaps/iso/keymap.c b/keyboards/dc01/right/keymaps/iso/keymap.c deleted file mode 100644 index e65deac28..000000000 --- a/keyboards/dc01/right/keymaps/iso/keymap.c +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | /* Copyright 2018 Yiancar | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | #include QMK_KEYBOARD_H | ||
17 | |||
18 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
19 | [0] = LAYOUT_iso( /* Base */ | ||
20 | KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, \ | ||
21 | KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, \ | ||
22 | KC_H, KC_J, KC_K, KC_L, KC_SCLN,KC_QUOT, KC_NUHS,KC_ENT, \ | ||
23 | KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH, KC_RSFT, \ | ||
24 | KC_SPC, KC_SPC, KC_RALT, KC_RGUI, KC_RGUI, KC_RCTL \ | ||
25 | ), | ||
26 | }; | ||
27 | |||
28 | void matrix_init_user(void) { | ||
29 | |||
30 | } | ||
31 | |||
32 | void matrix_scan_user(void) { | ||
33 | |||
34 | } | ||
35 | |||
36 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
37 | return true; | ||
38 | } \ No newline at end of file | ||
diff --git a/keyboards/dc01/right/keymaps/iso/readme.md b/keyboards/dc01/right/keymaps/iso/readme.md deleted file mode 100644 index 250169ed5..000000000 --- a/keyboards/dc01/right/keymaps/iso/readme.md +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | # The default ISO keymap for DC01 Right | ||
2 | |||
3 | When using the right module individually, this keymap will take effect. When using the keyboard as a whole please edit the keymap of the left module. \ No newline at end of file | ||
diff --git a/keyboards/dc01/right/keymaps/via/keymap.c b/keyboards/dc01/right/keymaps/via/keymap.c new file mode 100644 index 000000000..92495e6d2 --- /dev/null +++ b/keyboards/dc01/right/keymaps/via/keymap.c | |||
@@ -0,0 +1,46 @@ | |||
1 | /* Copyright 2018 Yiancar | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | #include QMK_KEYBOARD_H | ||
17 | |||
18 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
19 | [0] = LAYOUT_all( /* Base */ | ||
20 | KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV, | ||
21 | KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC, | ||
22 | KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, | ||
23 | KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), | ||
24 | KC_SPC, KC_SPC, KC_RALT, KC_RGUI, KC_RGUI, KC_RCTL), | ||
25 | |||
26 | [1] = LAYOUT_all( /* FN */ | ||
27 | KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, | ||
28 | KC_TRNS, KC_TRNS, KC_PSCR, KC_SLCK, KC_PAUS, KC_UP, KC_TRNS, KC_BSPC, | ||
29 | KC_PAST, KC_PSLS, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, KC_TRNS, KC_PENT, | ||
30 | KC_PPLS, KC_PMNS, KC_END, KC_PGDN, KC_DOWN, KC_TRNS, KC_TRNS, | ||
31 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), | ||
32 | |||
33 | [2] = LAYOUT_all( /* Empty for Dynamic keymap */ | ||
34 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
35 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
36 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
37 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
38 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), | ||
39 | |||
40 | [3] = LAYOUT_all( /* Empty for Dynamic keymap */ | ||
41 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
42 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
43 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
44 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
45 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS) | ||
46 | }; | ||
diff --git a/keyboards/dc01/right/keymaps/via/readme.md b/keyboards/dc01/right/keymaps/via/readme.md new file mode 100644 index 000000000..a2c2fb0cd --- /dev/null +++ b/keyboards/dc01/right/keymaps/via/readme.md | |||
@@ -0,0 +1,11 @@ | |||
1 | # The default VIA keymap for DC01 Left | ||
2 | |||
3 | Please use this for ISO as well. | ||
4 | |||
5 | The keymap looks like a full layout keymap. | ||
6 | |||
7 | This is because the left part of the keyboard acts as the masterm coordinating all four part. | ||
8 | |||
9 | When using the keyboard to connect the other three parts, this keymap overwrites the individual keymaps of the single modules. | ||
10 | |||
11 | When using a module individually, the keymap of that module will take effect. | ||
diff --git a/keyboards/dc01/right/keymaps/via/rules.mk b/keyboards/dc01/right/keymaps/via/rules.mk new file mode 100755 index 000000000..1e5b99807 --- /dev/null +++ b/keyboards/dc01/right/keymaps/via/rules.mk | |||
@@ -0,0 +1 @@ | |||
VIA_ENABLE = yes | |||
diff --git a/keyboards/dc01/right/matrix.c b/keyboards/dc01/right/matrix.c index 6ec3a3b72..530834a7b 100644 --- a/keyboards/dc01/right/matrix.c +++ b/keyboards/dc01/right/matrix.c | |||
@@ -31,8 +31,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
31 | #include "timer.h" | 31 | #include "timer.h" |
32 | #include "i2c_slave.h" | 32 | #include "i2c_slave.h" |
33 | #include "lufa.h" | 33 | #include "lufa.h" |
34 | #include "quantum.h" | ||
34 | 35 | ||
35 | #define SLAVE_I2C_ADDRESS 0x19 | 36 | #define SLAVE_I2C_ADDRESS 0x32 |
36 | 37 | ||
37 | /* Set 0 if debouncing isn't needed */ | 38 | /* Set 0 if debouncing isn't needed */ |
38 | 39 | ||
@@ -196,12 +197,10 @@ uint8_t matrix_scan(void) | |||
196 | } | 197 | } |
197 | # endif | 198 | # endif |
198 | 199 | ||
199 | if (USB_DeviceState != DEVICE_STATE_Configured){ | 200 | i2c_slave_reg[1] = 0x55; |
200 | i2c_slave_reg[1] = 0x55; | 201 | for (uint8_t i = 0; i < MATRIX_ROWS; i++){ |
201 | for (uint8_t i = 0; i < MATRIX_ROWS; i++){ | 202 | i2c_slave_reg[i+2] = matrix[i]; //send matrix over i2c |
202 | i2c_slave_reg[i+2] = matrix[i]; //send matrix over i2c | 203 | } |
203 | } | ||
204 | } | ||
205 | 204 | ||
206 | matrix_scan_quantum(); | 205 | matrix_scan_quantum(); |
207 | return 1; | 206 | return 1; |
@@ -396,9 +395,6 @@ static void unselect_cols(void) | |||
396 | 395 | ||
397 | //this replases tmk code | 396 | //this replases tmk code |
398 | void matrix_setup(void){ | 397 | void matrix_setup(void){ |
399 | 398 | i2c_slave_init(SLAVE_I2C_ADDRESS); //setup address of slave i2c | |
400 | if (USB_DeviceState != DEVICE_STATE_Configured){ | 399 | sei(); //enable interupts |
401 | i2c_slave_init(SLAVE_I2C_ADDRESS); //setup address of slave i2c | ||
402 | sei(); //enable interupts | ||
403 | } | ||
404 | } \ No newline at end of file | 400 | } \ No newline at end of file |
diff --git a/keyboards/dc01/right/right.c b/keyboards/dc01/right/right.c index fc2dead4c..bbb1d568c 100644 --- a/keyboards/dc01/right/right.c +++ b/keyboards/dc01/right/right.c | |||
@@ -14,30 +14,3 @@ | |||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 | */ | 15 | */ |
16 | #include "right.h" | 16 | #include "right.h" |
17 | |||
18 | void matrix_init_kb(void) { | ||
19 | // put your keyboard start-up code here | ||
20 | // runs once when the firmware starts up | ||
21 | |||
22 | matrix_init_user(); | ||
23 | } | ||
24 | |||
25 | void matrix_scan_kb(void) { | ||
26 | // put your looping keyboard code here | ||
27 | // runs every cycle (a lot) | ||
28 | |||
29 | matrix_scan_user(); | ||
30 | } | ||
31 | |||
32 | bool process_record_kb(uint16_t keycode, keyrecord_t *record) { | ||
33 | // put your per-action keyboard code here | ||
34 | // runs for every action, just before processing by the firmware | ||
35 | |||
36 | return process_record_user(keycode, record); | ||
37 | } | ||
38 | |||
39 | void led_set_kb(uint8_t usb_led) { | ||
40 | // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here | ||
41 | |||
42 | led_set_user(usb_led); | ||
43 | } | ||
diff --git a/keyboards/dc01/right/right.h b/keyboards/dc01/right/right.h index d27b1a4f7..55616ec03 100644 --- a/keyboards/dc01/right/right.h +++ b/keyboards/dc01/right/right.h | |||
@@ -13,74 +13,36 @@ | |||
13 | * You should have received a copy of the GNU General Public License | 13 | * You should have received a copy of the GNU General Public License |
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 | */ | 15 | */ |
16 | #ifndef RIGHT_H | 16 | #pragma once |
17 | #define RIGHT_H | ||
18 | 17 | ||
19 | #include "quantum.h" | 18 | #include "quantum.h" |
20 | 19 | ||
21 | #define XXX KC_NO | 20 | #define XXX KC_NO |
22 | 21 | ||
23 | // This a shortcut to help you visually see your layout. | 22 | #define LAYOUT_all( \ |
24 | // The first section contains all of the arguments | ||
25 | // The second converts the arguments into a two-dimensional array | ||
26 | #define LAYOUT_ansi( \ | ||
27 | K01, K02, K03, K04, K05, K06, K07, \ | ||
28 | K10, K11, K12, K13, K14, K15, K16, K17, \ | ||
29 | K20, K21, K22, K23, K24, K25, K27, \ | ||
30 | K30, K31, K32, K33, K34, K37, \ | ||
31 | K40, K41, K42, K43, K44, K45 \ | ||
32 | ) \ | ||
33 | { \ | ||
34 | { XXX, K01, K02, K03, K04, K05, K06, K07 }, \ | ||
35 | { K10, K11, K12, K13, K14, K15, K16, K17 }, \ | ||
36 | { K20, K21, K22, K23, K24, K25, XXX, K27 }, \ | ||
37 | { K30, K31, K32, K33, K34, XXX, XXX, K37 }, \ | ||
38 | { K40, K41, K42, K43, K44, K45, XXX, XXX } \ | ||
39 | } | ||
40 | |||
41 | #define LAYOUT_iso( \ | ||
42 | K01, K02, K03, K04, K05, K06, K07, \ | ||
43 | K10, K11, K12, K13, K14, K15, K16, \ | ||
44 | K20, K21, K22, K23, K24, K25, K26, K27, \ | ||
45 | K30, K31, K32, K33, K34, K37, \ | ||
46 | K40, K41, K42, K43, K44, K45 \ | ||
47 | ) \ | ||
48 | { \ | ||
49 | { XXX, K01, K02, K03, K04, K05, K06, K07 }, \ | ||
50 | { K10, K11, K12, K13, K14, K15, K16, XXX }, \ | ||
51 | { K20, K21, K22, K23, K24, K25, K26, K27 }, \ | ||
52 | { K30, K31, K32, K33, K34, XXX, XXX, K37 }, \ | ||
53 | { K40, K41, K42, K43, K44, K45, XXX, XXX } \ | ||
54 | } | ||
55 | |||
56 | #define LAYOUT_hhkb_ansi( \ | ||
57 | K01, K02, K03, K04, K05, K06, K07, K00, \ | 23 | K01, K02, K03, K04, K05, K06, K07, K00, \ |
58 | K10, K11, K12, K13, K14, K15, K16, K17, \ | 24 | K10, K11, K12, K13, K14, K15, K16, K17, \ |
59 | K20, K21, K22, K23, K24, K25, K27, \ | 25 | K20, K21, K22, K23, K24, K25, K26, K27, \ |
60 | K30, K31, K32, K33, K34, K36, K37, \ | 26 | K30, K31, K32, K33, K34, K36, K37, \ |
61 | K40, K41, K42, K43, K44, K45 \ | 27 | K40, K41, K42, K43, K44, K45 \ |
62 | ) \ | 28 | ) { \ |
63 | { \ | ||
64 | { K00, K01, K02, K03, K04, K05, K06, K07 }, \ | 29 | { K00, K01, K02, K03, K04, K05, K06, K07 }, \ |
65 | { K10, K11, K12, K13, K14, K15, K16, K17 }, \ | 30 | { K10, K11, K12, K13, K14, K15, K16, K17 }, \ |
66 | { K20, K21, K22, K23, K24, K25, XXX, K27 }, \ | 31 | { K20, K21, K22, K23, K24, K25, K26, K27 }, \ |
67 | { K30, K31, K32, K33, K34, XXX, K36, K37 }, \ | 32 | { K30, K31, K32, K33, K34, XXX, K36, K37 }, \ |
68 | { K40, K41, K42, K43, K44, K45, XXX, XXX } \ | 33 | { K40, K41, K42, K43, K44, K45, XXX, XXX } \ |
69 | } | 34 | } |
70 | 35 | ||
71 | #define LAYOUT_hhkb_iso( \ | 36 | #define LAYOUT_ansi( \ |
72 | K01, K02, K03, K04, K05, K06, K07, K00, \ | 37 | K01, K02, K03, K04, K05, K06, K07, K00, \ |
73 | K10, K11, K12, K13, K14, K15, K16, \ | 38 | K10, K11, K12, K13, K14, K15, K16, K17, \ |
74 | K20, K21, K22, K23, K24, K25, K26, K27, \ | 39 | K20, K21, K22, K23, K24, K25, K27, \ |
75 | K30, K31, K32, K33, K34, K36, K37, \ | 40 | K30, K31, K32, K33, K34, K36, K37, \ |
76 | K40, K41, K42, K43, K44, K45 \ | 41 | K40, K41, K42, K43, K44, K45 \ |
77 | ) \ | 42 | ) { \ |
78 | { \ | ||
79 | { K00, K01, K02, K03, K04, K05, K06, K07 }, \ | 43 | { K00, K01, K02, K03, K04, K05, K06, K07 }, \ |
80 | { K10, K11, K12, K13, K14, K15, K16, XXX }, \ | 44 | { K10, K11, K12, K13, K14, K15, K16, K17 }, \ |
81 | { K20, K21, K22, K23, K24, K25, K26, K27 }, \ | 45 | { K20, K21, K22, K23, K24, K25, XXX, K27 }, \ |
82 | { K30, K31, K32, K33, K34, XXX, K36, K37 }, \ | 46 | { K30, K31, K32, K33, K34, XXX, K36, K37 }, \ |
83 | { K40, K41, K42, K43, K44, K45, XXX, XXX } \ | 47 | { K40, K41, K42, K43, K44, K45, XXX, XXX } \ |
84 | } | 48 | } |
85 | |||
86 | #endif | ||
diff --git a/keyboards/dc01/right/rules.mk b/keyboards/dc01/right/rules.mk index f257a56a0..3a311f985 100644 --- a/keyboards/dc01/right/rules.mk +++ b/keyboards/dc01/right/rules.mk | |||
@@ -14,7 +14,7 @@ BOOTLOADER = atmel-dfu | |||
14 | # Build Options | 14 | # Build Options |
15 | # change yes to no to disable | 15 | # change yes to no to disable |
16 | # | 16 | # |
17 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration | 17 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration |
18 | MOUSEKEY_ENABLE = yes # Mouse keys | 18 | MOUSEKEY_ENABLE = yes # Mouse keys |
19 | EXTRAKEY_ENABLE = yes # Audio control and System control | 19 | EXTRAKEY_ENABLE = yes # Audio control and System control |
20 | CONSOLE_ENABLE = no # Console for debug | 20 | CONSOLE_ENABLE = no # Console for debug |