forked from forks/qmk_firmware
b92387b749
* Add vlukash CrKbd keymap to support trackpad adapter. The trackpad adapter uses Elite-C board that has five extra pins. Also SPI pins are taken for trackpad, keymap config updates column data pins for matrix scan. * Update vlukash keymap * Enable pointing devide, configure mouse BTN1 * Set TAPPING_TERM to 300 * Add support for the BlackBerry 8520 trackpad * Add vlukash keymap for master-right no-trackpad version * Remap backspace * Set EXTRAKEY_ENABLE = yes * Update thumb keys mappings * Set bootloader to atmel-dfu * Sync keymap * Add scrolling support * Make debug LEDS conditional * Add support for both flex and no-flex PCBs * Add readme and rename root folders * Update readme file with blog link * Fix readme file formatting * Remove ADJUST keycode, code cleanup. * Add Win key to the keymap.
36 lines
906 B
C
36 lines
906 B
C
#pragma once
|
|
|
|
#define NO_DEBUG_LEDS
|
|
|
|
// Connector PCB version
|
|
// 1 - PCB that supports flex caple and the trackpad sensor is mounted on an 'H' keycap
|
|
// - https://github.com/vlukash/corne-trackpad/tree/master/connector
|
|
// 2 - PCB woth no flex option, track sensor mounted directly on the PCB
|
|
// - https://github.com/vlukash/corne-trackpad/tree/master/connector-no-flex
|
|
#define TRACKPAD_CONNECTOR_VER 1
|
|
|
|
/* Select hand configuration */
|
|
#define MASTER_RIGHT
|
|
|
|
#define USE_SERIAL_PD2
|
|
|
|
#define TAPPING_FORCE_HOLD
|
|
#define TAPPING_TERM 300
|
|
|
|
#undef RGBLED_NUM
|
|
#define RGBLIGHT_ANIMATIONS
|
|
#define RGBLED_NUM 27
|
|
#define RGBLIGHT_LIMIT_VAL 120
|
|
#define RGBLIGHT_HUE_STEP 10
|
|
#define RGBLIGHT_SAT_STEP 17
|
|
#define RGBLIGHT_VAL_STEP 17
|
|
|
|
/* key matrix size */
|
|
// Rows are doubled-up
|
|
#undef MATRIX_COL_PINS
|
|
#define MATRIX_COL_PINS { F4, F5, F6, F7, B7, D5 }
|
|
|
|
/* ws2812 RGB LED */
|
|
#undef RGB_DI_PIN
|
|
#define RGB_DI_PIN B5
|