forked from mirrors/qmk_userspace
Added K11 Max JIS
This commit is contained in:
parent
3a445969c4
commit
b507ea2216
24 changed files with 1523 additions and 56 deletions
|
@ -1,4 +1,4 @@
|
|||
/* Copyright 2024 @ Keychron (https://www.keychron.com)
|
||||
/* Copyright 2024 ~ 2025 @ Keychron (https://www.keychron.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
|
||||
|
@ -19,6 +19,19 @@
|
|||
#define ENCODER_DEFAULT_POS 0x3
|
||||
#define ENCODER_MAP_KEY_DELAY 2
|
||||
|
||||
#if defined(RGB_MATRIX_ENABLE) || defined(LED_MATRIX_ENABLE) || defined(LK_WIRELESS_ENABLE)
|
||||
/* SPI configuration */
|
||||
# define SPI_DRIVER SPID1
|
||||
# define SPI_SCK_PIN A5
|
||||
# define SPI_MISO_PIN A6
|
||||
# define SPI_MOSI_PIN A7
|
||||
#endif
|
||||
|
||||
#if defined(RGB_MATRIX_ENABLE) || defined(LED_MATRIX_ENABLE)
|
||||
# define LED_DRIVER_SHUTDOWN_PIN B7
|
||||
# define SNLED23751_SPI_DIVISOR 16
|
||||
#endif
|
||||
|
||||
#ifdef LK_WIRELESS_ENABLE
|
||||
/* Hardware configuration */
|
||||
# define P2P4_MODE_SELECT_PIN A10
|
||||
|
@ -43,26 +56,19 @@
|
|||
|
||||
# if defined(RGB_MATRIX_ENABLE) || defined(LED_MATRIX_ENABLE)
|
||||
|
||||
# define LED_DRIVER_SHUTDOWN_PIN B7
|
||||
|
||||
# define BT_HOST_LED_MATRIX_LIST \
|
||||
{ 15, 16, 17 }
|
||||
|
||||
# define P2P4G_HOST_LED_MATRIX_LIST \
|
||||
{ 18 }
|
||||
|
||||
# define BAT_LEVEL_LED_LIST \
|
||||
{ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }
|
||||
|
||||
/* Backlit disable timeout when keyboard is disconnected(unit: second) */
|
||||
# define DISCONNECTED_BACKLIGHT_DISABLE_TIMEOUT 40
|
||||
|
||||
/* Backlit disable timeout when keyboard is connected(unit: second) */
|
||||
# define CONNECTED_BACKLIGHT_DISABLE_TIMEOUT 600
|
||||
|
||||
/* Reinit LED driver on tranport changed */
|
||||
# define REINIT_LED_DRIVER 1
|
||||
|
||||
# endif
|
||||
|
||||
/* Keep USB connection in blueooth mode */
|
||||
|
@ -71,11 +77,6 @@
|
|||
/* Enable bluetooth NKRO */
|
||||
# define WIRELESS_NKRO_ENABLE
|
||||
|
||||
/* Raw hid command for factory test and bluetooth DFU */
|
||||
# define RAW_HID_CMD 0xAA ... 0xAB
|
||||
#else
|
||||
/* Raw hid command for factory test */
|
||||
# define RAW_HID_CMD 0xAB
|
||||
#endif
|
||||
|
||||
/* Factory test keys */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue