[Keymap] Add nfriend's ErgoDox EZ keymap (#10545)
This commit is contained in:
parent
5edce6ba26
commit
bb9fbd66e9
5 changed files with 1279 additions and 0 deletions
31
keyboards/ergodox_ez/keymaps/nfriend/config.h
Normal file
31
keyboards/ergodox_ez/keymaps/nfriend/config.h
Normal file
|
@ -0,0 +1,31 @@
|
|||
/* Copyright (C) 2020 Nathan Friend
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#define NO_ACTION_MACRO
|
||||
#define NO_ACTION_FUNCTION
|
||||
|
||||
#undef DEBOUNCE
|
||||
#define DEBOUNCE 15
|
||||
|
||||
#undef ONESHOT_TIMEOUT
|
||||
#define ONESHOT_TIMEOUT 1003
|
||||
|
||||
#define PERMISSIVE_HOLD
|
||||
|
||||
#undef IGNORE_MOD_TAP_INTERRUPT
|
||||
|
||||
#define RGBLIGHT_SLEEP
|
1096
keyboards/ergodox_ez/keymaps/nfriend/keymap.c
Normal file
1096
keyboards/ergodox_ez/keymaps/nfriend/keymap.c
Normal file
File diff suppressed because it is too large
Load diff
52
keyboards/ergodox_ez/keymaps/nfriend/readme.md
Normal file
52
keyboards/ergodox_ez/keymaps/nfriend/readme.md
Normal file
|
@ -0,0 +1,52 @@
|
|||
# [nfriend](https://gitlab.com/nfriend)'s ErgoDox EZ configuration
|
||||
|
||||
![nfriend's ErgoDox EZ keymap](https://i.imgur.com/CMMmdBc.png)
|
||||
|
||||
[View this keymap on
|
||||
keyboard-layout-editor.com.](http://www.keyboard-layout-editor.com/#/gists/01283b322a647c96ef75955a9b0bac68)
|
||||
|
||||
Color legend:
|
||||
|
||||
- **Black:** Primary layer.
|
||||
- **Blue:** Symbol layer. Accessed by holding either of the <kbd>to sym</kbd>
|
||||
keys on either end of the keyboard.
|
||||
- **Green:** Numpad layer. Accessed by holding the <kbd>to numpad</kbd> key.
|
||||
- **Red:** Arrow layer. Accessed by holding either of the <kbd>to arrows</kbd>
|
||||
thumb keys.
|
||||
- **Teal:** Window management layer. Accessed by holding either of the <kbd>to
|
||||
WM</kbd> thumb keys.
|
||||
- Note: this layer is not pictured on this keymap since is tightly coupled
|
||||
to [Magnet](https://magnet.crowdcafe.com/).
|
||||
- **Yellow:** Miscellaneous layer. Includes LED control, layout toggling
|
||||
(Colemak/Dvorak/QWERTY), platform toggling (Windows/Mac), and other
|
||||
experimental features.
|
||||
- Note: this layer is only partially pictured on this keymap
|
||||
|
||||
## Caveats
|
||||
|
||||
In its current state, this keymap is fairly Mac-centric. Some of the features
|
||||
implemented in the Mac layers have not yet been ported to the corresponding
|
||||
Windows layers.
|
||||
|
||||
## Building
|
||||
|
||||
To build this layout, open a command window in the root directory of this
|
||||
repository and run:
|
||||
|
||||
```bash
|
||||
make ergodox_ez:nfriend
|
||||
```
|
||||
|
||||
This will create a `.build/ergodox_ez_nfriend.hex` file which can be flashed
|
||||
using the [Teensy loader](https://www.pjrc.com/teensy/loader.html). After the
|
||||
`.hex` file has been loaded into Teensy, the keyboard can be reprogrammed by
|
||||
pressing the bottom-right key of the right half of the keyboard and the
|
||||
top-right key of the left half (the <kbd>RESET</kbd> key in the screenshot
|
||||
above).
|
||||
|
||||
## Developing
|
||||
|
||||
Use the template in `./template.c` to help create new layers quickly.
|
||||
|
||||
This layout was originally based on [this EZ Configurator
|
||||
configuration](https://configure.ergodox-ez.com/ergodox-ez/layouts/x9MWL/latest/0).
|
8
keyboards/ergodox_ez/keymaps/nfriend/rules.mk
Normal file
8
keyboards/ergodox_ez/keymaps/nfriend/rules.mk
Normal file
|
@ -0,0 +1,8 @@
|
|||
# Set any rules.mk overrides for your specific keymap here.
|
||||
# See rules at https://docs.qmk.fm/#/config_options?id=the-rulesmk-file
|
||||
DEBOUNCE_TYPE = eager_pk
|
||||
LTO_ENABLE = yes
|
||||
COMMAND_ENABLE = no
|
||||
UNICODE_ENABLE = no
|
||||
UNICODEMAP_ENABLE = no
|
||||
DYNAMIC_MACRO_ENABLE = yes
|
92
keyboards/ergodox_ez/keymaps/nfriend/template.c
Normal file
92
keyboards/ergodox_ez/keymaps/nfriend/template.c
Normal file
|
@ -0,0 +1,92 @@
|
|||
/* Copyright (C) 2020 Nathan Friend
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* clang-format off */
|
||||
|
||||
[LAYER_NAME] = LAYOUT_ergodox(
|
||||
/* Left hand */
|
||||
|
||||
/*=========================================================================================================*/
|
||||
/**/ /**/ /**/ /**/ /**/ /**/ /**/ /**/
|
||||
/**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/
|
||||
/**/ /**/ /**/ /**/ /**/ /**/ /**/ /**/
|
||||
/*=========================================================================================================*/
|
||||
/**/ /**/ /**/ /**/ /**/ /**/ /**/ /**/
|
||||
/**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/
|
||||
/**/ /**/ /**/ /**/ /**/ /**/ /**/ /**/
|
||||
/*==========================================================================================*/ /**/
|
||||
/**/ /**/ /**/ /**/ /**/ /**/ /**/ /**/
|
||||
/**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/ _______, /*===============*/
|
||||
/**/ /**/ /**/ /**/ /**/ /**/ /**/ /**/
|
||||
/*==========================================================================================*/ /**/
|
||||
/**/ /**/ /**/ /**/ /**/ /**/ /**/ /**/
|
||||
/**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/
|
||||
/**/ /**/ /**/ /**/ /**/ /**/ /**/ /**/
|
||||
/*=========================================================================================================*/
|
||||
/**/ /**/ /**/ /**/ /**/ /**/
|
||||
/**/ ___, /**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/
|
||||
/**/ /**/ /**/ /**/ /**/ /**/
|
||||
/*=======================================================================*/
|
||||
/*==============================*/
|
||||
/**/ /**/ /**/
|
||||
/**/ _______, /**/ _______, /**/
|
||||
/**/ /**/ /**/
|
||||
/*=============================================*/
|
||||
/**/ /**/ /**/ /**/
|
||||
/**/ /**/ /**/ _______, /**/
|
||||
/**/ /**/ /**/ /**/
|
||||
/**/ /**/ /*===============*/
|
||||
/**/ /**/ /**/ /**/
|
||||
/**/ _______, /**/ _______, /**/ _______, /**/
|
||||
/**/ /**/ /**/ /**/
|
||||
/*=============================================*/
|
||||
/* Right hand */
|
||||
|
||||
/*=========================================================================================================*/
|
||||
/**/ /**/ /**/ /**/ /**/ /**/ /**/ /**/
|
||||
/**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/
|
||||
/**/ /**/ /**/ /**/ /**/ /**/ /**/ /**/
|
||||
/*=========================================================================================================*/
|
||||
/**/ /**/ /**/ /**/ /**/ /**/ /**/ /**/
|
||||
/**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/
|
||||
/**/ /**/ /**/ /**/ /**/ /**/ /**/ /**/
|
||||
/**/ /*==========================================================================================*/
|
||||
/**/ /**/ /**/ /**/ /**/ /**/ /**/ /**/
|
||||
/*===============*/ _______, /**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/
|
||||
/**/ /**/ /**/ /**/ /**/ /**/ /**/ /**/
|
||||
/**/ /*==========================================================================================*/
|
||||
/**/ /**/ /**/ /**/ /**/ /**/ /**/ /**/
|
||||
/**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/
|
||||
/**/ /**/ /**/ /**/ /**/ /**/ /**/ /**/
|
||||
/*=========================================================================================================*/
|
||||
/**/ /**/ /**/ /**/ /**/ /**/
|
||||
/**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/ ___, /**/
|
||||
/**/ /**/ /**/ /**/ /**/ /**/
|
||||
/*=======================================================================*/
|
||||
/*==============================*/
|
||||
/**/ /**/ /**/
|
||||
/**/ _______, /**/ _______, /**/
|
||||
/**/ /**/ /**/
|
||||
/*=============================================*/
|
||||
/**/ /**/ /**/ /**/
|
||||
/**/ _______, /**/ /**/ /**/
|
||||
/**/ /**/ /**/ /**/
|
||||
/*===============*/ /**/ /**/
|
||||
/**/ /**/ /**/ /**/
|
||||
/**/ _______, /**/ _______, /**/ _______ /**/
|
||||
/**/ /**/ /**/ /**/
|
||||
/*=============================================*/
|
||||
),
|
Loading…
Reference in a new issue