]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Win10 Writer's Block - An ErgoDox Keymap
authorh-parks <harrison.m.parks@gmail.com>
Wed, 19 Oct 2016 14:33:37 +0000 (09:33 -0500)
committerGitHub <noreply@github.com>
Wed, 19 Oct 2016 14:33:37 +0000 (09:33 -0500)
fix for compiling on infinity:

replaced `_delay_ms()' with `wait_ms()'
included "wait.h"

keyboards/ergodox/keymaps/win10_writers-block/keymap.c
keyboards/ergodox/keymaps/win10_writers-block/readme.md

index 1821147ebb11780a70f2137f150559a2292626d6..ea640ee96f91353cdb52748f2d7bac1ac0643b21 100644 (file)
@@ -2,6 +2,7 @@
 #include "debug.h"\r
 #include "action_layer.h"\r
 #include "version.h"\r
+#include "wait.h"\r
 \r
 #define BASE 0 // default layer  -  helpful for writing in Office-style word processors. \r
 #define SYMB 1 // symbol layer   -  NumPad, etc. - same as Ergodox EZ default but no EEPROM or Version key \r
@@ -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.\r
 void matrix_init_user(void) {\r
 \r
-  _delay_ms(500);\r
+  wait_ms(500);\r
   ergodox_board_led_on();\r
-  _delay_ms(200);\r
+  wait_ms(200);\r
   ergodox_right_led_1_on();\r
-  _delay_ms(200);\r
+  wait_ms(200);\r
   ergodox_right_led_2_on();\r
-  _delay_ms(200);\r
+  wait_ms(200);\r
   ergodox_right_led_3_on();\r
-  _delay_ms(200);\r
+  wait_ms(200);\r
   ergodox_board_led_off();\r
-  _delay_ms(200);\r
+  wait_ms(200);\r
   ergodox_right_led_1_off();\r
-  _delay_ms(200);\r
+  wait_ms(200);\r
   ergodox_right_led_2_off();\r
-  _delay_ms(200);\r
+  wait_ms(200);\r
   ergodox_right_led_3_off();\r
 \r
 };\r
index b9c3eb879ae3bf2c91d29d4c70c0d80cc070b3c2..66b1aaf40dca7cf40b4e5f796cd220d524f2d461 100644 (file)
@@ -6,7 +6,9 @@ Win10 Writer's Block ErgoDox - v1.0
 \r
 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.\r
 \r
-I earn a living as a copywriter. I use my ErgoDox as a daily driver at my office.\r
+Professional writers may find this layout useful -- copywriters, technical writers, novelists, etc.  \r
+\r
+I use my ErgoDox with this keymap as a daily driver at my office.\r
 \r
 A gaming layer is unobtrusively built into this layout. I use that layer to play RimWorld. \r
 \r