logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

config.h (1039B)


  1. // Copyright 2022 Chris Hoage (@chrishoage)
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. // Auto mouse layer makes use of the Cirque touchdown indicator which requires
  5. // the touch sensor to be on the master side
  6. #define MASTER_RIGHT
  7. // Transport dpi and enc mode for display on oled
  8. #define SPLIT_TRANSACTION_IDS_KB RPC_ID_KB_CONFIG_SYNC
  9. #ifdef POINTING_DEVICE_ENABLE
  10. # define POINTING_DEVICE_AUTO_MOUSE_ENABLE
  11. // Absolute mode allows for z/touchdown triggering of auto mouse layer with out
  12. // moving finger
  13. # define CIRQUE_PINNACLE_POSITION_MODE CIRQUE_PINNACLE_ABSOLUTE_MODE
  14. # define POINTING_DEVICE_GESTURES_CURSOR_GLIDE_ENABLE
  15. #endif // POINTING_DEVICE_ENABLE
  16. #define I2C_DRIVER I2CD0
  17. #define I2C1_SDA_PIN GP16
  18. #define I2C1_SCL_PIN GP17
  19. #ifdef OLED_ENABLE
  20. # define OLED_DISPLAY_128X64
  21. # define OLED_FONT_H "./lib/glcdfont.c"
  22. #endif // OLED_ENABLE
  23. #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
  24. #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17
  25. #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U