diff options
author | Ryan <fauxpark@gmail.com> | 2020-04-30 16:24:13 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-30 16:24:13 +1000 |
commit | 37a4b53c4f51b66992e687b5012c83df9cc6b138 (patch) | |
tree | 1e6be428d109ac2e5906da8c69fb1cb53ba67bff | |
parent | 231464c49c2b429293435570243357dcf7e53ecc (diff) | |
download | qmk_firmware-37a4b53c4f51b66992e687b5012c83df9cc6b138.tar.gz qmk_firmware-37a4b53c4f51b66992e687b5012c83df9cc6b138.zip |
BACKLIGHT_ON_STATE config.h fixes (#8862)
-rw-r--r-- | keyboards/amjkeyboard/amj66/config.h | 1 | ||||
-rw-r--r-- | keyboards/duck/orion/v3/config.h | 1 | ||||
-rw-r--r-- | keyboards/gray_studio/cod67/config.h | 1 | ||||
-rw-r--r-- | keyboards/gray_studio/cod67/readme.md | 4 | ||||
-rw-r--r-- | keyboards/handwired/aek64/config.h | 3 | ||||
-rw-r--r-- | keyboards/handwired/bdn9_ble/config.h | 1 | ||||
-rwxr-xr-x | keyboards/staryu/config.h | 1 | ||||
-rw-r--r-- | keyboards/tokyo60/config.h | 1 | ||||
-rw-r--r-- | keyboards/xd68/config.h | 1 | ||||
-rw-r--r-- | keyboards/xd75/config.h | 1 |
10 files changed, 3 insertions, 12 deletions
diff --git a/keyboards/amjkeyboard/amj66/config.h b/keyboards/amjkeyboard/amj66/config.h index 5569bcd91..ac10f7e35 100644 --- a/keyboards/amjkeyboard/amj66/config.h +++ b/keyboards/amjkeyboard/amj66/config.h | |||
@@ -43,7 +43,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
43 | #define BACKLIGHT_LEVELS 3 | 43 | #define BACKLIGHT_LEVELS 3 |
44 | #define BACKLIGHT_BREATHING | 44 | #define BACKLIGHT_BREATHING |
45 | #define BREATHING_PERIOD 6 | 45 | #define BREATHING_PERIOD 6 |
46 | #define BACKLIGHT_ON_STATE 1 | ||
47 | 46 | ||
48 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | 47 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ |
49 | #define DEBOUNCE 5 | 48 | #define DEBOUNCE 5 |
diff --git a/keyboards/duck/orion/v3/config.h b/keyboards/duck/orion/v3/config.h index b04729712..ce64431af 100644 --- a/keyboards/duck/orion/v3/config.h +++ b/keyboards/duck/orion/v3/config.h | |||
@@ -43,7 +43,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
43 | #define BACKLIGHT_PINS { B1, B2, B3, E6 } | 43 | #define BACKLIGHT_PINS { B1, B2, B3, E6 } |
44 | #define BACKLIGHT_LED_COUNT 4 | 44 | #define BACKLIGHT_LED_COUNT 4 |
45 | #define BACKLIGHT_LEVELS 10 | 45 | #define BACKLIGHT_LEVELS 10 |
46 | #define BACKLIGHT_ON_STATE 1 | ||
47 | 46 | ||
48 | #define RGBLIGHT_ANIMATIONS | 47 | #define RGBLIGHT_ANIMATIONS |
49 | #define RGB_DI_PIN D6 | 48 | #define RGB_DI_PIN D6 |
diff --git a/keyboards/gray_studio/cod67/config.h b/keyboards/gray_studio/cod67/config.h index 2231827ba..238869c2c 100644 --- a/keyboards/gray_studio/cod67/config.h +++ b/keyboards/gray_studio/cod67/config.h | |||
@@ -52,6 +52,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
52 | * https://docs.qmk.fm/#/feature_backlight?id=timer-assisted-pwm-implementation | 52 | * https://docs.qmk.fm/#/feature_backlight?id=timer-assisted-pwm-implementation |
53 | */ | 53 | */ |
54 | #define BACKLIGHT_PIN D4 | 54 | #define BACKLIGHT_PIN D4 |
55 | #define BACKLIGHT_ON_STATE 0 | ||
55 | 56 | ||
56 | #define RGB_DI_PIN B2 | 57 | #define RGB_DI_PIN B2 |
57 | #ifdef RGB_DI_PIN | 58 | #ifdef RGB_DI_PIN |
diff --git a/keyboards/gray_studio/cod67/readme.md b/keyboards/gray_studio/cod67/readme.md index 6e79ffec4..b7a9a8028 100644 --- a/keyboards/gray_studio/cod67/readme.md +++ b/keyboards/gray_studio/cod67/readme.md | |||
@@ -39,7 +39,3 @@ After putting your COD67 in bootloader mode, it will show up as a drive. | |||
39 | * Drag and drop your new `COD67.BIN` to the drive. | 39 | * Drag and drop your new `COD67.BIN` to the drive. |
40 | * Wait a few seconds for it to write. The caps lock LED flashes rapidly while writing. | 40 | * Wait a few seconds for it to write. The caps lock LED flashes rapidly while writing. |
41 | * Press the `Esc` key or eject the drive in Finder to reset the board. You are now ready to type! | 41 | * Press the `Esc` key or eject the drive in Finder to reset the board. You are now ready to type! |
42 | |||
43 | ## Notes | ||
44 | |||
45 | The backlight pin is attached to a non PWM pin `D4` so the backlight is only on/off. | ||
diff --git a/keyboards/handwired/aek64/config.h b/keyboards/handwired/aek64/config.h index a072d562a..f10cd69dd 100644 --- a/keyboards/handwired/aek64/config.h +++ b/keyboards/handwired/aek64/config.h | |||
@@ -27,9 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
27 | #define PRODUCT AEK64 | 27 | #define PRODUCT AEK64 |
28 | #define DESCRIPTION QMK keyboard firmware for AEK64 handwired | 28 | #define DESCRIPTION QMK keyboard firmware for AEK64 handwired |
29 | 29 | ||
30 | /* Define the backlight */ | ||
31 | /*#define BACKLIGHT_ON_STATE 1*/ | ||
32 | |||
33 | /* key matrix size */ | 30 | /* key matrix size */ |
34 | #define MATRIX_ROWS 5 | 31 | #define MATRIX_ROWS 5 |
35 | #define MATRIX_COLS 14 | 32 | #define MATRIX_COLS 14 |
diff --git a/keyboards/handwired/bdn9_ble/config.h b/keyboards/handwired/bdn9_ble/config.h index 8db9253dd..e6762406a 100644 --- a/keyboards/handwired/bdn9_ble/config.h +++ b/keyboards/handwired/bdn9_ble/config.h | |||
@@ -41,7 +41,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
41 | #define BACKLIGHT_PIN F6 | 41 | #define BACKLIGHT_PIN F6 |
42 | // #define BACKLIGHT_BREATHING | 42 | // #define BACKLIGHT_BREATHING |
43 | #define BACKLIGHT_LEVELS 5 | 43 | #define BACKLIGHT_LEVELS 5 |
44 | #define BACKLIGHT_ON_STATE 1 | ||
45 | 44 | ||
46 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | 45 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ |
47 | #define DEBOUNCE 5 | 46 | #define DEBOUNCE 5 |
diff --git a/keyboards/staryu/config.h b/keyboards/staryu/config.h index dc7353fcc..dbf2b867e 100755 --- a/keyboards/staryu/config.h +++ b/keyboards/staryu/config.h | |||
@@ -65,7 +65,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
65 | #define BACKLIGHT_PINS { C2, C7, D5, D6, B0 } | 65 | #define BACKLIGHT_PINS { C2, C7, D5, D6, B0 } |
66 | #define BACKLIGHT_LED_COUNT 5 | 66 | #define BACKLIGHT_LED_COUNT 5 |
67 | #define BACKLIGHT_LEVELS 10 | 67 | #define BACKLIGHT_LEVELS 10 |
68 | #define BACKLIGHT_ON_STATE 1 | ||
69 | 68 | ||
70 | /* Set 0 if debouncing isn't needed */ | 69 | /* Set 0 if debouncing isn't needed */ |
71 | #define DEBOUNCE 5 | 70 | #define DEBOUNCE 5 |
diff --git a/keyboards/tokyo60/config.h b/keyboards/tokyo60/config.h index 79b904da1..e22242c8f 100644 --- a/keyboards/tokyo60/config.h +++ b/keyboards/tokyo60/config.h | |||
@@ -18,7 +18,6 @@ | |||
18 | #define BACKLIGHT_PIN B7 | 18 | #define BACKLIGHT_PIN B7 |
19 | #ifdef BACKLIGHT_PIN | 19 | #ifdef BACKLIGHT_PIN |
20 | #define BACKLIGHT_LEVELS 6 | 20 | #define BACKLIGHT_LEVELS 6 |
21 | //#define BACKLIGHT_ON_STATE 1 | ||
22 | #endif | 21 | #endif |
23 | 22 | ||
24 | /* COL2ROW or ROW2COL */ | 23 | /* COL2ROW or ROW2COL */ |
diff --git a/keyboards/xd68/config.h b/keyboards/xd68/config.h index f0a78c1fd..c86bb5622 100644 --- a/keyboards/xd68/config.h +++ b/keyboards/xd68/config.h | |||
@@ -52,6 +52,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
52 | #define BACKLIGHT_LEVELS 6 | 52 | #define BACKLIGHT_LEVELS 6 |
53 | #define BACKLIGHT_BREATHING | 53 | #define BACKLIGHT_BREATHING |
54 | #define BREATHING_PERIOD 6 | 54 | #define BREATHING_PERIOD 6 |
55 | #define BACKLIGHT_ON_STATE 0 | ||
55 | 56 | ||
56 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | 57 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ |
57 | #define DEBOUNCE 5 | 58 | #define DEBOUNCE 5 |
diff --git a/keyboards/xd75/config.h b/keyboards/xd75/config.h index 7f8b71c45..b3a1882be 100644 --- a/keyboards/xd75/config.h +++ b/keyboards/xd75/config.h | |||
@@ -51,6 +51,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
51 | 51 | ||
52 | #define BACKLIGHT_PIN F5 | 52 | #define BACKLIGHT_PIN F5 |
53 | #define BACKLIGHT_LEVELS 6 | 53 | #define BACKLIGHT_LEVELS 6 |
54 | #define BACKLIGHT_ON_STATE 0 | ||
54 | 55 | ||
55 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | 56 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ |
56 | #define DEBOUNCE 5 | 57 | #define DEBOUNCE 5 |