aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMechMerlin <30334081+mechmerlin@users.noreply.github.com>2018-07-25 12:18:36 -0700
committerDrashna Jaelre <drashna@live.com>2018-07-25 12:18:36 -0700
commit723d338c624015dd68d5e7e7a0f96b3986151285 (patch)
tree85da600037f7f69617806912a9ea4b3fb0aaa34b
parent0fa192091c142a35a166930e63cdaf80bf83a229 (diff)
downloadqmk_firmware-723d338c624015dd68d5e7e7a0f96b3986151285.tar.gz
qmk_firmware-723d338c624015dd68d5e7e7a0f96b3986151285.zip
Keyboard: E6V2 LE Improvements (#3486)
* fix for that stupid LED * formatting changes and add firmware flashing warning to readmes * update readme with more info * add LAYOUT_60_ansi thanks to help from phlop * add configurator support for 60_ansi * add 60_ansi for community layout support
-rw-r--r--keyboards/e6v2/le/info.json4
-rw-r--r--keyboards/e6v2/le/le.c27
-rw-r--r--keyboards/e6v2/le/le.h15
-rw-r--r--keyboards/e6v2/le/readme.md10
-rw-r--r--keyboards/e6v2/le/rules.mk2
-rw-r--r--keyboards/e6v2/oe/readme.md10
-rw-r--r--keyboards/e6v2/readme.md15
7 files changed, 54 insertions, 29 deletions
diff --git a/keyboards/e6v2/le/info.json b/keyboards/e6v2/le/info.json
index 9f9251282..9016f413e 100644
--- a/keyboards/e6v2/le/info.json
+++ b/keyboards/e6v2/le/info.json
@@ -7,6 +7,10 @@
7 "layouts": { 7 "layouts": {
8 "LAYOUT": { 8 "LAYOUT": {
9 "layout": [{"label":"~", "x":0, "y":0}, {"label":"!", "x":1, "y":0}, {"label":"@", "x":2, "y":0}, {"label":"#", "x":3, "y":0}, {"label":"$", "x":4, "y":0}, {"label":"%", "x":5, "y":0}, {"label":"^", "x":6, "y":0}, {"label":"&", "x":7, "y":0}, {"label":"*", "x":8, "y":0}, {"label":"(", "x":9, "y":0}, {"label":")", "x":10, "y":0}, {"label":"_", "x":11, "y":0}, {"label":"+", "x":12, "y":0}, {"x":13, "y":0}, {"x":14, "y":0}, {"label":"Tab", "x":0, "y":1, "w":1.5}, {"label":"Q", "x":1.5, "y":1}, {"label":"W", "x":2.5, "y":1}, {"label":"E", "x":3.5, "y":1}, {"label":"R", "x":4.5, "y":1}, {"label":"T", "x":5.5, "y":1}, {"label":"Y", "x":6.5, "y":1}, {"label":"U", "x":7.5, "y":1}, {"label":"I", "x":8.5, "y":1}, {"label":"O", "x":9.5, "y":1}, {"label":"P", "x":10.5, "y":1}, {"label":"{", "x":11.5, "y":1}, {"label":"}", "x":12.5, "y":1}, {"label":"|", "x":13.5, "y":1, "w":1.5}, {"label":"Caps Lock", "x":0, "y":2, "w":1.75}, {"label":"A", "x":1.75, "y":2}, {"label":"S", "x":2.75, "y":2}, {"label":"D", "x":3.75, "y":2}, {"label":"F", "x":4.75, "y":2}, {"label":"G", "x":5.75, "y":2}, {"label":"H", "x":6.75, "y":2}, {"label":"J", "x":7.75, "y":2}, {"label":"K", "x":8.75, "y":2}, {"label":"L", "x":9.75, "y":2}, {"label":":", "x":10.75, "y":2}, {"label":"\"", "x":11.75, "y":2}, {"label":"Enter", "x":12.75, "y":2, "w":2.25}, {"x":0, "y":3}, {"x":1, "y":3}, {"label":"Z", "x":2, "y":3}, {"label":"X", "x":3, "y":3}, {"label":"C", "x":4, "y":3}, {"label":"V", "x":5, "y":3}, {"label":"B", "x":6, "y":3}, {"label":"N", "x":7, "y":3}, {"label":"M", "x":8, "y":3}, {"label":"<", "x":9, "y":3}, {"label":">", "x":10, "y":3}, {"label":"?", "x":11, "y":3}, {"x":12, "y":3}, {"x":13, "y":3}, {"x":14, "y":3}, {"x":0, "y":4, "w":1.75}, {"label":"Ctrl", "x":1.75, "y":4, "w":1.25}, {"label":"Win", "x":3, "y":4, "w":1.25}, {"label":"Alt", "x":4.25, "y":4, "w":1.25}, {"x":5.5, "y":4, "w":2.75}, {"x":8.25, "y":4, "w":1.75}, {"x":10, "y":4}, {"label":"Alt", "x":11, "y":4}, {"label":"Win", "x":12, "y":4}, {"label":"Menu", "x":13, "y":4}, {"label":"Ctrl", "x":14, "y":4}] 9 "layout": [{"label":"~", "x":0, "y":0}, {"label":"!", "x":1, "y":0}, {"label":"@", "x":2, "y":0}, {"label":"#", "x":3, "y":0}, {"label":"$", "x":4, "y":0}, {"label":"%", "x":5, "y":0}, {"label":"^", "x":6, "y":0}, {"label":"&", "x":7, "y":0}, {"label":"*", "x":8, "y":0}, {"label":"(", "x":9, "y":0}, {"label":")", "x":10, "y":0}, {"label":"_", "x":11, "y":0}, {"label":"+", "x":12, "y":0}, {"x":13, "y":0}, {"x":14, "y":0}, {"label":"Tab", "x":0, "y":1, "w":1.5}, {"label":"Q", "x":1.5, "y":1}, {"label":"W", "x":2.5, "y":1}, {"label":"E", "x":3.5, "y":1}, {"label":"R", "x":4.5, "y":1}, {"label":"T", "x":5.5, "y":1}, {"label":"Y", "x":6.5, "y":1}, {"label":"U", "x":7.5, "y":1}, {"label":"I", "x":8.5, "y":1}, {"label":"O", "x":9.5, "y":1}, {"label":"P", "x":10.5, "y":1}, {"label":"{", "x":11.5, "y":1}, {"label":"}", "x":12.5, "y":1}, {"label":"|", "x":13.5, "y":1, "w":1.5}, {"label":"Caps Lock", "x":0, "y":2, "w":1.75}, {"label":"A", "x":1.75, "y":2}, {"label":"S", "x":2.75, "y":2}, {"label":"D", "x":3.75, "y":2}, {"label":"F", "x":4.75, "y":2}, {"label":"G", "x":5.75, "y":2}, {"label":"H", "x":6.75, "y":2}, {"label":"J", "x":7.75, "y":2}, {"label":"K", "x":8.75, "y":2}, {"label":"L", "x":9.75, "y":2}, {"label":":", "x":10.75, "y":2}, {"label":"\"", "x":11.75, "y":2}, {"label":"Enter", "x":12.75, "y":2, "w":2.25}, {"x":0, "y":3}, {"x":1, "y":3}, {"label":"Z", "x":2, "y":3}, {"label":"X", "x":3, "y":3}, {"label":"C", "x":4, "y":3}, {"label":"V", "x":5, "y":3}, {"label":"B", "x":6, "y":3}, {"label":"N", "x":7, "y":3}, {"label":"M", "x":8, "y":3}, {"label":"<", "x":9, "y":3}, {"label":">", "x":10, "y":3}, {"label":"?", "x":11, "y":3}, {"x":12, "y":3}, {"x":13, "y":3}, {"x":14, "y":3}, {"x":0, "y":4, "w":1.75}, {"label":"Ctrl", "x":1.75, "y":4, "w":1.25}, {"label":"Win", "x":3, "y":4, "w":1.25}, {"label":"Alt", "x":4.25, "y":4, "w":1.25}, {"x":5.5, "y":4, "w":2.75}, {"x":8.25, "y":4, "w":1.75}, {"x":10, "y":4}, {"label":"Alt", "x":11, "y":4}, {"label":"Win", "x":12, "y":4}, {"label":"Menu", "x":13, "y":4}, {"label":"Ctrl", "x":14, "y":4}]
10 },
11
12 "LAYOUT_60_ansi": {
13 "layout": [{"label":"~", "x":0, "y":0}, {"label":"!", "x":1, "y":0}, {"label":"@", "x":2, "y":0}, {"label":"#", "x":3, "y":0}, {"label":"$", "x":4, "y":0}, {"label":"%", "x":5, "y":0}, {"label":"^", "x":6, "y":0}, {"label":"&", "x":7, "y":0}, {"label":"*", "x":8, "y":0}, {"label":"(", "x":9, "y":0}, {"label":")", "x":10, "y":0}, {"label":"_", "x":11, "y":0}, {"label":"+", "x":12, "y":0}, {"label":"Backspace", "x":13, "y":0, "w":2}, {"label":"Tab", "x":0, "y":1, "w":1.5}, {"label":"Q", "x":1.5, "y":1}, {"label":"W", "x":2.5, "y":1}, {"label":"E", "x":3.5, "y":1}, {"label":"R", "x":4.5, "y":1}, {"label":"T", "x":5.5, "y":1}, {"label":"Y", "x":6.5, "y":1}, {"label":"U", "x":7.5, "y":1}, {"label":"I", "x":8.5, "y":1}, {"label":"O", "x":9.5, "y":1}, {"label":"P", "x":10.5, "y":1}, {"label":"{", "x":11.5, "y":1}, {"label":"}", "x":12.5, "y":1}, {"label":"|", "x":13.5, "y":1, "w":1.5}, {"label":"Caps Lock", "x":0, "y":2, "w":1.75}, {"label":"A", "x":1.75, "y":2}, {"label":"S", "x":2.75, "y":2}, {"label":"D", "x":3.75, "y":2}, {"label":"F", "x":4.75, "y":2}, {"label":"G", "x":5.75, "y":2}, {"label":"H", "x":6.75, "y":2}, {"label":"J", "x":7.75, "y":2}, {"label":"K", "x":8.75, "y":2}, {"label":"L", "x":9.75, "y":2}, {"label":":", "x":10.75, "y":2}, {"label":"\"", "x":11.75, "y":2}, {"label":"Enter", "x":12.75, "y":2, "w":2.25}, {"label":"Shift", "x":0, "y":3, "w":2.25}, {"label":"Z", "x":2.25, "y":3}, {"label":"X", "x":3.25, "y":3}, {"label":"C", "x":4.25, "y":3}, {"label":"V", "x":5.25, "y":3}, {"label":"B", "x":6.25, "y":3}, {"label":"N", "x":7.25, "y":3}, {"label":"M", "x":8.25, "y":3}, {"label":"<", "x":9.25, "y":3}, {"label":">", "x":10.25, "y":3}, {"label":"?", "x":11.25, "y":3}, {"label":"Shift", "x":12.25, "y":3, "w":2.75}, {"label":"Ctrl", "x":0, "y":4, "w":1.25}, {"label":"Win", "x":1.25, "y":4, "w":1.25}, {"label":"Alt", "x":2.5, "y":4, "w":1.25}, {"x":3.75, "y":4, "w":6.25}, {"label":"Alt", "x":10, "y":4, "w":1.25}, {"label":"Win", "x":11.25, "y":4, "w":1.25}, {"label":"Menu", "x":12.5, "y":4, "w":1.25}, {"label":"Ctrl", "x":13.75, "y":4, "w":1.25}]
10 } 14 }
11 } 15 }
12} \ No newline at end of file 16} \ No newline at end of file
diff --git a/keyboards/e6v2/le/le.c b/keyboards/e6v2/le/le.c
index b99a57bca..f27bdc113 100644
--- a/keyboards/e6v2/le/le.c
+++ b/keyboards/e6v2/le/le.c
@@ -21,24 +21,13 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
21 return process_record_user(keycode, record); 21 return process_record_user(keycode, record);
22} 22}
23 23
24void led_set_kb(uint8_t usb_led) { 24void led_set_user(uint8_t usb_led) {
25 // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here 25 if (usb_led & (1 << USB_LED_CAPS_LOCK)) {
26 DDRB |= (1<<7); 26 DDRB |= (1 << 7);
27 if (usb_led & (1<<USB_LED_CAPS_LOCK)) { 27 PORTB &= ~(1 << 7);
28 // output low 28 } else {
29 DDRB |= (1<<2); 29 DDRB &= ~(1 << 7);
30 PORTB &= ~(1<<2); 30 PORTB &= ~(1 << 7);
31 } else {
32 // Hi-Z
33 DDRB &= ~(1<<2);
34 PORTB &= ~(1<<2);
35 }
36 if (usb_led == 0){
37 PORTB |= (1<<7);
38 } 31 }
39 else{
40 PORTB &= ~(1<<7);
41 }
42
43 led_set_user(usb_led);
44} 32}
33
diff --git a/keyboards/e6v2/le/le.h b/keyboards/e6v2/le/le.h
index dce24fa20..f0ec35747 100644
--- a/keyboards/e6v2/le/le.h
+++ b/keyboards/e6v2/le/le.h
@@ -18,4 +18,19 @@
18 { K40, KC_NO, K42, K43, K44, KC_NO, KC_NO, K47, KC_NO, K49, K4A, K4B, K4C, K4D, K4E }, \ 18 { K40, KC_NO, K42, K43, K44, KC_NO, KC_NO, K47, KC_NO, K49, K4A, K4B, K4C, K4D, K4E }, \
19} 19}
20 20
21#define LAYOUT_60_ansi( \
22 K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, \
23 K10, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, \
24 K20, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, \
25 K30, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3D, \
26 K40, K43, K44, K47, K4A, K4B, K4D, K4E \
27)\
28{\
29 { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, KC_NO }, \
30 { K10, KC_NO, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E }, \
31 { K20, KC_NO, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, KC_NO }, \
32 { K30, KC_NO, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, KC_NO, K3D, KC_NO }, \
33 { K40, KC_NO, KC_NO, K43, K44, KC_NO, KC_NO, K47, KC_NO, KC_NO, K4A, K4B, KC_NO, K4D, K4E }, \
34}
35
21#endif \ No newline at end of file 36#endif \ No newline at end of file
diff --git a/keyboards/e6v2/le/readme.md b/keyboards/e6v2/le/readme.md
index 33a864771..20848a2bc 100644
--- a/keyboards/e6v2/le/readme.md
+++ b/keyboards/e6v2/le/readme.md
@@ -1,10 +1,12 @@
1# E6-V2 Last Edition (LE) 1# E6-V2 Last Edition (LE)
2 2
3These docs are for the QMK version of the PCB. [More info on qmk.fm](http://qmk.fm/) 3These docs are for the QMK version of the E6-V2 PCB. [More info on qmk.fm](http://qmk.fm/)
4 4
5Keyboard Maintainer: [MechMerlin](https://github.com/mechmerlin) 5Keyboard Maintainer: [MechMerlin](https://github.com/mechmerlin)
6Hardware Supported: E6-V2 LE Mid Port rev.qmk 6Hardware Supported: E6-V2 LE Mid Port rev.qmk
7Hardware Availability: [geekhack.org/index.php?topic=90787.0](https://geekhack.org/index.php?topic=90787.0) 7Hardware Availability: [geekhack.org/index.php?topic=90787.0](https://geekhack.org/index.php?topic=90787.0)
8
9**Please do not flash LE firmware on OE hardware.**
8 10
9Make example for this keyboard (after setting up your build environment): 11Make example for this keyboard (after setting up your build environment):
10 12
diff --git a/keyboards/e6v2/le/rules.mk b/keyboards/e6v2/le/rules.mk
index c2c02b614..7d28042d8 100644
--- a/keyboards/e6v2/le/rules.mk
+++ b/keyboards/e6v2/le/rules.mk
@@ -66,3 +66,5 @@ MIDI_ENABLE = no # MIDI controls
66UNICODE_ENABLE = no # Unicode 66UNICODE_ENABLE = no # Unicode
67BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID 67BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
68AUDIO_ENABLE = no # Audio output on port C6 68AUDIO_ENABLE = no # Audio output on port C6
69
70LAYOUTS = 60_ansi \ No newline at end of file
diff --git a/keyboards/e6v2/oe/readme.md b/keyboards/e6v2/oe/readme.md
index b9b42bd5f..3e1c57530 100644
--- a/keyboards/e6v2/oe/readme.md
+++ b/keyboards/e6v2/oe/readme.md
@@ -1,10 +1,12 @@
1# E6-V2 Original Edition (OE) 1# E6-V2 Original Edition (OE)
2 2
3These docs are for the QMK version of the PCB. [More info on qmk.fm](http://qmk.fm/) 3These docs are for the QMK version of the E6-V2 PCB. [More info on qmk.fm](http://qmk.fm/)
4 4
5Keyboard Maintainer: [amnesia0287](https://github.com/amnesia0287) 5Keyboard Maintainer: [amnesia0287](https://github.com/amnesia0287)
6Hardware Supported: E6-V2 OE Mid Port rev.qmk 6Hardware Supported: E6-V2 OE Mid Port rev.qmk
7Hardware Availability: [geekhack.org/index.php?topic=90787.0](https://geekhack.org/index.php?topic=90787.0) 7Hardware Availability: [geekhack.org/index.php?topic=90787.0](https://geekhack.org/index.php?topic=90787.0)
8
9**Please do not flash OE firmware on LE hardware.**
8 10
9Make example for this keyboard (after setting up your build environment): 11Make example for this keyboard (after setting up your build environment):
10 12
diff --git a/keyboards/e6v2/readme.md b/keyboards/e6v2/readme.md
index 4ac498fc4..9ebfac4a7 100644
--- a/keyboards/e6v2/readme.md
+++ b/keyboards/e6v2/readme.md
@@ -1,9 +1,20 @@
1# E6-V2 1# E6-V2
2 2
3These docs are for the QMK version of the PCB. [More info on qmk.fm](http://qmk.fm/) 3The E6-V2 is a 60% keyboard manufactured by Exclusive.
4
5### Round 1:
6- ps2avrGB PCB and QMK powered PCB option (OE PCB)
7- Center mount and side mount USB
8
9### Round 2
10- ps2avrGB PCB and QMK powered PCB option (LE PCB)
11- Only center mount USB offered
12- All brass option
13
14These docs are for the QMK version of the E6-V2 PCB. [More info on qmk.fm](http://qmk.fm/)
4 15
5The E6V2 has been available with either a bootmapper client or QMK powered PCB. During the second round, the QMK powered PCB was redesigned and used different ports and a different switch matrix. 16The E6V2 has been available with either a bootmapper client or QMK powered PCB. During the second round, the QMK powered PCB was redesigned and used different ports and a different switch matrix.
6 17
7Please use the appropriate version when making your firmware. 18Please use the appropriate version when making your firmware. Flashing one in place of the other, can brick your PCB. Please be certain whether you have a OE or LE PCB.
8 19
9See [build environment setup](https://docs.qmk.fm/build_environment_setup.html) then the [make instructions](https://docs.qmk.fm/make_instructions.html) for more information. 20See [build environment setup](https://docs.qmk.fm/build_environment_setup.html) then the [make instructions](https://docs.qmk.fm/make_instructions.html) for more information.