forked from mirrors/qmk_userspace
V1 Max ISO version updated to 1.0.2; tidied up V1 Max
This commit is contained in:
parent
ebdaa0469c
commit
79dadb3831
7 changed files with 30 additions and 44 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright 2023 @ Keychron (https://www.keychron.com)
|
||||
/* Copyright 2023 ~ 2024 @ 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
|
||||
|
|
@ -20,6 +20,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
|
||||
|
|
@ -42,8 +55,6 @@
|
|||
|
||||
# if defined(RGB_MATRIX_ENABLE)
|
||||
|
||||
# define LED_DRIVER_SHUTDOWN_PIN B7
|
||||
|
||||
/* Backlit disable timeout when keyboard is disconnected(unit: second) */
|
||||
# define DISCONNECTED_BACKLIGHT_DISABLE_TIMEOUT 40
|
||||
|
||||
|
|
@ -60,12 +71,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