qmk_firmware

QMK firmware for my keyboards (Corne, Sweep Ferris) and trackball (Ploopy Adept)
Log | Files | Refs | Submodules | LICENSE

config_mock_split_role.h (456B)


      1 // Copyright 2022-2023 Nick Brassel (@tzarc)
      2 // SPDX-License-Identifier: GPL-2.0-or-later
      3 #pragma once
      4 #include "config_encoder_common.h"
      5 
      6 #define MATRIX_ROWS 1
      7 #define MATRIX_COLS 1
      8 
      9 /* Here, "pins" from 0 to 31 are allowed. */
     10 #define ENCODER_A_PINS {0, 2}
     11 #define ENCODER_B_PINS {1, 3}
     12 #define ENCODER_A_PINS_RIGHT {4, 6}
     13 #define ENCODER_B_PINS_RIGHT {5, 7}
     14 
     15 #ifdef __cplusplus
     16 extern "C" {
     17 #endif
     18 
     19 #include "mock_split.h"
     20 
     21 #ifdef __cplusplus
     22 };
     23 #endif