2019-02-26 01:24:11 +00:00
|
|
|
/*
|
|
|
|
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"
|
|
|
|
|
|
|
|
/* USB Device descriptor parameter */
|
|
|
|
#define VENDOR_ID 0xCDCD
|
|
|
|
#define PRODUCT_ID 0x5337
|
|
|
|
#define DEVICE_VER 0x0001
|
2020-02-11 01:14:19 +00:00
|
|
|
#define MANUFACTURER shensmobile
|
2019-02-26 01:24:11 +00:00
|
|
|
#define PRODUCT Boardwalk
|
|
|
|
#define DESCRIPTION QMK keyboard firmware for Boardwalk
|
|
|
|
|
|
|
|
/* key matrix size */
|
|
|
|
#define MATRIX_ROWS 5
|
|
|
|
#define MATRIX_COLS 14
|
|
|
|
|
|
|
|
/*
|
|
|
|
* 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 MATRIX_ROW_PINS { F0, F1, F4, F5, F6 }
|
|
|
|
#define MATRIX_COL_PINS { F7, C7, C6, B6, B5, B4, D7, D6, D4, D5, D3, D2, D1, D0 }
|
|
|
|
#define UNUSED_PINS
|
|
|
|
|
2020-01-20 07:05:51 +00:00
|
|
|
/* COL2ROW, ROW2COL */
|
2019-02-26 01:24:11 +00:00
|
|
|
#define DIODE_DIRECTION COL2ROW
|
|
|
|
|
|
|
|
// #define BACKLIGHT_PIN F5
|
|
|
|
// #define BACKLIGHT_LEVELS 6
|
|
|
|
|
|
|
|
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
2019-06-06 19:09:56 +00:00
|
|
|
#define DEBOUNCE 5
|
2019-02-26 01:24:11 +00:00
|
|
|
|
|
|
|
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
|
|
|
#define LOCKING_SUPPORT_ENABLE
|
|
|
|
/* Locking resynchronize hack */
|
|
|
|
#define LOCKING_RESYNC_ENABLE
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Feature disable options
|
|
|
|
* These options are also useful to firmware size reduction.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* disable debug print */
|
|
|
|
//#define NO_DEBUG
|
|
|
|
|
|
|
|
/* disable print */
|
|
|
|
//#define NO_PRINT
|
|
|
|
|
|
|
|
/* disable action features */
|
|
|
|
//#define NO_ACTION_LAYER
|
|
|
|
//#define NO_ACTION_TAPPING
|
|
|
|
//#define NO_ACTION_ONESHOT
|
|
|
|
//#define NO_ACTION_MACRO
|
|
|
|
//#define NO_ACTION_FUNCTION
|
|
|
|
|
|
|
|
// ws2812 options
|
|
|
|
#define RGB_DI_PIN B7 // pin the DI on the ws2812 is hooked-up to
|
|
|
|
#define RGBLIGHT_ANIMATIONS // run RGB animations
|
|
|
|
#define RGBLED_NUM 14 // number of LEDs
|
|
|
|
#define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue
|
|
|
|
#define RGBLIGHT_SAT_STEP 25 // units to step when in/decresing saturation
|
|
|
|
#define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness)
|