diff options
author | noroadsleft <18669334+noroadsleft@users.noreply.github.com> | 2019-09-17 10:34:52 -0700 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-09-17 10:34:52 -0700 |
commit | 86d59f1034785b9cd8cc2bfcce7016cd97d041e9 (patch) | |
tree | 38674436c41e594590e58557f64b82351488f812 /keyboards/kbdfans/kbd75/kbd75.h | |
parent | c427023b31f544771391b4cd22d797ee14cadac3 (diff) |
[Keyboard] KBD75 refactor (#6755)
* convert codebase to #pragma once
* fix file includes
- quantum.h is included at keyboard level, redundant at revision level
- keyboard-level path is accessible at revision level, remove relative pathing
* duplicate common layout macros from rev1 to rev2
Add the layout macros supported by both rev1 and rev2 to rev2.h directly, which exposes these layouts to QMK Configurator.
* enable community layout support (75_ansi, 75_iso)
* add LAYOUT_75_iso layout data
It needs its own tree because its keys are in a different order from LAYOUT_iso_1u even though the physical layout is the same.
* minimize rules.mk files (use QMK defaults)
* use atmel-dfu bootloader rule
* fix typo on rev1 info.json
Diffstat (limited to 'keyboards/kbdfans/kbd75/kbd75.h')
-rw-r--r-- | keyboards/kbdfans/kbd75/kbd75.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/keyboards/kbdfans/kbd75/kbd75.h b/keyboards/kbdfans/kbd75/kbd75.h index ad8706ba97..e412242878 100644 --- a/keyboards/kbdfans/kbd75/kbd75.h +++ b/keyboards/kbdfans/kbd75/kbd75.h @@ -2,12 +2,8 @@ #include "quantum.h" -#ifdef KEYBOARD_kbdfans_kbd75_rev1 +#if defined(KEYBOARD_kbdfans_kbd75_rev1) #include "rev1.h" -#endif - -#ifdef KEYBOARD_kbdfans_kbd75_rev2 - #include "../rev1/rev1.h" +#elif defined(KEYBOARD_kbdfans_kbd75_rev2) #include "rev2.h" #endif - |