diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2017-04-09 20:02:45 +0200 |
---|---|---|
committer | Fred Sundvik <fsundvik@gmail.com> | 2017-04-13 15:00:29 +0200 |
commit | db6d7207b5f9026f8d265b150cf45778545095ea (patch) | |
tree | 98359270d05e63754842d3ae00e6be3006fadbcc /keyboards | |
parent | 653580477663f527f322650f6d39824cdf6cddc0 (diff) | |
download | qmk_firmware-db6d7207b5f9026f8d265b150cf45778545095ea.tar.gz qmk_firmware-db6d7207b5f9026f8d265b150cf45778545095ea.tar.xz |
Fix overflow warnings in dvorak_programmer
Diffstat (limited to 'keyboards')
-rw-r--r-- | keyboards/ergodox/keymaps/dvorak_programmer/keymap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/ergodox/keymaps/dvorak_programmer/keymap.c b/keyboards/ergodox/keymaps/dvorak_programmer/keymap.c index ae4fd444d..d299d02c3 100644 --- a/keyboards/ergodox/keymaps/dvorak_programmer/keymap.c +++ b/keyboards/ergodox/keymaps/dvorak_programmer/keymap.c @@ -311,12 +311,12 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) break; case SWITCH_NDS: if (record->event.pressed) { - return MACRO( D(LSFT), T(F11), U(LSFT), W(500), D(LALT), T(TAB), U(LALT), END); + return MACRO( D(LSFT), T(F11), U(LSFT), W(255), D(LALT), T(TAB), U(LALT), END); } break; case OPEN_CLOSE_PAREN: if (record->event.pressed) { - return MACRO( D(LSFT), T(LPRN), T(RPRN), U(LSFT), T(LEFT), END); + return MACRO( D(LSFT), T(9), T(0), U(LSFT), T(LEFT), END); } break; case OPEN_CLOSE_BRACKET: @@ -326,7 +326,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) break; case OPEN_CLOSE_CURLY: if (record->event.pressed) { - return MACRO( D(LSFT), T(LCBR), T(RCBR), U(LSFT), T(LEFT), END); + return MACRO( D(LSFT), T(LBRC), T(RBRC), U(LSFT), T(LEFT), END); } break; case OPEN_CLOSE_SINGLE_QUOTE: |