aboutsummaryrefslogtreecommitdiff
path: root/layouts/community/ergodox/supercoder
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/community/ergodox/supercoder')
-rw-r--r--layouts/community/ergodox/supercoder/config.h9
-rw-r--r--layouts/community/ergodox/supercoder/keymap.c75
-rw-r--r--layouts/community/ergodox/supercoder/makefile.mk6
-rw-r--r--layouts/community/ergodox/supercoder/readme.md29
4 files changed, 119 insertions, 0 deletions
diff --git a/layouts/community/ergodox/supercoder/config.h b/layouts/community/ergodox/supercoder/config.h
new file mode 100644
index 000000000..8c191a87c
--- /dev/null
+++ b/layouts/community/ergodox/supercoder/config.h
@@ -0,0 +1,9 @@
1#ifndef CONFIG_USER_H
2#define CONFIG_USER_H 1
3
4#include QMK_KEYBOARD_CONFIG_H
5
6#undef LOCKING_SUPPORT_ENABLE
7#undef LOCKING_RESYNC_ENABLE
8
9#endif
diff --git a/layouts/community/ergodox/supercoder/keymap.c b/layouts/community/ergodox/supercoder/keymap.c
new file mode 100644
index 000000000..a42937bd6
--- /dev/null
+++ b/layouts/community/ergodox/supercoder/keymap.c
@@ -0,0 +1,75 @@
1/*
2 * SuperCoder 2000 layout
3 */
4
5#include QMK_KEYBOARD_H
6
7/* Layers */
8
9#define SC2K 0 // default layer
10
11/* The Keymap */
12
13const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
14
15 /* Keymap 0: Base Layer
16 *
17 * ,-----------------------------------------------------. ,-----------------------------------------------------.
18 * | 0 | 0 | 0 | 0 | 0 | 0 | 0 | | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
19 * |-----------+------+------+------+------+-------------| |------+------+------+------+------+------+-----------|
20 * | 0 | 0 | 0 | 0 | 0 | 0 | 0 | | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
21 * |-----------+------+------+------+------+------| | | |------+------+------+------+------+-----------|
22 * | 0 | 0 | 0 | 0 | 0 | 0 |------| |------| 1 | 1 | 1 | 1 | 1 | 1 |
23 * |-----------+------+------+------+------+------| 0 | | 1 |------+------+------+------+------+-----------|
24 * | 0 | 0 | 0 | 0 | 0 | 0 | | | | 1 | 1 | 1 | 1 | 1 | 1 |
25 * `-----------+------+------+------+------+-------------' `-------------+------+------+------+------+-----------'
26 * | 0 | 0 | 0 | 0 | 0 | | 1 | 1 | 1 | 1 | 1 |
27 * `-----------------------------------' `-----------------------------------'
28 * ,-------------. ,-------------.
29 * | DONE | DONE | | DONE | DONE |
30 * ,------|------|------| |------+------+------.
31 * | | | DONE | | DONE | | |
32 * | DONE | DONE |------| |------| DONE | DONE |
33 * | | | DONE | | DONE | | |
34 * `--------------------' `--------------------'
35 */
36[SC2K] = LAYOUT_ergodox(
37 // left hand
38 KC_0 ,KC_0 ,KC_0 ,KC_0 ,KC_0 ,KC_0 ,KC_0
39,KC_0 ,KC_0 ,KC_0 ,KC_0 ,KC_0 ,KC_0 ,KC_0
40,KC_0 ,KC_0 ,KC_0 ,KC_0 ,KC_0 ,KC_0
41,KC_0 ,KC_0 ,KC_0 ,KC_0 ,KC_0 ,KC_0 ,KC_0
42,KC_0 ,KC_0 ,KC_0 ,KC_0 ,KC_0
43
44 ,KC_ENT ,KC_ENT
45 ,KC_ENT
46 ,KC_ENT ,KC_ENT ,KC_ENT
47
48 // right hand
49 ,KC_1 ,KC_1 ,KC_1 ,KC_1 ,KC_1 ,KC_1 ,KC_1
50 ,KC_1 ,KC_1 ,KC_1 ,KC_1 ,KC_1 ,KC_1 ,KC_1
51 ,KC_1 ,KC_1 ,KC_1 ,KC_1 ,KC_1 ,KC_1
52 ,KC_1 ,KC_1 ,KC_1 ,KC_1 ,KC_1 ,KC_1 ,KC_1
53 ,KC_1 ,KC_1 ,KC_1 ,KC_1 ,KC_1
54
55 ,KC_ENT ,KC_ENT
56 ,KC_ENT
57 ,KC_ENT ,KC_ENT ,KC_ENT
58 ),
59};
60
61const uint16_t PROGMEM fn_actions[] = {
62};
63
64const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
65{
66 return MACRO_NONE;
67};
68
69// Runs just one time when the keyboard initializes.
70void matrix_init_user(void) {
71};
72
73// Runs constantly in the background, in a loop.
74void matrix_scan_user(void) {
75}
diff --git a/layouts/community/ergodox/supercoder/makefile.mk b/layouts/community/ergodox/supercoder/makefile.mk
new file mode 100644
index 000000000..41a195d9c
--- /dev/null
+++ b/layouts/community/ergodox/supercoder/makefile.mk
@@ -0,0 +1,6 @@
1BOOTMAGIC_ENABLE=no
2COMMAND_ENABLE=no
3SLEEP_LED_ENABLE=no
4UNICODE_ENABLE=no
5MOUSEKEY_ENABLE=no
6EXTRAKEY_ENABLE=no
diff --git a/layouts/community/ergodox/supercoder/readme.md b/layouts/community/ergodox/supercoder/readme.md
new file mode 100644
index 000000000..7f2c9ef69
--- /dev/null
+++ b/layouts/community/ergodox/supercoder/readme.md
@@ -0,0 +1,29 @@
1SuperCoder 2000 layout for the ErgoDox
2==================================================
3
4![SuperCoder 2000](https://i.imgur.com/6dcU9VY.jpg)
5
6Ever found yourself in need of entering binary codes rapidly? Ever wanted to use
7all ten fingers to do so? Ever felt your SuperCoder 2000 too limiting, by only
8having three buttons? We heard you! With this layout for the ErgoDox EZ, you
9will be able to tap in binary at an unparalleled speed and accuracy! Efficiency
10never seen before!
11
12Behold the Ultimate SuperCoder 2000 layout!
13
14![SuperCoder layout](https://i.imgur.com/Ymzlr9G.png)
15
16### To use it...
17
18To use this piece of top quality engineering, you can either
19[download the hex file][hex] we have prepared for you, or you can compile it on
20your own:
21
22 [hex]: https://raw.githubusercontent.com/algernon/ergodox-supercoder/master/supercoder.hex
23
24```
25$ git clone https://github.com/qmk/qmk_firmware.git
26$ cd qmk_firmware/keyboards/ergodox
27$ git clone https://github.com/algernon/ergodox-supercoder.git keymaps/supercoder
28$ make LAYOUT_ergodox=supercoder
29```