Skip to content

Commit

Permalink
BACKLIGHT_ON_STATE config.h fixes (qmk#8862)
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxpark authored and violet-fish committed May 3, 2020
1 parent d64dcec commit cfdf7bc
Show file tree
Hide file tree
Showing 10 changed files with 3 additions and 12 deletions.
1 change: 0 additions & 1 deletion keyboards/amjkeyboard/amj66/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_LEVELS 3
#define BACKLIGHT_BREATHING
#define BREATHING_PERIOD 6
#define BACKLIGHT_ON_STATE 1

/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCE 5
Expand Down
1 change: 0 additions & 1 deletion keyboards/duck/orion/v3/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_PINS { B1, B2, B3, E6 }
#define BACKLIGHT_LED_COUNT 4
#define BACKLIGHT_LEVELS 10
#define BACKLIGHT_ON_STATE 1

#define RGBLIGHT_ANIMATIONS
#define RGB_DI_PIN D6
Expand Down
1 change: 1 addition & 0 deletions keyboards/gray_studio/cod67/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
* https://docs.qmk.fm/#/feature_backlight?id=timer-assisted-pwm-implementation
*/
#define BACKLIGHT_PIN D4
#define BACKLIGHT_ON_STATE 0

#define RGB_DI_PIN B2
#ifdef RGB_DI_PIN
Expand Down
4 changes: 0 additions & 4 deletions keyboards/gray_studio/cod67/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,3 @@ After putting your COD67 in bootloader mode, it will show up as a drive.
* Drag and drop your new `COD67.BIN` to the drive.
* Wait a few seconds for it to write. The caps lock LED flashes rapidly while writing.
* Press the `Esc` key or eject the drive in Finder to reset the board. You are now ready to type!

## Notes

The backlight pin is attached to a non PWM pin `D4` so the backlight is only on/off.
3 changes: 0 additions & 3 deletions keyboards/handwired/aek64/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define PRODUCT AEK64
#define DESCRIPTION QMK keyboard firmware for AEK64 handwired

/* Define the backlight */
/*#define BACKLIGHT_ON_STATE 1*/

/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 14
Expand Down
1 change: 0 additions & 1 deletion keyboards/handwired/bdn9_ble/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_PIN F6
// #define BACKLIGHT_BREATHING
#define BACKLIGHT_LEVELS 5
#define BACKLIGHT_ON_STATE 1

/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCE 5
Expand Down
1 change: 0 additions & 1 deletion keyboards/staryu/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_PINS { C2, C7, D5, D6, B0 }
#define BACKLIGHT_LED_COUNT 5
#define BACKLIGHT_LEVELS 10
#define BACKLIGHT_ON_STATE 1

/* Set 0 if debouncing isn't needed */
#define DEBOUNCE 5
Expand Down
1 change: 0 additions & 1 deletion keyboards/tokyo60/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#define BACKLIGHT_PIN B7
#ifdef BACKLIGHT_PIN
#define BACKLIGHT_LEVELS 6
//#define BACKLIGHT_ON_STATE 1
#endif

/* COL2ROW or ROW2COL */
Expand Down
1 change: 1 addition & 0 deletions keyboards/xd68/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_LEVELS 6
#define BACKLIGHT_BREATHING
#define BREATHING_PERIOD 6
#define BACKLIGHT_ON_STATE 0

/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCE 5
Expand Down
1 change: 1 addition & 0 deletions keyboards/xd75/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#define BACKLIGHT_PIN F5
#define BACKLIGHT_LEVELS 6
#define BACKLIGHT_ON_STATE 0

/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCE 5
Expand Down

0 comments on commit cfdf7bc

Please sign in to comment.