keychron_qmk_firmware/keyboards/leeku/finger65/config.h

39 lines
1.1 KiB
C
Raw Normal View History

Adding new pcb with default keymap and personal keymap (#7314) * adding new pcb with default keymap and personal keymap * Update keyboards/leeku/finger65/readme.md Co-Authored-By: fauxpark <fauxpark@gmail.com> * Change to newer DEBOUNCE format Co-Authored-By: fauxpark <fauxpark@gmail.com> * switch to pragma Co-Authored-By: fauxpark <fauxpark@gmail.com> * remove unused define keyboards/leeku/finger65/config.h Co-Authored-By: fauxpark <fauxpark@gmail.com> * some cleanup after debounce and other changes * Remove no_suspend_power_down from keyboards/leeku/finger65/rules.mk Co-Authored-By: fauxpark <fauxpark@gmail.com> * move to newer format and remove unused stuff * ensure default has no leds for now * change default layout name * clean up the keymap a bit * want grave not tilde * a minor change and cleanup * more stuff removed cause I don't care for LEDs * remove some remaining stuff * add RGBLED stuff * Update keyboards/leeku/finger65/usbconfig.h Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/leeku/finger65/usbconfig.h Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/leeku/finger65/usbconfig.h Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/leeku/finger65/usbconfig.h Co-Authored-By: fauxpark <fauxpark@gmail.com> * update USB information * Update keyboards/leeku/finger65/usbconfig.h Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/leeku/finger65/rules.mk Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/leeku/finger65/rules.mk Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/leeku/finger65/rules.mk Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/leeku/finger65/rules.mk Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/leeku/finger65/keymaps/default/keymap.c Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/leeku/finger65/keymaps/default/keymap.c Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/leeku/finger65/keymaps/madhatter/keymap.c Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/leeku/finger65/keymaps/madhatter/keymap.c Co-Authored-By: fauxpark <fauxpark@gmail.com> * cleanup and conform to existing standard * Update keyboards/leeku/finger65/rules.mk Co-Authored-By: fauxpark <fauxpark@gmail.com> * remove stuff that doesn't work * add a JSON for the QMK configurator * list the layouts only available * let's just make it the 65 ansi layout with split backspace, eh? * remove extra space * Update keyboards/leeku/finger65/readme.md Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/leeku/finger65/readme.md Co-Authored-By: fauxpark <fauxpark@gmail.com> * update readme * remove redundant title * Monica Bellucci ruined my life * I'm having a RELIGIOUS EXPERIENCE ... and I don't take any DRUGS * Update keyboards/leeku/finger65/rules.mk Co-Authored-By: fauxpark <fauxpark@gmail.com> * add a URL to the username * fix readme and make it simpler with links this time * Update keyboards/leeku/finger65/readme.md Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/leeku/finger65/readme.md Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com> * incorporate suggested changes * update usb stuff for some stuff coming in the future * update layout for LAYOUT_ALL * USB power changes
2019-11-15 08:30:29 +06:00
/*
Copyright 2018 Rasmus Schults <rasmusx@gmail.com>
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/>.
*/
#pragma once
#include "config_common.h"
#define RGBLED_NUM 12
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 16
#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, B0, B1, B2, B3, B4, B5, B6, B7 }
#define MATRIX_ROW_PINS { C3, C4, C5, C6, C7 }
#define DIODE_DIRECTION COL2ROW
Adding new pcb with default keymap and personal keymap (#7314) * adding new pcb with default keymap and personal keymap * Update keyboards/leeku/finger65/readme.md Co-Authored-By: fauxpark <fauxpark@gmail.com> * Change to newer DEBOUNCE format Co-Authored-By: fauxpark <fauxpark@gmail.com> * switch to pragma Co-Authored-By: fauxpark <fauxpark@gmail.com> * remove unused define keyboards/leeku/finger65/config.h Co-Authored-By: fauxpark <fauxpark@gmail.com> * some cleanup after debounce and other changes * Remove no_suspend_power_down from keyboards/leeku/finger65/rules.mk Co-Authored-By: fauxpark <fauxpark@gmail.com> * move to newer format and remove unused stuff * ensure default has no leds for now * change default layout name * clean up the keymap a bit * want grave not tilde * a minor change and cleanup * more stuff removed cause I don't care for LEDs * remove some remaining stuff * add RGBLED stuff * Update keyboards/leeku/finger65/usbconfig.h Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/leeku/finger65/usbconfig.h Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/leeku/finger65/usbconfig.h Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/leeku/finger65/usbconfig.h Co-Authored-By: fauxpark <fauxpark@gmail.com> * update USB information * Update keyboards/leeku/finger65/usbconfig.h Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/leeku/finger65/rules.mk Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/leeku/finger65/rules.mk Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/leeku/finger65/rules.mk Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/leeku/finger65/rules.mk Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/leeku/finger65/keymaps/default/keymap.c Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/leeku/finger65/keymaps/default/keymap.c Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/leeku/finger65/keymaps/madhatter/keymap.c Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/leeku/finger65/keymaps/madhatter/keymap.c Co-Authored-By: fauxpark <fauxpark@gmail.com> * cleanup and conform to existing standard * Update keyboards/leeku/finger65/rules.mk Co-Authored-By: fauxpark <fauxpark@gmail.com> * remove stuff that doesn't work * add a JSON for the QMK configurator * list the layouts only available * let's just make it the 65 ansi layout with split backspace, eh? * remove extra space * Update keyboards/leeku/finger65/readme.md Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/leeku/finger65/readme.md Co-Authored-By: fauxpark <fauxpark@gmail.com> * update readme * remove redundant title * Monica Bellucci ruined my life * I'm having a RELIGIOUS EXPERIENCE ... and I don't take any DRUGS * Update keyboards/leeku/finger65/rules.mk Co-Authored-By: fauxpark <fauxpark@gmail.com> * add a URL to the username * fix readme and make it simpler with links this time * Update keyboards/leeku/finger65/readme.md Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/leeku/finger65/readme.md Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com> * incorporate suggested changes * update usb stuff for some stuff coming in the future * update layout for LAYOUT_ALL * USB power changes
2019-11-15 08:30:29 +06:00
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCE 5
/* number of backlight levels */
#define BACKLIGHT_LEVELS 1