diff options
| author | Ryan <fauxpark@gmail.com> | 2023-03-11 03:00:30 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-10 16:00:30 +0000 |
| commit | 20dca46924866851a42861529ede8247c35c52e4 (patch) | |
| tree | f243a32a7c1c9410088e11f6ccc4983648557a89 /keyboards | |
| parent | dc18d9dd8531e659162e10f21af2dc4b517447bd (diff) | |
Remove pointless `USE_I2C` blocks in keyboard headers (#20084)
Diffstat (limited to 'keyboards')
34 files changed, 0 insertions, 276 deletions
diff --git a/keyboards/adkb96/rev1/rev1.h b/keyboards/adkb96/rev1/rev1.h index 4c4c7bae3c..ff893e6da6 100644 --- a/keyboards/adkb96/rev1/rev1.h +++ b/keyboards/adkb96/rev1/rev1.h | |||
| @@ -2,14 +2,6 @@ | |||
| 2 | 2 | ||
| 3 | #include "adkb96.h" | 3 | #include "adkb96.h" |
| 4 | 4 | ||
| 5 | #ifdef USE_I2C | ||
| 6 | #include <stddef.h> | ||
| 7 | #ifdef __AVR__ | ||
| 8 | #include <avr/io.h> | ||
| 9 | #include <avr/interrupt.h> | ||
| 10 | #endif | ||
| 11 | #endif | ||
| 12 | |||
| 13 | // Keymap with right side flipped | 5 | // Keymap with right side flipped |
| 14 | // (TRRS jack on both halves are to the right) | 6 | // (TRRS jack on both halves are to the right) |
| 15 | #define LAYOUT_ortho_6x16( \ | 7 | #define LAYOUT_ortho_6x16( \ |
diff --git a/keyboards/ergotravel/rev1/rev1.h b/keyboards/ergotravel/rev1/rev1.h index 2973f4d9f3..e4393cff4d 100644 --- a/keyboards/ergotravel/rev1/rev1.h +++ b/keyboards/ergotravel/rev1/rev1.h | |||
| @@ -4,14 +4,6 @@ | |||
| 4 | 4 | ||
| 5 | #include "quantum.h" | 5 | #include "quantum.h" |
| 6 | 6 | ||
| 7 | #ifdef USE_I2C | ||
| 8 | #include <stddef.h> | ||
| 9 | #ifdef __AVR__ | ||
| 10 | #include <avr/io.h> | ||
| 11 | #include <avr/interrupt.h> | ||
| 12 | #endif | ||
| 13 | #endif | ||
| 14 | |||
| 15 | #define XXX KC_NO | 7 | #define XXX KC_NO |
| 16 | 8 | ||
| 17 | #define LAYOUT( \ | 9 | #define LAYOUT( \ |
diff --git a/keyboards/handwired/dactyl_promicro/dactyl_promicro.h b/keyboards/handwired/dactyl_promicro/dactyl_promicro.h index 61dad7f538..3692a85187 100644 --- a/keyboards/handwired/dactyl_promicro/dactyl_promicro.h +++ b/keyboards/handwired/dactyl_promicro/dactyl_promicro.h | |||
| @@ -2,15 +2,6 @@ | |||
| 2 | 2 | ||
| 3 | #include "quantum.h" | 3 | #include "quantum.h" |
| 4 | 4 | ||
| 5 | #ifdef USE_I2C | ||
| 6 | #include <stddef.h> | ||
| 7 | #ifdef __AVR__ | ||
| 8 | #include <avr/io.h> | ||
| 9 | #include <avr/interrupt.h> | ||
| 10 | #endif | ||
| 11 | #endif | ||
| 12 | |||
| 13 | |||
| 14 | #define LAYOUT_6x6(\ | 5 | #define LAYOUT_6x6(\ |
| 15 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ | 6 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ |
| 16 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ | 7 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ |
diff --git a/keyboards/keebio/iris/rev1/rev1.h b/keyboards/keebio/iris/rev1/rev1.h index 19df105c2e..888ddb7a43 100644 --- a/keyboards/keebio/iris/rev1/rev1.h +++ b/keyboards/keebio/iris/rev1/rev1.h | |||
| @@ -4,14 +4,6 @@ | |||
| 4 | 4 | ||
| 5 | #include "quantum.h" | 5 | #include "quantum.h" |
| 6 | 6 | ||
| 7 | #ifdef USE_I2C | ||
| 8 | #include <stddef.h> | ||
| 9 | #ifdef __AVR__ | ||
| 10 | #include <avr/io.h> | ||
| 11 | #include <avr/interrupt.h> | ||
| 12 | #endif | ||
| 13 | #endif | ||
| 14 | |||
| 15 | #define LAYOUT( \ | 7 | #define LAYOUT( \ |
| 16 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ | 8 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ |
| 17 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ | 9 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ |
diff --git a/keyboards/keebio/iris/rev1_led/rev1_led.h b/keyboards/keebio/iris/rev1_led/rev1_led.h index 19df105c2e..888ddb7a43 100644 --- a/keyboards/keebio/iris/rev1_led/rev1_led.h +++ b/keyboards/keebio/iris/rev1_led/rev1_led.h | |||
| @@ -4,14 +4,6 @@ | |||
| 4 | 4 | ||
| 5 | #include "quantum.h" | 5 | #include "quantum.h" |
| 6 | 6 | ||
| 7 | #ifdef USE_I2C | ||
| 8 | #include <stddef.h> | ||
| 9 | #ifdef __AVR__ | ||
| 10 | #include <avr/io.h> | ||
| 11 | #include <avr/interrupt.h> | ||
| 12 | #endif | ||
| 13 | #endif | ||
| 14 | |||
| 15 | #define LAYOUT( \ | 7 | #define LAYOUT( \ |
| 16 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ | 8 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ |
| 17 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ | 9 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ |
diff --git a/keyboards/keebio/iris/rev2/rev2.h b/keyboards/keebio/iris/rev2/rev2.h index 19df105c2e..888ddb7a43 100644 --- a/keyboards/keebio/iris/rev2/rev2.h +++ b/keyboards/keebio/iris/rev2/rev2.h | |||
| @@ -4,14 +4,6 @@ | |||
| 4 | 4 | ||
| 5 | #include "quantum.h" | 5 | #include "quantum.h" |
| 6 | 6 | ||
| 7 | #ifdef USE_I2C | ||
| 8 | #include <stddef.h> | ||
| 9 | #ifdef __AVR__ | ||
| 10 | #include <avr/io.h> | ||
| 11 | #include <avr/interrupt.h> | ||
| 12 | #endif | ||
| 13 | #endif | ||
| 14 | |||
| 15 | #define LAYOUT( \ | 7 | #define LAYOUT( \ |
| 16 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ | 8 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ |
| 17 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ | 9 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ |
diff --git a/keyboards/keebio/iris/rev3/rev3.h b/keyboards/keebio/iris/rev3/rev3.h index a968c47ed6..3b4ff9f5b7 100644 --- a/keyboards/keebio/iris/rev3/rev3.h +++ b/keyboards/keebio/iris/rev3/rev3.h | |||
| @@ -3,15 +3,6 @@ | |||
| 3 | #include "iris.h" | 3 | #include "iris.h" |
| 4 | #include "quantum.h" | 4 | #include "quantum.h" |
| 5 | 5 | ||
| 6 | |||
| 7 | #ifdef USE_I2C | ||
| 8 | #include <stddef.h> | ||
| 9 | #ifdef __AVR__ | ||
| 10 | #include <avr/io.h> | ||
| 11 | #include <avr/interrupt.h> | ||
| 12 | #endif | ||
| 13 | #endif | ||
| 14 | |||
| 15 | #define LAYOUT( \ | 6 | #define LAYOUT( \ |
| 16 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ | 7 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ |
| 17 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ | 8 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ |
diff --git a/keyboards/keebio/iris/rev4/rev4.h b/keyboards/keebio/iris/rev4/rev4.h index 06e515ebc6..ea60d7a690 100644 --- a/keyboards/keebio/iris/rev4/rev4.h +++ b/keyboards/keebio/iris/rev4/rev4.h | |||
| @@ -3,14 +3,6 @@ | |||
| 3 | #include "iris.h" | 3 | #include "iris.h" |
| 4 | #include "quantum.h" | 4 | #include "quantum.h" |
| 5 | 5 | ||
| 6 | #ifdef USE_I2C | ||
| 7 | #include <stddef.h> | ||
| 8 | #ifdef __AVR__ | ||
| 9 | #include <avr/io.h> | ||
| 10 | #include <avr/interrupt.h> | ||
| 11 | #endif | ||
| 12 | #endif | ||
| 13 | |||
| 14 | #define LAYOUT( \ | 6 | #define LAYOUT( \ |
| 15 | LA1, LA2, LA3, LA4, LA5, LA6, RA6, RA5, RA4, RA3, RA2, RA1, \ | 7 | LA1, LA2, LA3, LA4, LA5, LA6, RA6, RA5, RA4, RA3, RA2, RA1, \ |
| 16 | LB1, LB2, LB3, LB4, LB5, LB6, RB6, RB5, RB4, RB3, RB2, RB1, \ | 8 | LB1, LB2, LB3, LB4, LB5, LB6, RB6, RB5, RB4, RB3, RB2, RB1, \ |
diff --git a/keyboards/keebio/levinson/rev1/rev1.h b/keyboards/keebio/levinson/rev1/rev1.h index 1c555b6775..7459813929 100644 --- a/keyboards/keebio/levinson/rev1/rev1.h +++ b/keyboards/keebio/levinson/rev1/rev1.h | |||
| @@ -4,14 +4,6 @@ | |||
| 4 | 4 | ||
| 5 | #include "quantum.h" | 5 | #include "quantum.h" |
| 6 | 6 | ||
| 7 | #ifdef USE_I2C | ||
| 8 | #include <stddef.h> | ||
| 9 | #ifdef __AVR__ | ||
| 10 | #include <avr/io.h> | ||
| 11 | #include <avr/interrupt.h> | ||
| 12 | #endif | ||
| 13 | #endif | ||
| 14 | |||
| 15 | #ifndef FLIP_HALF | 7 | #ifndef FLIP_HALF |
| 16 | // Standard Keymap | 8 | // Standard Keymap |
| 17 | // (TRRS jack on the left half is to the right, TRRS jack on the right half is to the left) | 9 | // (TRRS jack on the left half is to the right, TRRS jack on the right half is to the left) |
diff --git a/keyboards/keebio/levinson/rev2/rev2.h b/keyboards/keebio/levinson/rev2/rev2.h index 1c555b6775..7459813929 100644 --- a/keyboards/keebio/levinson/rev2/rev2.h +++ b/keyboards/keebio/levinson/rev2/rev2.h | |||
| @@ -4,14 +4,6 @@ | |||
| 4 | 4 | ||
| 5 | #include "quantum.h" | 5 | #include "quantum.h" |
| 6 | 6 | ||
| 7 | #ifdef USE_I2C | ||
| 8 | #include <stddef.h> | ||
| 9 | #ifdef __AVR__ | ||
| 10 | #include <avr/io.h> | ||
| 11 | #include <avr/interrupt.h> | ||
| 12 | #endif | ||
| 13 | #endif | ||
| 14 | |||
| 15 | #ifndef FLIP_HALF | 7 | #ifndef FLIP_HALF |
| 16 | // Standard Keymap | 8 | // Standard Keymap |
| 17 | // (TRRS jack on the left half is to the right, TRRS jack on the right half is to the left) | 9 | // (TRRS jack on the left half is to the right, TRRS jack on the right half is to the left) |
diff --git a/keyboards/keebio/levinson/rev3/rev3.h b/keyboards/keebio/levinson/rev3/rev3.h index da7349d2e7..6a00edd9a7 100644 --- a/keyboards/keebio/levinson/rev3/rev3.h +++ b/keyboards/keebio/levinson/rev3/rev3.h | |||
| @@ -4,14 +4,6 @@ | |||
| 4 | 4 | ||
| 5 | #include "quantum.h" | 5 | #include "quantum.h" |
| 6 | 6 | ||
| 7 | #ifdef USE_I2C | ||
| 8 | #include <stddef.h> | ||
| 9 | #ifdef __AVR__ | ||
| 10 | #include <avr/io.h> | ||
| 11 | #include <avr/interrupt.h> | ||
| 12 | #endif | ||
| 13 | #endif | ||
| 14 | |||
| 15 | #define LAYOUT( \ | 7 | #define LAYOUT( \ |
| 16 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ | 8 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ |
| 17 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ | 9 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ |
diff --git a/keyboards/keebio/nyquist/rev1/rev1.h b/keyboards/keebio/nyquist/rev1/rev1.h index 5896a826cc..2ada41ba92 100644 --- a/keyboards/keebio/nyquist/rev1/rev1.h +++ b/keyboards/keebio/nyquist/rev1/rev1.h | |||
| @@ -4,14 +4,6 @@ | |||
| 4 | 4 | ||
| 5 | #include "quantum.h" | 5 | #include "quantum.h" |
| 6 | 6 | ||
| 7 | #ifdef USE_I2C | ||
| 8 | #include <stddef.h> | ||
| 9 | #ifdef __AVR__ | ||
| 10 | #include <avr/io.h> | ||
| 11 | #include <avr/interrupt.h> | ||
| 12 | #endif | ||
| 13 | #endif | ||
| 14 | |||
| 15 | #ifndef FLIP_HALF | 7 | #ifndef FLIP_HALF |
| 16 | // Standard Keymap | 8 | // Standard Keymap |
| 17 | // (TRRS jack on the left half is to the right, TRRS jack on the right half is to the left) | 9 | // (TRRS jack on the left half is to the right, TRRS jack on the right half is to the left) |
diff --git a/keyboards/keebio/nyquist/rev2/rev2.h b/keyboards/keebio/nyquist/rev2/rev2.h index 5896a826cc..2ada41ba92 100644 --- a/keyboards/keebio/nyquist/rev2/rev2.h +++ b/keyboards/keebio/nyquist/rev2/rev2.h | |||
| @@ -4,14 +4,6 @@ | |||
| 4 | 4 | ||
| 5 | #include "quantum.h" | 5 | #include "quantum.h" |
| 6 | 6 | ||
| 7 | #ifdef USE_I2C | ||
| 8 | #include <stddef.h> | ||
| 9 | #ifdef __AVR__ | ||
| 10 | #include <avr/io.h> | ||
| 11 | #include <avr/interrupt.h> | ||
| 12 | #endif | ||
| 13 | #endif | ||
| 14 | |||
| 15 | #ifndef FLIP_HALF | 7 | #ifndef FLIP_HALF |
| 16 | // Standard Keymap | 8 | // Standard Keymap |
| 17 | // (TRRS jack on the left half is to the right, TRRS jack on the right half is to the left) | 9 | // (TRRS jack on the left half is to the right, TRRS jack on the right half is to the left) |
diff --git a/keyboards/keebio/nyquist/rev3/rev3.h b/keyboards/keebio/nyquist/rev3/rev3.h index e365c0e417..aa60609f28 100644 --- a/keyboards/keebio/nyquist/rev3/rev3.h +++ b/keyboards/keebio/nyquist/rev3/rev3.h | |||
| @@ -3,14 +3,6 @@ | |||
| 3 | #include "nyquist.h" | 3 | #include "nyquist.h" |
| 4 | #include "quantum.h" | 4 | #include "quantum.h" |
| 5 | 5 | ||
| 6 | #ifdef USE_I2C | ||
| 7 | #include <stddef.h> | ||
| 8 | #ifdef __AVR__ | ||
| 9 | #include <avr/io.h> | ||
| 10 | #include <avr/interrupt.h> | ||
| 11 | #endif | ||
| 12 | #endif | ||
| 13 | |||
| 14 | #define LAYOUT( \ | 6 | #define LAYOUT( \ |
| 15 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ | 7 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ |
| 16 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ | 8 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ |
diff --git a/keyboards/keebio/quefrency/rev1/rev1.h b/keyboards/keebio/quefrency/rev1/rev1.h index da62f904cc..1c3581b3a9 100644 --- a/keyboards/keebio/quefrency/rev1/rev1.h +++ b/keyboards/keebio/quefrency/rev1/rev1.h | |||
| @@ -4,15 +4,6 @@ | |||
| 4 | 4 | ||
| 5 | #include "quantum.h" | 5 | #include "quantum.h" |
| 6 | 6 | ||
| 7 | |||
| 8 | #ifdef USE_I2C | ||
| 9 | #include <stddef.h> | ||
| 10 | #ifdef __AVR__ | ||
| 11 | #include <avr/io.h> | ||
| 12 | #include <avr/interrupt.h> | ||
| 13 | #endif | ||
| 14 | #endif | ||
| 15 | |||
| 16 | #define LAYOUT( \ | 7 | #define LAYOUT( \ |
| 17 | LA1, LA2, LA3, LA4, LA5, LA6, LA7, RA1, RA2, RA3, RA4, RA5, RA6, RA7, RA8, \ | 8 | LA1, LA2, LA3, LA4, LA5, LA6, LA7, RA1, RA2, RA3, RA4, RA5, RA6, RA7, RA8, \ |
| 18 | LB1, LB2, LB3, LB4, LB5, LB6, RB1, RB2, RB3, RB4, RB5, RB6, RB7, RB8, \ | 9 | LB1, LB2, LB3, LB4, LB5, LB6, RB1, RB2, RB3, RB4, RB5, RB6, RB7, RB8, \ |
diff --git a/keyboards/keebio/quefrency/rev2/rev2.h b/keyboards/keebio/quefrency/rev2/rev2.h index 2f57ac489f..31d1052fac 100644 --- a/keyboards/keebio/quefrency/rev2/rev2.h +++ b/keyboards/keebio/quefrency/rev2/rev2.h | |||
| @@ -3,14 +3,6 @@ | |||
| 3 | #include "quefrency.h" | 3 | #include "quefrency.h" |
| 4 | #include "quantum.h" | 4 | #include "quantum.h" |
| 5 | 5 | ||
| 6 | #ifdef USE_I2C | ||
| 7 | #include <stddef.h> | ||
| 8 | #ifdef __AVR__ | ||
| 9 | #include <avr/io.h> | ||
| 10 | #include <avr/interrupt.h> | ||
| 11 | #endif | ||
| 12 | #endif | ||
| 13 | |||
| 14 | #define LAYOUT_60( \ | 6 | #define LAYOUT_60( \ |
| 15 | LA3, LA4, LA5, LA6, LA7, LA8, LA9, RA1, RA2, RA3, RA4, RA5, RA6, RA7, RA8, \ | 7 | LA3, LA4, LA5, LA6, LA7, LA8, LA9, RA1, RA2, RA3, RA4, RA5, RA6, RA7, RA8, \ |
| 16 | LB3, LB4, LB5, LB6, LB7, LB8, RB1, RB2, RB3, RB4, RB5, RB6, RB7, RB8, \ | 8 | LB3, LB4, LB5, LB6, LB7, LB8, RB1, RB2, RB3, RB4, RB5, RB6, RB7, RB8, \ |
diff --git a/keyboards/keebio/rorschach/rev1/rev1.h b/keyboards/keebio/rorschach/rev1/rev1.h index 278bf8186e..c06cd337a4 100644 --- a/keyboards/keebio/rorschach/rev1/rev1.h +++ b/keyboards/keebio/rorschach/rev1/rev1.h | |||
| @@ -4,14 +4,6 @@ | |||
| 4 | 4 | ||
| 5 | #include "quantum.h" | 5 | #include "quantum.h" |
| 6 | 6 | ||
| 7 | #ifdef USE_I2C | ||
| 8 | #include <stddef.h> | ||
| 9 | #ifdef __AVR__ | ||
| 10 | #include <avr/io.h> | ||
| 11 | #include <avr/interrupt.h> | ||
| 12 | #endif | ||
| 13 | #endif | ||
| 14 | |||
| 15 | #define LAYOUT( \ | 7 | #define LAYOUT( \ |
| 16 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ | 8 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ |
| 17 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ | 9 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ |
diff --git a/keyboards/keebio/sinc/rev1/rev1.h b/keyboards/keebio/sinc/rev1/rev1.h index 1fbbc2d6af..cf692f960d 100644 --- a/keyboards/keebio/sinc/rev1/rev1.h +++ b/keyboards/keebio/sinc/rev1/rev1.h | |||
| @@ -3,14 +3,6 @@ | |||
| 3 | #include "sinc.h" | 3 | #include "sinc.h" |
| 4 | #include "quantum.h" | 4 | #include "quantum.h" |
| 5 | 5 | ||
| 6 | #ifdef USE_I2C | ||
| 7 | #include <stddef.h> | ||
| 8 | #ifdef __AVR__ | ||
| 9 | #include <avr/io.h> | ||
| 10 | #include <avr/interrupt.h> | ||
| 11 | #endif | ||
| 12 | #endif | ||
| 13 | |||
| 14 | #define LAYOUT_75( \ | 6 | #define LAYOUT_75( \ |
| 15 | LF3, LF4, LF5, LF6, LF7, LF8, LF9, RF2, RF3, RF4, RF5, RF6, RF7, RF8, \ | 7 | LF3, LF4, LF5, LF6, LF7, LF8, LF9, RF2, RF3, RF4, RF5, RF6, RF7, RF8, \ |
| 16 | LA3, LA4, LA5, LA6, LA7, LA8, LA9, RA1, RA2, RA3, RA4, RA5, RA6, RA7, RA8, \ | 8 | LA3, LA4, LA5, LA6, LA7, LA8, LA9, RA1, RA2, RA3, RA4, RA5, RA6, RA7, RA8, \ |
diff --git a/keyboards/keebio/sinc/rev2/rev2.h b/keyboards/keebio/sinc/rev2/rev2.h index 15d4b402b0..f73af295b2 100644 --- a/keyboards/keebio/sinc/rev2/rev2.h +++ b/keyboards/keebio/sinc/rev2/rev2.h | |||
| @@ -19,14 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 19 | #include "sinc.h" | 19 | #include "sinc.h" |
| 20 | #include "quantum.h" | 20 | #include "quantum.h" |
| 21 | 21 | ||
| 22 | #ifdef USE_I2C | ||
| 23 | #include <stddef.h> | ||
| 24 | #ifdef __AVR__ | ||
| 25 | #include <avr/io.h> | ||
| 26 | #include <avr/interrupt.h> | ||
| 27 | #endif | ||
| 28 | #endif | ||
| 29 | |||
| 30 | #define LAYOUT_75( \ | 22 | #define LAYOUT_75( \ |
| 31 | LF3, LF4, LF5, LF6, LF7, LF8, LF9, RF2, RF3, RF4, RF5, RF6, RF7, RF8, \ | 23 | LF3, LF4, LF5, LF6, LF7, LF8, LF9, RF2, RF3, RF4, RF5, RF6, RF7, RF8, \ |
| 32 | LA3, LA4, LA5, LA6, LA7, LA8, LA9, RA1, RA2, RA3, RA4, RA5, RA6, RA7, RA8, \ | 24 | LA3, LA4, LA5, LA6, LA7, LA8, LA9, RA1, RA2, RA3, RA4, RA5, RA6, RA7, RA8, \ |
diff --git a/keyboards/keebio/viterbi/rev1/rev1.h b/keyboards/keebio/viterbi/rev1/rev1.h index 88a3200f6b..08055df9f8 100644 --- a/keyboards/keebio/viterbi/rev1/rev1.h +++ b/keyboards/keebio/viterbi/rev1/rev1.h | |||
| @@ -3,14 +3,6 @@ | |||
| 3 | #include "viterbi.h" | 3 | #include "viterbi.h" |
| 4 | #include "quantum.h" | 4 | #include "quantum.h" |
| 5 | 5 | ||
| 6 | #ifdef USE_I2C | ||
| 7 | #include <stddef.h> | ||
| 8 | #ifdef __AVR__ | ||
| 9 | #include <avr/io.h> | ||
| 10 | #include <avr/interrupt.h> | ||
| 11 | #endif | ||
| 12 | #endif | ||
| 13 | |||
| 14 | #ifndef FLIP_HALF | 6 | #ifndef FLIP_HALF |
| 15 | // Standard Keymap | 7 | // Standard Keymap |
| 16 | // (TRRS jack on the left half is to the right, TRRS jack on the right half is to the left) | 8 | // (TRRS jack on the left half is to the right, TRRS jack on the right half is to the left) |
diff --git a/keyboards/keebio/viterbi/rev2/rev2.h b/keyboards/keebio/viterbi/rev2/rev2.h index 599e6415a3..9feeaffef1 100644 --- a/keyboards/keebio/viterbi/rev2/rev2.h +++ b/keyboards/keebio/viterbi/rev2/rev2.h | |||
| @@ -3,15 +3,6 @@ | |||
| 3 | #include "viterbi.h" | 3 | #include "viterbi.h" |
| 4 | #include "quantum.h" | 4 | #include "quantum.h" |
| 5 | 5 | ||
| 6 | |||
| 7 | #ifdef USE_I2C | ||
| 8 | #include <stddef.h> | ||
| 9 | #ifdef __AVR__ | ||
| 10 | #include <avr/io.h> | ||
| 11 | #include <avr/interrupt.h> | ||
| 12 | #endif | ||
| 13 | #endif | ||
| 14 | |||
| 15 | #define LAYOUT( \ | 6 | #define LAYOUT( \ |
| 16 | L00, L01, L02, L03, L04, L05, L06, R00, R01, R02, R03, R04, R05, R06, \ | 7 | L00, L01, L02, L03, L04, L05, L06, R00, R01, R02, R03, R04, R05, R06, \ |
| 17 | L10, L11, L12, L13, L14, L15, L16, R10, R11, R12, R13, R14, R15, R16, \ | 8 | L10, L11, L12, L13, L14, L15, L16, R10, R11, R12, R13, R14, R15, R16, \ |
diff --git a/keyboards/lets_split/rev2/rev2.h b/keyboards/lets_split/rev2/rev2.h index a1a3f00a0e..47f085254a 100644 --- a/keyboards/lets_split/rev2/rev2.h +++ b/keyboards/lets_split/rev2/rev2.h | |||
| @@ -4,14 +4,6 @@ | |||
| 4 | 4 | ||
| 5 | #include "quantum.h" | 5 | #include "quantum.h" |
| 6 | 6 | ||
| 7 | #ifdef USE_I2C | ||
| 8 | #include <stddef.h> | ||
| 9 | #ifdef __AVR__ | ||
| 10 | #include <avr/io.h> | ||
| 11 | #include <avr/interrupt.h> | ||
| 12 | #endif | ||
| 13 | #endif | ||
| 14 | |||
| 15 | #ifndef FLIP_HALF | 7 | #ifndef FLIP_HALF |
| 16 | // Standard Keymap | 8 | // Standard Keymap |
| 17 | // (TRRS jack on the left half is to the right, TRRS jack on the right half is to the left) | 9 | // (TRRS jack on the left half is to the right, TRRS jack on the right half is to the left) |
diff --git a/keyboards/lets_split/sockets/sockets.h b/keyboards/lets_split/sockets/sockets.h index a1a3f00a0e..47f085254a 100644 --- a/keyboards/lets_split/sockets/sockets.h +++ b/keyboards/lets_split/sockets/sockets.h | |||
| @@ -4,14 +4,6 @@ | |||
| 4 | 4 | ||
| 5 | #include "quantum.h" | 5 | #include "quantum.h" |
| 6 | 6 | ||
| 7 | #ifdef USE_I2C | ||
| 8 | #include <stddef.h> | ||
| 9 | #ifdef __AVR__ | ||
| 10 | #include <avr/io.h> | ||
| 11 | #include <avr/interrupt.h> | ||
| 12 | #endif | ||
| 13 | #endif | ||
| 14 | |||
| 15 | #ifndef FLIP_HALF | 7 | #ifndef FLIP_HALF |
| 16 | // Standard Keymap | 8 | // Standard Keymap |
| 17 | // (TRRS jack on the left half is to the right, TRRS jack on the right half is to the left) | 9 | // (TRRS jack on the left half is to the right, TRRS jack on the right half is to the left) |
diff --git a/keyboards/lily58/rev1/rev1.h b/keyboards/lily58/rev1/rev1.h index aa9f5727c2..776df4825a 100644 --- a/keyboards/lily58/rev1/rev1.h +++ b/keyboards/lily58/rev1/rev1.h | |||
| @@ -9,14 +9,6 @@ | |||
| 9 | #include "ws2812.h" | 9 | #include "ws2812.h" |
| 10 | #endif | 10 | #endif |
| 11 | 11 | ||
| 12 | #ifdef USE_I2C | ||
| 13 | #include <stddef.h> | ||
| 14 | #ifdef __AVR__ | ||
| 15 | #include <avr/io.h> | ||
| 16 | #include <avr/interrupt.h> | ||
| 17 | #endif | ||
| 18 | #endif | ||
| 19 | |||
| 20 | #ifndef FLIP_HALF | 12 | #ifndef FLIP_HALF |
| 21 | #define LAYOUT( \ | 13 | #define LAYOUT( \ |
| 22 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ | 14 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ |
diff --git a/keyboards/omkbd/ergodash/mini/mini.h b/keyboards/omkbd/ergodash/mini/mini.h index 4aca15775b..e56cfb17a6 100644 --- a/keyboards/omkbd/ergodash/mini/mini.h +++ b/keyboards/omkbd/ergodash/mini/mini.h | |||
| @@ -4,14 +4,6 @@ | |||
| 4 | 4 | ||
| 5 | #include "quantum.h" | 5 | #include "quantum.h" |
| 6 | 6 | ||
| 7 | #ifdef USE_I2C | ||
| 8 | #include <stddef.h> | ||
| 9 | #ifdef __AVR__ | ||
| 10 | #include <avr/io.h> | ||
| 11 | #include <avr/interrupt.h> | ||
| 12 | #endif | ||
| 13 | #endif | ||
| 14 | |||
| 15 | #ifndef FLIP_HALF | 7 | #ifndef FLIP_HALF |
| 16 | // Standard Keymap | 8 | // Standard Keymap |
| 17 | // (TRRS jack on the left half is to the right, TRRS jack on the right half is to the left) | 9 | // (TRRS jack on the left half is to the right, TRRS jack on the right half is to the left) |
diff --git a/keyboards/omkbd/ergodash/rev1/rev1.h b/keyboards/omkbd/ergodash/rev1/rev1.h index 7f094534cc..206c0c9bb9 100644 --- a/keyboards/omkbd/ergodash/rev1/rev1.h +++ b/keyboards/omkbd/ergodash/rev1/rev1.h | |||
| @@ -4,14 +4,6 @@ | |||
| 4 | 4 | ||
| 5 | #include "quantum.h" | 5 | #include "quantum.h" |
| 6 | 6 | ||
| 7 | #ifdef USE_I2C | ||
| 8 | #include <stddef.h> | ||
| 9 | #ifdef __AVR__ | ||
| 10 | #include <avr/io.h> | ||
| 11 | #include <avr/interrupt.h> | ||
| 12 | #endif | ||
| 13 | #endif | ||
| 14 | |||
| 15 | #define XXX KC_NO | 7 | #define XXX KC_NO |
| 16 | 8 | ||
| 17 | #ifndef FLIP_HALF | 9 | #ifndef FLIP_HALF |
diff --git a/keyboards/pinky/3/3.h b/keyboards/pinky/3/3.h index add202537a..64d61f760d 100644 --- a/keyboards/pinky/3/3.h +++ b/keyboards/pinky/3/3.h | |||
| @@ -4,14 +4,6 @@ | |||
| 4 | 4 | ||
| 5 | #include "quantum.h" | 5 | #include "quantum.h" |
| 6 | 6 | ||
| 7 | #ifdef USE_I2C | ||
| 8 | #include <stddef.h> | ||
| 9 | #ifdef __AVR__ | ||
| 10 | #include <avr/io.h> | ||
| 11 | #include <avr/interrupt.h> | ||
| 12 | #endif | ||
| 13 | #endif | ||
| 14 | |||
| 15 | #define LAYOUT_split_3x7_4( \ | 7 | #define LAYOUT_split_3x7_4( \ |
| 16 | L00, L01, L02, L03, L04, L05, L06, R00, R01, R02, R03, R04, R05, R06, \ | 8 | L00, L01, L02, L03, L04, L05, L06, R00, R01, R02, R03, R04, R05, R06, \ |
| 17 | L10, L11, L12, L13, L14, L15, L16, R10, R11, R12, R13, R14, R15, R16, \ | 9 | L10, L11, L12, L13, L14, L15, L16, R10, R11, R12, R13, R14, R15, R16, \ |
diff --git a/keyboards/pinky/4/4.h b/keyboards/pinky/4/4.h index 9420a320ff..50e31702f9 100644 --- a/keyboards/pinky/4/4.h +++ b/keyboards/pinky/4/4.h | |||
| @@ -4,14 +4,6 @@ | |||
| 4 | 4 | ||
| 5 | #include "quantum.h" | 5 | #include "quantum.h" |
| 6 | 6 | ||
| 7 | #ifdef USE_I2C | ||
| 8 | #include <stddef.h> | ||
| 9 | #ifdef __AVR__ | ||
| 10 | #include <avr/io.h> | ||
| 11 | #include <avr/interrupt.h> | ||
| 12 | #endif | ||
| 13 | #endif | ||
| 14 | |||
| 15 | #define LAYOUT_split_4x7_4( \ | 7 | #define LAYOUT_split_4x7_4( \ |
| 16 | L00, L01, L02, L03, L04, L05, L06, R00, R01, R02, R03, R04, R05, R06, \ | 8 | L00, L01, L02, L03, L04, L05, L06, R00, R01, R02, R03, R04, R05, R06, \ |
| 17 | L10, L11, L12, L13, L14, L15, L16, R10, R11, R12, R13, R14, R15, R16, \ | 9 | L10, L11, L12, L13, L14, L15, L16, R10, R11, R12, R13, R14, R15, R16, \ |
diff --git a/keyboards/qwertyydox/rev1/rev1.h b/keyboards/qwertyydox/rev1/rev1.h index a7b30b648f..22fc412a8b 100644 --- a/keyboards/qwertyydox/rev1/rev1.h +++ b/keyboards/qwertyydox/rev1/rev1.h | |||
| @@ -2,14 +2,6 @@ | |||
| 2 | 2 | ||
| 3 | #include "qwertyydox.h" | 3 | #include "qwertyydox.h" |
| 4 | 4 | ||
| 5 | #ifdef USE_I2C | ||
| 6 | #include <stddef.h> | ||
| 7 | #ifdef __AVR__ | ||
| 8 | #include <avr/io.h> | ||
| 9 | #include <avr/interrupt.h> | ||
| 10 | #endif | ||
| 11 | #endif | ||
| 12 | |||
| 13 | #define LAYOUT( \ | 5 | #define LAYOUT( \ |
| 14 | L00, L01, L02, L03, L04, L05, L06, R00, R01, R02, R03, R04, R05, R06, \ | 6 | L00, L01, L02, L03, L04, L05, L06, R00, R01, R02, R03, R04, R05, R06, \ |
| 15 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, R16, \ | 7 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, R16, \ |
diff --git a/keyboards/redox/rev1/rev1.h b/keyboards/redox/rev1/rev1.h index 5a24122048..a3253e9411 100644 --- a/keyboards/redox/rev1/rev1.h +++ b/keyboards/redox/rev1/rev1.h | |||
| @@ -8,14 +8,6 @@ | |||
| 8 | 8 | ||
| 9 | #include "quantum.h" | 9 | #include "quantum.h" |
| 10 | 10 | ||
| 11 | #ifdef USE_I2C | ||
| 12 | #include <stddef.h> | ||
| 13 | #ifdef __AVR__ | ||
| 14 | #include <avr/io.h> | ||
| 15 | #include <avr/interrupt.h> | ||
| 16 | #endif | ||
| 17 | #endif | ||
| 18 | |||
| 19 | #define LAYOUT( \ | 11 | #define LAYOUT( \ |
| 20 | k00, k01, k02, k03, k04, k05, k08, k09, k10, k11, k12, k13, \ | 12 | k00, k01, k02, k03, k04, k05, k08, k09, k10, k11, k12, k13, \ |
| 21 | k14, k15, k16, k17, k18, k19, k06, k07, k22, k23, k24, k25, k26, k27, \ | 13 | k14, k15, k16, k17, k18, k19, k06, k07, k22, k23, k24, k25, k26, k27, \ |
diff --git a/keyboards/salicylic_acid3/naked48/rev1/rev1.h b/keyboards/salicylic_acid3/naked48/rev1/rev1.h index eee5c4185f..dc35f89342 100644 --- a/keyboards/salicylic_acid3/naked48/rev1/rev1.h +++ b/keyboards/salicylic_acid3/naked48/rev1/rev1.h | |||
| @@ -25,14 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | #include "ws2812.h" | 25 | #include "ws2812.h" |
| 26 | #endif | 26 | #endif |
| 27 | 27 | ||
| 28 | #ifdef USE_I2C | ||
| 29 | #include <stddef.h> | ||
| 30 | #ifdef __AVR__ | ||
| 31 | #include <avr/io.h> | ||
| 32 | #include <avr/interrupt.h> | ||
| 33 | #endif | ||
| 34 | #endif | ||
| 35 | |||
| 36 | ////////////////////////////////////////////////////////////////////////////// | 28 | ////////////////////////////////////////////////////////////////////////////// |
| 37 | // When only use Naked48. | 29 | // When only use Naked48. |
| 38 | ////////////////////////////////////////////////////////////////////////////// | 30 | ////////////////////////////////////////////////////////////////////////////// |
diff --git a/keyboards/unikeyboard/diverge3/diverge3.h b/keyboards/unikeyboard/diverge3/diverge3.h index c668bb29ef..c052bcb0fc 100644 --- a/keyboards/unikeyboard/diverge3/diverge3.h +++ b/keyboards/unikeyboard/diverge3/diverge3.h | |||
| @@ -18,14 +18,6 @@ | |||
| 18 | 18 | ||
| 19 | #include "quantum.h" | 19 | #include "quantum.h" |
| 20 | 20 | ||
| 21 | #ifdef USE_I2C | ||
| 22 | #include <stddef.h> | ||
| 23 | #ifdef __AVR__ | ||
| 24 | #include <avr/io.h> | ||
| 25 | #include <avr/interrupt.h> | ||
| 26 | #endif | ||
| 27 | #endif | ||
| 28 | |||
| 29 | #define XXX KC_NO | 21 | #define XXX KC_NO |
| 30 | 22 | ||
| 31 | // This a shortcut to help you visually see your layout. | 23 | // This a shortcut to help you visually see your layout. |
diff --git a/keyboards/unikeyboard/divergetm2/divergetm2.h b/keyboards/unikeyboard/divergetm2/divergetm2.h index 6de48e41c7..c3d9ab650f 100644 --- a/keyboards/unikeyboard/divergetm2/divergetm2.h +++ b/keyboards/unikeyboard/divergetm2/divergetm2.h | |||
| @@ -19,14 +19,6 @@ | |||
| 19 | 19 | ||
| 20 | #include "quantum.h" | 20 | #include "quantum.h" |
| 21 | 21 | ||
| 22 | #ifdef USE_I2C | ||
| 23 | #include <stddef.h> | ||
| 24 | #ifdef __AVR__ | ||
| 25 | #include <avr/io.h> | ||
| 26 | #include <avr/interrupt.h> | ||
| 27 | #endif | ||
| 28 | #endif | ||
| 29 | |||
| 30 | #ifndef FLIP_HALF | 22 | #ifndef FLIP_HALF |
| 31 | // Standard Keymap | 23 | // Standard Keymap |
| 32 | // (TRRS jack on the left half is to the right, TRRS jack on the right half is to the left) | 24 | // (TRRS jack on the left half is to the right, TRRS jack on the right half is to the left) |
diff --git a/keyboards/vitamins_included/vitamins_included.h b/keyboards/vitamins_included/vitamins_included.h index 5cd03cfcf8..489e90977f 100644 --- a/keyboards/vitamins_included/vitamins_included.h +++ b/keyboards/vitamins_included/vitamins_included.h | |||
| @@ -8,14 +8,6 @@ | |||
| 8 | #include "rev2.h" | 8 | #include "rev2.h" |
| 9 | #endif | 9 | #endif |
| 10 | 10 | ||
| 11 | #ifdef USE_I2C | ||
| 12 | #include <stddef.h> | ||
| 13 | #ifdef __AVR__ | ||
| 14 | #include <avr/io.h> | ||
| 15 | #include <avr/interrupt.h> | ||
| 16 | #endif | ||
| 17 | #endif | ||
| 18 | |||
| 19 | #define LAYOUT( \ | 11 | #define LAYOUT( \ |
| 20 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ | 12 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ |
| 21 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ | 13 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ |
