64 lines
1.7 KiB
C
64 lines
1.7 KiB
C
#pragma once
|
|
|
|
|
|
/* key matrix size */
|
|
#define MATRIX_ROWS 12
|
|
#define MATRIX_COLS 7
|
|
|
|
/* PCB default pin-out */
|
|
// #define MATRIX_ROW_PINS { B10, B11, B12, B13, B14, B15 }
|
|
// #define MATRIX_COL_PINS { A0, A1, A2, A3, A6, A7, B0 }
|
|
|
|
// #define MCP23_ROW_PINS { GPB5, GBP4, GBP3, GBP2, GBP1, GBP0 }
|
|
// #define MCP23_COL_PINS { GPA0, GBA1, GBA2, GBA3, GBA4, GBA5, GBA6 }
|
|
|
|
// #define MCP23_LED_R GPB7
|
|
// #define MCP23_LED_G GPB6
|
|
// #define MCP23_LED_B GPA7
|
|
|
|
// Not needed, is default address:
|
|
// #define EXTERNAL_EEPROM_I2C_BASE_ADDRESS 0b10100000
|
|
|
|
/* COL2ROW or ROW2COL */
|
|
#define DIODE_DIRECTION ROW2COL
|
|
|
|
/* 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 LED_BRIGHTNESS_LO 5
|
|
#define LED_BRIGHTNESS_HI 100
|
|
#define LED_BRIGHTNESS_DEFAULT (LED_BRIGHTNESS_LO)
|
|
|
|
#define DRIVER_ADDR_1 0b1110100
|
|
#define DRIVER_ADDR_2 0b1110111
|
|
|
|
#define DRIVER_COUNT 2
|
|
#define DRIVER_1_LED_TOTAL 36
|
|
#define DRIVER_2_LED_TOTAL 36
|
|
#define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
|
|
#define RGB_MATRIX_CENTER { 125, 26 }
|
|
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 175
|
|
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
|
#define RGB_MATRIX_KEYPRESSES
|
|
#define RGB_DISABLE_WHEN_USB_SUSPENDED
|
|
|
|
#ifndef ISSI_TIMEOUT
|
|
#define ISSI_TIMEOUT 5
|
|
#endif
|
|
|
|
#define MOUSEKEY_INTERVAL 20
|
|
#define MOUSEKEY_DELAY 0
|
|
#define MOUSEKEY_TIME_TO_MAX 60
|
|
#define MOUSEKEY_MAX_SPEED 7
|
|
#define MOUSEKEY_WHEEL_DELAY 400
|
|
#define MOUSEKEY_WHEEL_INTERVAL MOUSEKEY_INTERVAL
|
|
#define MOUSEKEY_WHEEL_MAX_SPEED MOUSEKEY_MAX_SPEED
|
|
#define MOUSEKEY_WHEEL_TIME_TO_MAX MOUSEKEY_TIME_TO_MAX
|
|
|
|
#define TAPPING_TOGGLE 1
|
|
|
|
// Delay between each i2c io expander ops (in MCU cycles)
|
|
#define IO_EXPANDER_OP_DELAY 500
|