forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrate symmetric70_proto/proton_c/normal/ and symmetric70_proto/pr…
…oton_c/boost/.
- Loading branch information
Showing
7 changed files
with
15 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
keyboards/handwired/symmetric70_proto/proton_c/boost/post_rules.mk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
keyboards/handwired/symmetric70_proto/proton_c/boost/rules.mk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1 @@ | ||
VPATH += users/mtei/$(PLATFORM_PATH) | ||
VPATH += users/mtei/$(PLATFORM_PATH)/$(PLATFORM_KEY) | ||
|
||
CANCEL_BOOST ?= no | ||
|
||
SRC += users/mtei/matrix_output_delay.c |
40 changes: 3 additions & 37 deletions
40
keyboards/handwired/symmetric70_proto/proton_c/normal/config.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,4 @@ | ||
/* | ||
Copyright 2021 mtei | ||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 2 of the License, or | ||
(at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
// Copyright 2022 Takeshi Ishii (@mtei) | ||
// SPDX-License-Identifier: GPL-2.0-or-later | ||
#pragma once | ||
|
||
/* | ||
* Keyboard Matrix Assignments | ||
* | ||
* Change this to how you wired your keyboard | ||
* COLS: AVR pins used for columns, left to right | ||
* ROWS: AVR pins used for rows, top to bottom | ||
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
* | ||
*/ | ||
#define PRODUCT BASE_PRODUCT normal | ||
|
||
#define MATRIX_ROW_PINS { A4, A5, A6, A7, A8 } | ||
#define MATRIX_COL_PINS { A2, A1, A0, B8, B13, B14, B15, B9, B0, B1, B2, B3, B4, B5, B6, B7 } | ||
|
||
#ifdef MATRIX_IO_DELAY_ADAPTIVE_FAST | ||
# define MATRIX_IO_DELAY_PORTS A0, B0 | ||
// fedcba9876543210 fedcba9876543210 | ||
# define MATRIX_IO_DELAY_MASKS 0b0000000000000111, 0b1110001111111111 | ||
#endif | ||
#include "../boost/config.h" |
2 changes: 2 additions & 0 deletions
2
keyboards/handwired/symmetric70_proto/proton_c/normal/post_rules.mk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
KEYBOARD_BOOST_post_rules_MK := $(dir $(lastword $(MAKEFILE_LIST)))../boost/post_rules.mk | ||
include $(strip $(KEYBOARD_BOOST_post_rules_MK)) |
9 changes: 1 addition & 8 deletions
9
keyboards/handwired/symmetric70_proto/proton_c/normal/rules.mk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1 @@ | ||
VPATH += users/mtei/$(PLATFORM_PATH) | ||
VPATH += users/mtei/$(PLATFORM_PATH)/$(PLATFORM_KEY) | ||
|
||
SRC += users/mtei/matrix_output_delay.c | ||
|
||
CUSTOM_MATRIX = yes | ||
SRC += matrix_common.c | ||
SRC += matrix_debug/matrix.c | ||
CANCEL_BOOST ?= yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters