summaryrefslogtreecommitdiff
path: root/keyboards/winkeyless/bface/config.h
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2019-07-15 10:38:26 -0700
committerGitHub <noreply@github.com>2019-07-15 10:38:26 -0700
commit7ba82cb5b751d69dda6cc77ec8877c89defad3e4 (patch)
tree0932700ac42d7c5ab587917cce878274c4277846 /keyboards/winkeyless/bface/config.h
parenta200f194d14086e2da740ac48bac5ffdf36689d8 (diff)
parentf8e4921491bf977f04ae1a226756df28e55491ab (diff)
bface refactor (#6333)
* remove custom matrix support * remove custom i2c and led driver * minor cleanups * update readme
Diffstat (limited to 'keyboards/winkeyless/bface/config.h')
-rw-r--r--keyboards/winkeyless/bface/config.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/keyboards/winkeyless/bface/config.h b/keyboards/winkeyless/bface/config.h
index 11ac373c02..7a1fe33354 100644
--- a/keyboards/winkeyless/bface/config.h
+++ b/keyboards/winkeyless/bface/config.h
@@ -16,8 +16,7 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef CONFIG_H
-#define CONFIG_H
+#pragma once
#define VENDOR_ID 0x20A0
#define PRODUCT_ID 0x422D
@@ -30,6 +29,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROWS 8
#define MATRIX_COLS 15
+// 0 1 2 3 4 5 6 7 8 9 A B C D E
+#define MATRIX_ROW_PINS { B0, B1, B2, B3, B4, B5, B6, B7 }
+#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7}
+#define UNUSED_PINS
+
#define RGBLED_NUM 16
#define RGBLIGHT_ANIMATIONS
@@ -43,4 +47,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_PORT_NUM (1 << 4)
#endif
-#endif