Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set backlight and RGB pins for AVR onekeys #8533

Merged
merged 5 commits into from
Mar 24, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions keyboards/handwired/onekey/elite_c/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,7 @@
#define MATRIX_COL_PINS { F4 }
#define MATRIX_ROW_PINS { F5 }
#define UNUSED_PINS

#define BACKLIGHT_PIN B6

#define RGB_DI_PIN F6
4 changes: 4 additions & 0 deletions keyboards/handwired/onekey/promicro/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,7 @@
#define MATRIX_COL_PINS { F4 }
#define MATRIX_ROW_PINS { F5 }
#define UNUSED_PINS

#define BACKLIGHT_PIN B6

#define RGB_DI_PIN F6
6 changes: 3 additions & 3 deletions keyboards/handwired/onekey/proton_c/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@

#include "config_common.h"

#define MATRIX_COL_PINS { A3 }
#define MATRIX_ROW_PINS { A2 }
#define MATRIX_COL_PINS { A2 }
#define MATRIX_ROW_PINS { A1 }
#define UNUSED_PINS

#define BACKLIGHT_PIN B8
#define BACKLIGHT_PWM_DRIVER PWMD4
#define BACKLIGHT_PWM_CHANNEL 3
#define BACKLIGHT_PAL_MODE 2

#define RGB_DI_PIN A1
#define RGB_DI_PIN A0
4 changes: 4 additions & 0 deletions keyboards/handwired/onekey/teensy_2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,7 @@
#define MATRIX_COL_PINS { F4 }
#define MATRIX_ROW_PINS { F5 }
#define UNUSED_PINS

#define BACKLIGHT_PIN B6

#define RGB_DI_PIN F6
8 changes: 6 additions & 2 deletions keyboards/handwired/onekey/teensy_2pp/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@

#include "config_common.h"

#define MATRIX_COL_PINS { B2 }
#define MATRIX_ROW_PINS { B1 }
#define MATRIX_COL_PINS { F4 }
#define MATRIX_ROW_PINS { F5 }
#define UNUSED_PINS

#define BACKLIGHT_PIN B6

#define RGB_DI_PIN F6