summaryrefslogtreecommitdiff
path: root/keyboard/planck/config.h
diff options
context:
space:
mode:
authorWilba6582 <Jason.S.Wiliams@gmail.com>2015-03-17 00:43:37 +1100
committerWilba6582 <Jason.S.Wiliams@gmail.com>2015-03-17 00:43:37 +1100
commit15b9bce6bab13d85529fe9aaa91b3df9cd773e13 (patch)
tree48b816dc133d50a7b0e0734d28d533105db5def6 /keyboard/planck/config.h
parent0fcb3b65f8f980bee606b3be44cad1469c42ea86 (diff)
Initial commit for Planck PCB Rev 1.
- Backlight on PB7 controlled by Timer1 Fast PWM (no interrupts). - Backlight commands connected temporarily to top left keys. - Backlight init called from matrix.c, since there's no generic keyboard_init() override function.
Diffstat (limited to 'keyboard/planck/config.h')
-rw-r--r--keyboard/planck/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/keyboard/planck/config.h b/keyboard/planck/config.h
index 81637f45b2..0b0c152479 100644
--- a/keyboard/planck/config.h
+++ b/keyboard/planck/config.h
@@ -34,6 +34,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* define if matrix has ghost */
//#define MATRIX_HAS_GHOST
+/* number of backlight levels */
+/* NOTE: this is the max value of 0..BACKLIGHT_LEVELS so really 16 levels. */
+#define BACKLIGHT_LEVELS 15
+
/* Set 0 if debouncing isn't needed */
#define DEBOUNCE 5