aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorh-parks <harrison.m.parks@gmail.com>2016-10-19 09:33:37 -0500
committerGitHub <noreply@github.com>2016-10-19 09:33:37 -0500
commitf2197611c7d57f01b95d268e919221f87407a4df (patch)
tree4dab88d725fc6d234f35644b6e06b909287cb9a6
parent1688c014ccc89fc46538c7b9f80cb09126904a4f (diff)
downloadqmk_firmware-f2197611c7d57f01b95d268e919221f87407a4df.tar.gz
qmk_firmware-f2197611c7d57f01b95d268e919221f87407a4df.zip
Win10 Writer's Block - An ErgoDox Keymap
fix for compiling on infinity: replaced `_delay_ms()' with `wait_ms()' included "wait.h"
-rw-r--r--keyboards/ergodox/keymaps/win10_writers-block/keymap.c17
-rw-r--r--keyboards/ergodox/keymaps/win10_writers-block/readme.md4
2 files changed, 12 insertions, 9 deletions
diff --git a/keyboards/ergodox/keymaps/win10_writers-block/keymap.c b/keyboards/ergodox/keymaps/win10_writers-block/keymap.c
index 1821147eb..ea640ee96 100644
--- a/keyboards/ergodox/keymaps/win10_writers-block/keymap.c
+++ b/keyboards/ergodox/keymaps/win10_writers-block/keymap.c
@@ -2,6 +2,7 @@
2#include "debug.h" 2#include "debug.h"
3#include "action_layer.h" 3#include "action_layer.h"
4#include "version.h" 4#include "version.h"
5#include "wait.h"
5 6
6#define BASE 0 // default layer - helpful for writing in Office-style word processors. 7#define BASE 0 // default layer - helpful for writing in Office-style word processors.
7#define SYMB 1 // symbol layer - NumPad, etc. - same as Ergodox EZ default but no EEPROM or Version key 8#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)
276// Tests LED function when the keyboard initializes. 277// Tests LED function when the keyboard initializes.
277void matrix_init_user(void) { 278void matrix_init_user(void) {
278 279
279 _delay_ms(500); 280 wait_ms(500);
280 ergodox_board_led_on(); 281 ergodox_board_led_on();
281 _delay_ms(200); 282 wait_ms(200);
282 ergodox_right_led_1_on(); 283 ergodox_right_led_1_on();
283 _delay_ms(200); 284 wait_ms(200);
284 ergodox_right_led_2_on(); 285 ergodox_right_led_2_on();
285 _delay_ms(200); 286 wait_ms(200);
286 ergodox_right_led_3_on(); 287 ergodox_right_led_3_on();
287 _delay_ms(200); 288 wait_ms(200);
288 ergodox_board_led_off(); 289 ergodox_board_led_off();
289 _delay_ms(200); 290 wait_ms(200);
290 ergodox_right_led_1_off(); 291 ergodox_right_led_1_off();
291 _delay_ms(200); 292 wait_ms(200);
292 ergodox_right_led_2_off(); 293 ergodox_right_led_2_off();
293 _delay_ms(200); 294 wait_ms(200);
294 ergodox_right_led_3_off(); 295 ergodox_right_led_3_off();
295 296
296}; 297};
diff --git a/keyboards/ergodox/keymaps/win10_writers-block/readme.md b/keyboards/ergodox/keymaps/win10_writers-block/readme.md
index b9c3eb879..66b1aaf40 100644
--- a/keyboards/ergodox/keymaps/win10_writers-block/readme.md
+++ b/keyboards/ergodox/keymaps/win10_writers-block/readme.md
@@ -6,7 +6,9 @@ Win10 Writer's Block ErgoDox - v1.0
6 6
7This 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. 7This 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.
8 8
9I earn a living as a copywriter. I use my ErgoDox as a daily driver at my office. 9Professional writers may find this layout useful -- copywriters, technical writers, novelists, etc.
10
11I use my ErgoDox with this keymap as a daily driver at my office.
10 12
11A gaming layer is unobtrusively built into this layout. I use that layer to play RimWorld. 13A gaming layer is unobtrusively built into this layout. I use that layer to play RimWorld.
12 14