diff options
| author | Konstantin Đorđević <vomindoraan@gmail.com> | 2019-03-19 22:33:44 +0100 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2019-03-19 14:33:44 -0700 |
| commit | 6a4884e3bdc157a00718eb157f72489c1adf30e0 (patch) | |
| tree | e7a03e98a58bc5869aca57be62544e6008ec2349 /keyboards/georgi | |
| parent | 0072fdd799ffe61bf64f12c23335da3adeb083e5 (diff) | |
| download | qmk_firmware-6a4884e3bdc157a00718eb157f72489c1adf30e0.tar.gz qmk_firmware-6a4884e3bdc157a00718eb157f72489c1adf30e0.zip | |
[Keyboard] Remove unnecessary IS_COMMAND definitions from a couple of boards (#5269)
* Remove unnecessary IS_COMMAND definition from clueboard/66_hotswap/gen1
* Remove old-style IS_COMMAND definition comment from dozen0
* Use get_mods() instead of keyboard_report->mods in georgi
Diffstat (limited to 'keyboards/georgi')
| -rw-r--r-- | keyboards/georgi/config.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/georgi/config.h b/keyboards/georgi/config.h index 041567719..b35762fbc 100644 --- a/keyboards/georgi/config.h +++ b/keyboards/georgi/config.h | |||
| @@ -66,8 +66,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 66 | 66 | ||
| 67 | /* key combination for command */ | 67 | /* key combination for command */ |
| 68 | #define IS_COMMAND() ( \ | 68 | #define IS_COMMAND() ( \ |
| 69 | keyboard_report->mods == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \ | 69 | get_mods() == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \ |
| 70 | keyboard_report->mods == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \ | 70 | get_mods() == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \ |
| 71 | ) | 71 | ) |
| 72 | 72 | ||
| 73 | #define DEBOUNCE 5 | 73 | #define DEBOUNCE 5 |
