ergodox_ez: Add a SuperCoder keymap
Inspired by @faxm0dem, and the SuperCoder 2000 "keyboard". Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
This commit is contained in:
parent
5501f231d4
commit
037b3f0ddf
7 changed files with 119 additions and 0 deletions
29
keyboard/ergodox_ez/keymaps/supercoder/README.md
Normal file
29
keyboard/ergodox_ez/keymaps/supercoder/README.md
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
SuperCoder 2000 layout for the ErgoDox
|
||||||
|
==================================================
|
||||||
|
|
||||||
|
![SuperCoder 2000](images/supercoder_2000.jpg)
|
||||||
|
|
||||||
|
Ever found yourself in need of entering binary codes rapidly? Ever wanted to use
|
||||||
|
all ten fingers to do so? Ever felt your SuperCoder 2000 too limiting, by only
|
||||||
|
having three buttons? We heard you! With this layout for the ErgoDox EZ, you
|
||||||
|
will be able to tap in binary at an unparalleled speed and accuracy! Efficiency
|
||||||
|
never seen before!
|
||||||
|
|
||||||
|
Behold the Ultimate SuperCoder 2000 layout!
|
||||||
|
|
||||||
|
![SuperCoder layout](images/layout.png)
|
||||||
|
|
||||||
|
### To use it...
|
||||||
|
|
||||||
|
To use this piece of top quality engineering, you can either
|
||||||
|
[download the hex file][hex] we have prepared for you, or you can compile it on
|
||||||
|
your own:
|
||||||
|
|
||||||
|
[hex]: https://raw.githubusercontent.com/algernon/ergodox-supercoder/master/supercoder.hex
|
||||||
|
|
||||||
|
```
|
||||||
|
$ git clone https://github.com/jackhumbert/qmk_firmware.git
|
||||||
|
$ cd qmk_firmware/keyboard/ergodox_ez
|
||||||
|
$ git clone https://github.com/algernon/ergodox-supercoder.git keymaps/supercoder
|
||||||
|
$ make KEYMAP=supercoder
|
||||||
|
```
|
9
keyboard/ergodox_ez/keymaps/supercoder/config_user.h
Normal file
9
keyboard/ergodox_ez/keymaps/supercoder/config_user.h
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
#ifndef CONFIG_USER_H
|
||||||
|
#define CONFIG_USER_H 1
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
|
|
||||||
|
#undef LOCKING_SUPPORT_ENABLE
|
||||||
|
#undef LOCKING_RESYNC_ENABLE
|
||||||
|
|
||||||
|
#endif
|
BIN
keyboard/ergodox_ez/keymaps/supercoder/images/layout.png
Normal file
BIN
keyboard/ergodox_ez/keymaps/supercoder/images/layout.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 64 KiB |
Binary file not shown.
After Width: | Height: | Size: 74 KiB |
75
keyboard/ergodox_ez/keymaps/supercoder/keymap.c
Normal file
75
keyboard/ergodox_ez/keymaps/supercoder/keymap.c
Normal file
|
@ -0,0 +1,75 @@
|
||||||
|
/*
|
||||||
|
* SuperCoder 2000 layout
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "ergodox_ez.h"
|
||||||
|
|
||||||
|
/* Layers */
|
||||||
|
|
||||||
|
#define SC2K 0 // default layer
|
||||||
|
|
||||||
|
/* The Keymap */
|
||||||
|
|
||||||
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
|
/* Keymap 0: Base Layer
|
||||||
|
*
|
||||||
|
* ,-----------------------------------------------------. ,-----------------------------------------------------.
|
||||||
|
* | 0 | 0 | 0 | 0 | 0 | 0 | 0 | | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
|
||||||
|
* |-----------+------+------+------+------+-------------| |------+------+------+------+------+------+-----------|
|
||||||
|
* | 0 | 0 | 0 | 0 | 0 | 0 | 0 | | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
|
||||||
|
* |-----------+------+------+------+------+------| | | |------+------+------+------+------+-----------|
|
||||||
|
* | 0 | 0 | 0 | 0 | 0 | 0 |------| |------| 1 | 1 | 1 | 1 | 1 | 1 |
|
||||||
|
* |-----------+------+------+------+------+------| 0 | | 1 |------+------+------+------+------+-----------|
|
||||||
|
* | 0 | 0 | 0 | 0 | 0 | 0 | | | | 1 | 1 | 1 | 1 | 1 | 1 |
|
||||||
|
* `-----------+------+------+------+------+-------------' `-------------+------+------+------+------+-----------'
|
||||||
|
* | 0 | 0 | 0 | 0 | 0 | | 1 | 1 | 1 | 1 | 1 |
|
||||||
|
* `-----------------------------------' `-----------------------------------'
|
||||||
|
* ,-------------. ,-------------.
|
||||||
|
* | DONE | DONE | | DONE | DONE |
|
||||||
|
* ,------|------|------| |------+------+------.
|
||||||
|
* | | | DONE | | DONE | | |
|
||||||
|
* | DONE | DONE |------| |------| DONE | DONE |
|
||||||
|
* | | | DONE | | DONE | | |
|
||||||
|
* `--------------------' `--------------------'
|
||||||
|
*/
|
||||||
|
[SC2K] = KEYMAP(
|
||||||
|
// left hand
|
||||||
|
KC_0 ,KC_0 ,KC_0 ,KC_0 ,KC_0 ,KC_0 ,KC_0
|
||||||
|
,KC_0 ,KC_0 ,KC_0 ,KC_0 ,KC_0 ,KC_0 ,KC_0
|
||||||
|
,KC_0 ,KC_0 ,KC_0 ,KC_0 ,KC_0 ,KC_0
|
||||||
|
,KC_0 ,KC_0 ,KC_0 ,KC_0 ,KC_0 ,KC_0 ,KC_0
|
||||||
|
,KC_0 ,KC_0 ,KC_0 ,KC_0 ,KC_0
|
||||||
|
|
||||||
|
,KC_ENT ,KC_ENT
|
||||||
|
,KC_ENT
|
||||||
|
,KC_ENT ,KC_ENT ,KC_ENT
|
||||||
|
|
||||||
|
// right hand
|
||||||
|
,KC_1 ,KC_1 ,KC_1 ,KC_1 ,KC_1 ,KC_1 ,KC_1
|
||||||
|
,KC_1 ,KC_1 ,KC_1 ,KC_1 ,KC_1 ,KC_1 ,KC_1
|
||||||
|
,KC_1 ,KC_1 ,KC_1 ,KC_1 ,KC_1 ,KC_1
|
||||||
|
,KC_1 ,KC_1 ,KC_1 ,KC_1 ,KC_1 ,KC_1 ,KC_1
|
||||||
|
,KC_1 ,KC_1 ,KC_1 ,KC_1 ,KC_1
|
||||||
|
|
||||||
|
,KC_ENT ,KC_ENT
|
||||||
|
,KC_ENT
|
||||||
|
,KC_ENT ,KC_ENT ,KC_ENT
|
||||||
|
),
|
||||||
|
};
|
||||||
|
|
||||||
|
const uint16_t PROGMEM fn_actions[] = {
|
||||||
|
};
|
||||||
|
|
||||||
|
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
|
||||||
|
{
|
||||||
|
return MACRO_NONE;
|
||||||
|
};
|
||||||
|
|
||||||
|
// Runs just one time when the keyboard initializes.
|
||||||
|
void matrix_init_user(void) {
|
||||||
|
};
|
||||||
|
|
||||||
|
// Runs constantly in the background, in a loop.
|
||||||
|
void matrix_scan_user(void) {
|
||||||
|
}
|
6
keyboard/ergodox_ez/keymaps/supercoder/makefile.mk
Normal file
6
keyboard/ergodox_ez/keymaps/supercoder/makefile.mk
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
BOOTMAGIC_ENABLE=no
|
||||||
|
COMMAND_ENABLE=no
|
||||||
|
SLEEP_LED_ENABLE=no
|
||||||
|
UNICODE_ENABLE=no
|
||||||
|
MOUSEKEY_ENABLE=no
|
||||||
|
EXTRAKEY_ENABLE=no
|
BIN
keyboard/ergodox_ez/keymaps/supercoder/supercoder.hex
Normal file
BIN
keyboard/ergodox_ez/keymaps/supercoder/supercoder.hex
Normal file
Binary file not shown.
Loading…
Reference in a new issue