Skip to content

Commit

Permalink
remove custom matrix support
Browse files Browse the repository at this point in the history
  • Loading branch information
mechmerlin committed Jul 15, 2019
1 parent 4211252 commit b8c5efa
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 119 deletions.
9 changes: 6 additions & 3 deletions keyboards/winkeyless/bface/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand All @@ -43,4 +47,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_PORT_NUM (1 << 4)
#endif

#endif
113 changes: 0 additions & 113 deletions keyboards/winkeyless/bface/matrix.c

This file was deleted.

5 changes: 2 additions & 3 deletions keyboards/winkeyless/bface/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ NO_SUSPEND_POWER_DOWN = yes
F_CPU = 12000000

# build options
BOOTMAGIC_ENABLE = yes
BOOTMAGIC_ENABLE = no
MOUSEKEY_ENABLE = yes
EXTRAKEY_ENABLE = yes
CONSOLE_ENABLE = no
Expand All @@ -40,8 +40,7 @@ OPT_DEFS = -DDEBUG_LEVEL=0
OPT_DEFS += -DBOOTLOADER_SIZE=2048

# custom matrix setup
CUSTOM_MATRIX = yes
SRC = matrix.c i2c.c backlight_ps2avrGB.c
SRC = i2c.c backlight_ps2avrGB.c

# programming options
PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
Expand Down

0 comments on commit b8c5efa

Please sign in to comment.