mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-16 17:04:50 +00:00
8e9a81a860
* add license headers * tidy-up revision rules.mk files - convert tabs to spaces - align inline comments - update rule ordering * touch-up readme.md * touch-up rev1/rev1.h - convert tabs to spaces - convert to QMK 3-character notation for matrix positions * rev1/rev1.h: add matrix diagram * touch-up rev2/rev2.h - convert tabs to spaces - convert to QMK 3-character notation for matrix positions * rev2/rev2.h: add matrix diagrams * rev1/info.json: apply friendly formatting * rev2/info.json: apply friendly formatting * refactor layout macros - switch `LAYOUT_ansi_1u` with `LAYOUT_75_ansi` - makes `LAYOUT_75_ansi` the canonical macro name, with `LAYOUT_ansi_1u` as an alias for backwards compatibility - move `LAYOUT_ansi_1u` alias to `info.json` files from revision headers - remove `LAYOUT_iso_1u` (was unused) - rename `LAYOUT_ansi` to `LAYOUT_75_ansi_rwkl` - rename `LAYOUT_iso` to `LAYOUT_75_iso_rwkl` * refactor default keymap - use four-space indent - update grid alignment * refactor iso keymap - refactor to use `LAYOUT_75_iso` macro - change from Split to 2u Backspace - change from Split to Standard Spacebar - change `KC_BSLS` keycode to `KC_NUHS`, and place on home row - use four-space indent - update grid alignment * refactor via keymap - use four-space indent - update grid alignment * touch-up readme.md again Fix a broken link. * update section comments in revision header files * add Full Winkeyless layouts - add `LAYOUT_75_ansi_wkl` and `LAYOUT_75_iso_wkl` layout macros
53 lines
1.3 KiB
C
53 lines
1.3 KiB
C
// Copyright 2017-2021 QMK
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include "config_common.h"
|
|
|
|
/* USB Device descriptor parameter */
|
|
#define VENDOR_ID 0x4B42
|
|
#define MANUFACTURER qmkbuilder
|
|
#define PRODUCT KBD75
|
|
|
|
/* key matrix size */
|
|
#define MATRIX_ROWS 6
|
|
#define MATRIX_COLS 16
|
|
|
|
/* key matrix pins */
|
|
#define MATRIX_ROW_PINS { D0, D1, D2, D3, D5, B7 }
|
|
#define MATRIX_COL_PINS { F0, F1, E6, C7, C6, F5, D4, B1, B0, B5, B4, D7, D6, B3, F4, F6 }
|
|
#define UNUSED_PINS
|
|
|
|
/* COL2ROW or ROW2COL */
|
|
#define DIODE_DIRECTION COL2ROW
|
|
|
|
#define LED_CAPS_LOCK_PIN B2
|
|
#define LED_PIN_ON_STATE 0
|
|
|
|
/* number of backlight levels */
|
|
#define BACKLIGHT_PIN B6
|
|
#ifdef BACKLIGHT_PIN
|
|
#define BACKLIGHT_LEVELS 5
|
|
#endif
|
|
|
|
/* Set 0 if debouncing isn't needed */
|
|
#define DEBOUNCE 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
|
|
|
|
#define RGB_DI_PIN E2
|
|
#ifdef RGB_DI_PIN
|
|
#define RGBLIGHT_ANIMATIONS
|
|
#define RGBLED_NUM 16
|
|
#define RGBLIGHT_HUE_STEP 8
|
|
#define RGBLIGHT_SAT_STEP 8
|
|
#define RGBLIGHT_VAL_STEP 8
|
|
#define RGBLIGHT_SLEEP
|
|
/* If defined, the RGB lighting will be switched off when the host goes to sleep */
|
|
#define RGBLIGHT_SLEEP
|
|
#endif
|