Repair Spleeb i2c config and chrishoage keymap (#20644)
This commit is contained in:
parent
c55c7fed83
commit
0b62a4ef72
|
@ -22,7 +22,7 @@
|
||||||
# define POINTING_DEVICE_GESTURES_CURSOR_GLIDE_ENABLE
|
# define POINTING_DEVICE_GESTURES_CURSOR_GLIDE_ENABLE
|
||||||
#endif // POINTING_DEVICE_ENABLE
|
#endif // POINTING_DEVICE_ENABLE
|
||||||
|
|
||||||
#define I2C_DRIVER I2CD1
|
#define I2C_DRIVER I2CD0
|
||||||
#define I2C1_SDA_PIN GP16
|
#define I2C1_SDA_PIN GP16
|
||||||
#define I2C1_SCL_PIN GP17
|
#define I2C1_SCL_PIN GP17
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
#include QMK_KEYBOARD_H
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
// Double tap TD(0) to enter bootloader
|
// Double tap TD(0) to enter bootloader
|
||||||
static void enter_qk_boot(qk_tap_dance_state_t *state, void *user_data) {
|
static void enter_qk_boot(tap_dance_state_t *state, void *user_data) {
|
||||||
if (state->count >= 2) {
|
if (state->count >= 2) {
|
||||||
reset_keyboard();
|
reset_keyboard();
|
||||||
reset_tap_dance(state);
|
reset_tap_dance(state);
|
||||||
|
@ -13,7 +13,7 @@ static void enter_qk_boot(qk_tap_dance_state_t *state, void *user_data) {
|
||||||
|
|
||||||
enum SpleebLayer { _BASE = 0, _FN, _MOUSE };
|
enum SpleebLayer { _BASE = 0, _FN, _MOUSE };
|
||||||
|
|
||||||
qk_tap_dance_action_t tap_dance_actions[] = {[0] = ACTION_TAP_DANCE_FN(enter_qk_boot)};
|
tap_dance_action_t tap_dance_actions[] = {[0] = ACTION_TAP_DANCE_FN(enter_qk_boot)};
|
||||||
|
|
||||||
// clang-format off
|
// clang-format off
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
Loading…
Reference in New Issue