mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-29 22:45:51 +00:00
9b393700d2
* use pragma once * modified readme with maintainer info * remove rev1 for the time being * QMK Configurator support for 60_ansi and 60_ansi_split_bs_rshift * add hhkb layout and QMK Configurator support * fix compile issue due to missing DEVICE_VER * use a saner and less complicated default layout * remove unused file * fix up LAYOUT_all and formatting along with QKM Configurator support * turn on bootmagic lite as the hardware reset switch isn't in a standard position * remove default folder
78 lines
2.1 KiB
C
78 lines
2.1 KiB
C
/*
|
|
Copyright 2012 Jun Wako <wakojun@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"
|
|
|
|
/* USB Device descriptor parameter */
|
|
#define VENDOR_ID 0xFEED
|
|
#define PRODUCT_ID 0x6060
|
|
#define DEVICE_VER 0x0001
|
|
#define MANUFACTURER Greenwald Designs
|
|
#define PRODUCT Waldo
|
|
#define DESCRIPTION A 60% board
|
|
/* key matrix size */
|
|
#define MATRIX_ROWS 5
|
|
#define MATRIX_COLS 15
|
|
|
|
/* Planck PCB default pin-out */
|
|
#define MATRIX_ROW_PINS { F0, F1, F4, F5, F6 }
|
|
#define MATRIX_COL_PINS { F7, D5, D3, D2, B3, B2, C7, C6, B6, B5, B4, D7, D6, D4, B1 }
|
|
#define UNUSED_PINS
|
|
|
|
#define BACKLIGHT_PIN B7
|
|
|
|
/* COL2ROW or ROW2COL */
|
|
#define DIODE_DIRECTION COL2ROW
|
|
|
|
/* define if matrix has ghost */
|
|
//#define MATRIX_HAS_GHOST
|
|
|
|
/* number of backlight levels */
|
|
#define BACKLIGHT_LEVELS 3
|
|
|
|
/* Set 0 if debouncing isn't needed */
|
|
#define DEBOUNCING_DELAY 5
|
|
|
|
/* 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
|
|
|
|
// RGB LED
|
|
#define RGB_DI_PIN B0 // The pin the LED strip is connected to
|
|
#define RGBLED_NUM 10 // Number of LEDs in your strip
|