diff options
author | Dan Hertz <daniel@dhertz.com> | 2018-05-29 04:22:43 +0100 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-05-28 20:22:43 -0700 |
commit | 6009ca2d4a76cc3fa66fd9b1339ebe9b11775ffc (patch) | |
tree | 56ef4bdd129e29747f150be712fe8a194892d3b4 /keyboards/canoe/config.h | |
parent | dfa7a708fef77ac1570face29d7e8413f3e725ee (diff) | |
download | qmk_firmware-6009ca2d4a76cc3fa66fd9b1339ebe9b11775ffc.tar.gz |
Update Canoe ps2avr board (#3066)
* Add Percent Canoe keyboard
* Fix row of nonus backslash
* Update info.json to be correct for canoe
* Change LAYOUT_ISO to LAYOUT_iso
* Remove bootloader key in info.json
Diffstat (limited to 'keyboards/canoe/config.h')
-rw-r--r-- | keyboards/canoe/config.h | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/keyboards/canoe/config.h b/keyboards/canoe/config.h index f8e368df2..0e70094ae 100644 --- a/keyboards/canoe/config.h +++ b/keyboards/canoe/config.h @@ -15,22 +15,30 @@ 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 BMINI_CONFIG_H -#define BMINI_CONFIG_H +#ifndef CANOE_CONFIG_H +#define CANOE_CONFIG_H #include "config_common.h" #define VENDOR_ID 0x20A0 #define PRODUCT_ID 0x422D -#define MANUFACTURER percent -#define PRODUCT canoe +#define MANUFACTURER NotActuallyPercent +#define PRODUCT CANOE #define RGBLED_NUM 2 -/* matrix size */ -#define MATRIX_ROWS 5 +#define MATRIX_ROWS 8 #define MATRIX_COLS 15 +#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, C1 } +#define UNUSED_PINS + +#define DIODE_DIRECTION COL2ROW +#define DEBOUNCING_DELAY 5 + +#define NO_BACKLIGHT_CLOCK +#define BACKLIGHT_LEVELS 1 #define RGBLIGHT_ANIMATIONS #define NO_UART 1 |