1
0
Fork 0

Win10 Writer's Block - An ErgoDox Keymap

fix for compiling on infinity:

replaced `_delay_ms()' with `wait_ms()'
included "wait.h"
This commit is contained in:
h-parks 2016-10-19 09:33:37 -05:00 committed by GitHub
parent 1688c014cc
commit f2197611c7
2 changed files with 12 additions and 9 deletions

View file

@ -2,6 +2,7 @@
#include "debug.h" #include "debug.h"
#include "action_layer.h" #include "action_layer.h"
#include "version.h" #include "version.h"
#include "wait.h"
#define BASE 0 // default layer - helpful for writing in Office-style word processors. #define BASE 0 // default layer - helpful for writing in Office-style word processors.
#define SYMB 1 // symbol layer - NumPad, etc. - same as Ergodox EZ default but no EEPROM or Version key #define SYMB 1 // symbol layer - NumPad, etc. - same as Ergodox EZ default but no EEPROM or Version key
@ -276,21 +277,21 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
// Tests LED function when the keyboard initializes. // Tests LED function when the keyboard initializes.
void matrix_init_user(void) { void matrix_init_user(void) {
_delay_ms(500); wait_ms(500);
ergodox_board_led_on(); ergodox_board_led_on();
_delay_ms(200); wait_ms(200);
ergodox_right_led_1_on(); ergodox_right_led_1_on();
_delay_ms(200); wait_ms(200);
ergodox_right_led_2_on(); ergodox_right_led_2_on();
_delay_ms(200); wait_ms(200);
ergodox_right_led_3_on(); ergodox_right_led_3_on();
_delay_ms(200); wait_ms(200);
ergodox_board_led_off(); ergodox_board_led_off();
_delay_ms(200); wait_ms(200);
ergodox_right_led_1_off(); ergodox_right_led_1_off();
_delay_ms(200); wait_ms(200);
ergodox_right_led_2_off(); ergodox_right_led_2_off();
_delay_ms(200); wait_ms(200);
ergodox_right_led_3_off(); ergodox_right_led_3_off();
}; };

View file

@ -6,7 +6,9 @@ Win10 Writer's Block ErgoDox - v1.0
This is a QWERTY layout for QMK. It's designed to work well in MS Office-like environments. It's tested on Windows 7 and 10. This is a QWERTY layout for QMK. It's designed to work well in MS Office-like environments. It's tested on Windows 7 and 10.
I earn a living as a copywriter. I use my ErgoDox as a daily driver at my office. Professional writers may find this layout useful -- copywriters, technical writers, novelists, etc.
I use my ErgoDox with this keymap as a daily driver at my office.
A gaming layer is unobtrusively built into this layout. I use that layer to play RimWorld. A gaming layer is unobtrusively built into this layout. I use that layer to play RimWorld.