diff options
| author | Jack Humbert <jack.humb@gmail.com> | 2015-10-25 21:40:56 -0400 |
|---|---|---|
| committer | Jack Humbert <jack.humb@gmail.com> | 2015-10-25 21:40:56 -0400 |
| commit | ff8d8a50dfbb8502003a5181878c54a71b8c57d5 (patch) | |
| tree | a3c8d93d831a69b5ef7cd04173d41c7810e24335 /keyboard/planck | |
| parent | 61fea81a2469da4db9f161c7d4bdf90fe66a3dd2 (diff) | |
| download | qmk_firmware-ff8d8a50dfbb8502003a5181878c54a71b8c57d5.tar.gz qmk_firmware-ff8d8a50dfbb8502003a5181878c54a71b8c57d5.zip | |
fixes for bluetooth without usb
Diffstat (limited to 'keyboard/planck')
| -rw-r--r-- | keyboard/planck/keymap_common.h | 68 | ||||
| -rw-r--r-- | keyboard/planck/keymap_french.h | 2 | ||||
| -rw-r--r-- | keyboard/planck/keymap_nordic.h | 4 | ||||
| -rw-r--r-- | keyboard/planck/keymap_spanish.h | 4 |
4 files changed, 5 insertions, 73 deletions
diff --git a/keyboard/planck/keymap_common.h b/keyboard/planck/keymap_common.h index 73df8424a..21908a2be 100644 --- a/keyboard/planck/keymap_common.h +++ b/keyboard/planck/keymap_common.h | |||
| @@ -78,74 +78,6 @@ extern const uint16_t fn_actions[]; | |||
| 78 | #define S(kc) LSFT(kc) | 78 | #define S(kc) LSFT(kc) |
| 79 | #define F(kc) FUNC(kc) | 79 | #define F(kc) FUNC(kc) |
| 80 | 80 | ||
| 81 | // For software implementation of colemak | ||
| 82 | #define CM_Q KC_Q | ||
| 83 | #define CM_W KC_W | ||
| 84 | #define CM_F KC_E | ||
| 85 | #define CM_P KC_R | ||
| 86 | #define CM_G KC_T | ||
| 87 | #define CM_J KC_Y | ||
| 88 | #define CM_L KC_U | ||
| 89 | #define CM_U KC_I | ||
| 90 | #define CM_Y KC_O | ||
| 91 | #define CM_SCLN KC_P | ||
| 92 | |||
| 93 | #define CM_A KC_A | ||
| 94 | #define CM_R KC_S | ||
| 95 | #define CM_S KC_D | ||
| 96 | #define CM_T KC_F | ||
| 97 | #define CM_D KC_G | ||
| 98 | #define CM_H KC_H | ||
| 99 | #define CM_N KC_J | ||
| 100 | #define CM_E KC_K | ||
| 101 | #define CM_I KC_L | ||
| 102 | #define CM_O KC_SCLN | ||
| 103 | |||
| 104 | #define CM_Z KC_Z | ||
| 105 | #define CM_X KC_X | ||
| 106 | #define CM_C KC_C | ||
| 107 | #define CM_V KC_V | ||
| 108 | #define CM_B KC_B | ||
| 109 | #define CM_K KC_N | ||
| 110 | #define CM_M KC_M | ||
| 111 | #define CM_COMM KC_COMM | ||
| 112 | #define CM_DOT KC_DOT | ||
| 113 | #define CM_SLSH KC_SLSH | ||
| 114 | |||
| 115 | // Make it easy to support these in macros | ||
| 116 | #define KC_CM_Q CM_Q | ||
| 117 | #define KC_CM_W CM_W | ||
| 118 | #define KC_CM_F CM_F | ||
| 119 | #define KC_CM_P CM_P | ||
| 120 | #define KC_CM_G CM_G | ||
| 121 | #define KC_CM_J CM_J | ||
| 122 | #define KC_CM_L CM_L | ||
| 123 | #define KC_CM_U CM_U | ||
| 124 | #define KC_CM_Y CM_Y | ||
| 125 | #define KC_CM_SCLN CM_SCLN | ||
| 126 | |||
| 127 | #define KC_CM_A CM_A | ||
| 128 | #define KC_CM_R CM_R | ||
| 129 | #define KC_CM_S CM_S | ||
| 130 | #define KC_CM_T CM_T | ||
| 131 | #define KC_CM_D CM_D | ||
| 132 | #define KC_CM_H CM_H | ||
| 133 | #define KC_CM_N CM_N | ||
| 134 | #define KC_CM_E CM_E | ||
| 135 | #define KC_CM_I CM_I | ||
| 136 | #define KC_CM_O CM_O | ||
| 137 | |||
| 138 | #define KC_CM_Z CM_Z | ||
| 139 | #define KC_CM_X CM_X | ||
| 140 | #define KC_CM_C CM_C | ||
| 141 | #define KC_CM_V CM_V | ||
| 142 | #define KC_CM_B CM_B | ||
| 143 | #define KC_CM_K CM_K | ||
| 144 | #define KC_CM_M CM_M | ||
| 145 | #define KC_CM_COMM CM_COMM | ||
| 146 | #define KC_CM_DOT CM_DOT | ||
| 147 | #define KC_CM_SLSH CM_SLSH | ||
| 148 | |||
| 149 | #define M(kc) kc | 0x3000 | 81 | #define M(kc) kc | 0x3000 |
| 150 | 82 | ||
| 151 | #define MACRODOWN(...) (record->event.pressed ? MACRO(__VA_ARGS__) : MACRO_NONE) | 83 | #define MACRODOWN(...) (record->event.pressed ? MACRO(__VA_ARGS__) : MACRO_NONE) |
diff --git a/keyboard/planck/keymap_french.h b/keyboard/planck/keymap_french.h index 71c8033c2..ccfaed8f0 100644 --- a/keyboard/planck/keymap_french.h +++ b/keyboard/planck/keymap_french.h | |||
| @@ -14,7 +14,7 @@ | |||
| 14 | #define FR_QUOT KC_3 | 14 | #define FR_QUOT KC_3 |
| 15 | #define FR_APOS KC_4 | 15 | #define FR_APOS KC_4 |
| 16 | #define FR_LPRN KC_5 | 16 | #define FR_LPRN KC_5 |
| 17 | #define FR_DASH KC_6 | 17 | #define FR_MINS KC_6 |
| 18 | #define FR_EGRV KC_7 | 18 | #define FR_EGRV KC_7 |
| 19 | #define FR_UNDS KC_8 | 19 | #define FR_UNDS KC_8 |
| 20 | #define FR_CCED KC_9 | 20 | #define FR_CCED KC_9 |
diff --git a/keyboard/planck/keymap_nordic.h b/keyboard/planck/keymap_nordic.h index 56ae8b63b..02a704216 100644 --- a/keyboard/planck/keymap_nordic.h +++ b/keyboard/planck/keymap_nordic.h | |||
| @@ -19,7 +19,7 @@ | |||
| 19 | #define NO_APOS KC_NUHS | 19 | #define NO_APOS KC_NUHS |
| 20 | 20 | ||
| 21 | #define NO_LESS KC_NUBS | 21 | #define NO_LESS KC_NUBS |
| 22 | #define NO_DASH KC_SLSH | 22 | #define NO_MINS KC_SLSH |
| 23 | 23 | ||
| 24 | // Shifted characters | 24 | // Shifted characters |
| 25 | #define NO_SECT LSFT(NO_HALF) | 25 | #define NO_SECT LSFT(NO_HALF) |
| @@ -38,7 +38,7 @@ | |||
| 38 | #define NO_GRTR LSFT(NO_LESS) | 38 | #define NO_GRTR LSFT(NO_LESS) |
| 39 | #define NO_SCLN LSFT(KC_COMM) | 39 | #define NO_SCLN LSFT(KC_COMM) |
| 40 | #define NO_COLN LSFT(KC_DOT) | 40 | #define NO_COLN LSFT(KC_DOT) |
| 41 | #define NO_UNDS LSFT(NO_DASH) | 41 | #define NO_UNDS LSFT(NO_MINS) |
| 42 | 42 | ||
| 43 | // Alt Gr-ed characters | 43 | // Alt Gr-ed characters |
| 44 | #define NO_AT ALGR(KC_2) | 44 | #define NO_AT ALGR(KC_2) |
diff --git a/keyboard/planck/keymap_spanish.h b/keyboard/planck/keymap_spanish.h index 50bcb999b..7f980afbc 100644 --- a/keyboard/planck/keymap_spanish.h +++ b/keyboard/planck/keymap_spanish.h | |||
| @@ -20,7 +20,7 @@ | |||
| 20 | #define ES_CCED KC_NUHS | 20 | #define ES_CCED KC_NUHS |
| 21 | 21 | ||
| 22 | #define ES_LESS KC_NUBS | 22 | #define ES_LESS KC_NUBS |
| 23 | #define ES_DASH KC_SLSH | 23 | #define ES_MINS KC_SLSH |
| 24 | 24 | ||
| 25 | // Shifted characters | 25 | // Shifted characters |
| 26 | #define ES_ASML LSFT(ES_OVRR) | 26 | #define ES_ASML LSFT(ES_OVRR) |
| @@ -42,7 +42,7 @@ | |||
| 42 | #define ES_GRTR LSFT(ES_LESS) | 42 | #define ES_GRTR LSFT(ES_LESS) |
| 43 | #define ES_SCLN LSFT(ES_COMM) | 43 | #define ES_SCLN LSFT(ES_COMM) |
| 44 | #define ES_COLN LSFT(ES_DOT) | 44 | #define ES_COLN LSFT(ES_DOT) |
| 45 | #define ES_UNDS LSFT(ES_DASH) | 45 | #define ES_UNDS LSFT(ES_MINS) |
| 46 | 46 | ||
| 47 | // Alt Gr-ed characters | 47 | // Alt Gr-ed characters |
| 48 | #define ES_BSLS ALGR(ES_OVRR) | 48 | #define ES_BSLS ALGR(ES_OVRR) |
