qmk_firmware

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

config_encoder_common.h (247B)


      1 // Copyright 2023 Nick Brassel (@tzarc)
      2 // SPDX-License-Identifier: GPL-2.0-or-later
      3 #pragma once
      4 
      5 // Override the one in quantum/util because it doesn't like working on x64 builds.
      6 #define ARRAY_SIZE(array) (sizeof((array)) / sizeof((array)[0]))