[Keymap] Add nfriend's ErgoDox EZ keymap (#10545)

master
Nathan Friend 2020-11-15 13:57:34 -05:00 committed by GitHub
parent 5edce6ba26
commit bb9fbd66e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 1279 additions and 0 deletions

View 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

File diff suppressed because it is too large Load Diff

View 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).

View 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

View 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 */
/*=========================================================================================================*/
/**/ /**/ /**/ /**/ /**/ /**/ /**/ /**/
/**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/
/**/ /**/ /**/ /**/ /**/ /**/ /**/ /**/
/*=========================================================================================================*/
/**/ /**/ /**/ /**/ /**/ /**/ /**/ /**/
/**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/
/**/ /**/ /**/ /**/ /**/ /**/ /**/ /**/
/**/ /*==========================================================================================*/
/**/ /**/ /**/ /**/ /**/ /**/ /**/ /**/
/*===============*/ _______, /**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/
/**/ /**/ /**/ /**/ /**/ /**/ /**/ /**/
/**/ /*==========================================================================================*/
/**/ /**/ /**/ /**/ /**/ /**/ /**/ /**/
/**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/
/**/ /**/ /**/ /**/ /**/ /**/ /**/ /**/
/*=========================================================================================================*/
/**/ /**/ /**/ /**/ /**/ /**/
/**/ _______, /**/ _______, /**/ _______, /**/ _______, /**/ ___, /**/
/**/ /**/ /**/ /**/ /**/ /**/
/*=======================================================================*/
/*==============================*/
/**/ /**/ /**/
/**/ _______, /**/ _______, /**/
/**/ /**/ /**/
/*=============================================*/
/**/ /**/ /**/ /**/
/**/ _______, /**/ /**/ /**/
/**/ /**/ /**/ /**/
/*===============*/ /**/ /**/
/**/ /**/ /**/ /**/
/**/ _______, /**/ _______, /**/ _______ /**/
/**/ /**/ /**/ /**/
/*=============================================*/
),