diff options
| author | Mikkel Jeppesen <2756925+Duckle29@users.noreply.github.com> | 2021-04-20 19:23:00 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-20 10:23:00 -0700 |
| commit | 271c7d4923f58d6e4548ff2124de2c6af11e6fb6 (patch) | |
| tree | 7d85bbad782a45c212136886fd991995dcdf9a14 | |
| parent | 54bad99e0e94060edfad16e0a293e5feac2a478e (diff) | |
| download | qmk_firmware-271c7d4923f58d6e4548ff2124de2c6af11e6fb6.tar.gz qmk_firmware-271c7d4923f58d6e4548ff2124de2c6af11e6fb6.zip | |
[Keyboard] Added support for the older no_led revision (#12563)
| -rw-r--r-- | keyboards/infinity60/config.h | 14 | ||||
| -rw-r--r-- | keyboards/infinity60/led/config.h | 23 | ||||
| -rw-r--r-- | keyboards/infinity60/led/readme.md | 3 | ||||
| -rw-r--r-- | keyboards/infinity60/led/rules.mk | 3 | ||||
| -rw-r--r-- | keyboards/infinity60/rev1/config.h | 25 | ||||
| -rw-r--r-- | keyboards/infinity60/rev1/readme.md | 2 | ||||
| -rw-r--r-- | keyboards/infinity60/rev1/rules.mk | 0 | ||||
| -rw-r--r-- | keyboards/infinity60/rules.mk | 4 |
8 files changed, 57 insertions, 17 deletions
diff --git a/keyboards/infinity60/config.h b/keyboards/infinity60/config.h index 7cc5b3f91..e73a663b3 100644 --- a/keyboards/infinity60/config.h +++ b/keyboards/infinity60/config.h | |||
| @@ -28,20 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 28 | #define MATRIX_ROWS 7 | 28 | #define MATRIX_ROWS 7 |
| 29 | #define MATRIX_COLS 9 | 29 | #define MATRIX_COLS 9 |
| 30 | 30 | ||
| 31 | /* | ||
| 32 | * Keyboard Matrix Assignments | ||
| 33 | * | ||
| 34 | * Change this to how you wired your keyboard | ||
| 35 | * COLS: AVR pins used for columns, left to right | ||
| 36 | * ROWS: AVR pins used for rows, top to bottom | ||
| 37 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
| 38 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
| 39 | * | ||
| 40 | */ | ||
| 41 | #define MATRIX_ROW_PINS { D1, D2, D3, D4, D5, D6, D7 } | ||
| 42 | #define MATRIX_COL_PINS { C0, C1, C2, C3, C4, C5, C6, C7, D0 } | ||
| 43 | #define UNUSED_PINS | ||
| 44 | |||
| 45 | /* COL2ROW, ROW2COL */ | 31 | /* COL2ROW, ROW2COL */ |
| 46 | #define DIODE_DIRECTION COL2ROW | 32 | #define DIODE_DIRECTION COL2ROW |
| 47 | 33 | ||
diff --git a/keyboards/infinity60/led/config.h b/keyboards/infinity60/led/config.h new file mode 100644 index 000000000..5bd3b590b --- /dev/null +++ b/keyboards/infinity60/led/config.h | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2015 Jun Wako <wakojun@gmail.com> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | // Keyboard Matrix Assignments | ||
| 21 | #define MATRIX_ROW_PINS { D1, D2, D3, D4, D5, D6, D7 } | ||
| 22 | #define MATRIX_COL_PINS { C0, C1, C2, C3, C4, C5, C6, C7, D0 } | ||
| 23 | #define UNUSED_PINS | ||
diff --git a/keyboards/infinity60/led/readme.md b/keyboards/infinity60/led/readme.md new file mode 100644 index 000000000..d31335031 --- /dev/null +++ b/keyboards/infinity60/led/readme.md | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | ## Infinity 60% LED | ||
| 2 | |||
| 3 | This revision is for the version of the infinity 60 with LEDs (rev 1.1a) | ||
diff --git a/keyboards/infinity60/led/rules.mk b/keyboards/infinity60/led/rules.mk new file mode 100644 index 000000000..d48f3b73a --- /dev/null +++ b/keyboards/infinity60/led/rules.mk | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | # project specific files | ||
| 2 | SRC += led.c \ | ||
| 3 | led_controller.c \ No newline at end of file | ||
diff --git a/keyboards/infinity60/rev1/config.h b/keyboards/infinity60/rev1/config.h new file mode 100644 index 000000000..d4ab34bcc --- /dev/null +++ b/keyboards/infinity60/rev1/config.h | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2015 Jun Wako <wakojun@gmail.com> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | // Keyboard Matrix Assignments | ||
| 21 | #define MATRIX_ROW_PINS { D1, D2, D3, D4, D5, D6, D7 } | ||
| 22 | #define MATRIX_COL_PINS { B0, B1, B2, B3, B16, B17, C4, C5, D0 } | ||
| 23 | #define UNUSED_PINS | ||
| 24 | |||
| 25 | |||
diff --git a/keyboards/infinity60/rev1/readme.md b/keyboards/infinity60/rev1/readme.md new file mode 100644 index 000000000..5df5cf533 --- /dev/null +++ b/keyboards/infinity60/rev1/readme.md | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | ## Infinity 60, initial massdrop release | ||
| 2 | This is for the initial massdrop PCBs that don't support LEDs (rev 1.03a) | ||
diff --git a/keyboards/infinity60/rev1/rules.mk b/keyboards/infinity60/rev1/rules.mk new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/keyboards/infinity60/rev1/rules.mk | |||
diff --git a/keyboards/infinity60/rules.mk b/keyboards/infinity60/rules.mk index 595b7bfb9..f4100174d 100644 --- a/keyboards/infinity60/rules.mk +++ b/keyboards/infinity60/rules.mk | |||
| @@ -30,9 +30,7 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | |||
| 30 | BLUETOOTH_ENABLE = no # Enable Bluetooth | 30 | BLUETOOTH_ENABLE = no # Enable Bluetooth |
| 31 | AUDIO_ENABLE = no # Audio output | 31 | AUDIO_ENABLE = no # Audio output |
| 32 | 32 | ||
| 33 | # project specific files | 33 | DEFAULT_FOLDER = infinity60/led |
| 34 | SRC += led.c \ | ||
| 35 | led_controller.c | ||
| 36 | 34 | ||
| 37 | LAYOUTS = 60_ansi_split_bs_rshift | 35 | LAYOUTS = 60_ansi_split_bs_rshift |
| 38 | 36 | ||
