commit 71159275597d49fde16cd6643d106223415b0451
parent 2e9997fd92988390e4f7ebb3dbc5860a7c097e97
Author: Drashna Jaelre <drashna@drashna.net>
Date: Wed, 5 Apr 2023 15:36:08 -0700
[Bug] Fix compilation issue with Swap Hands and Encoder Map (#20348)
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/quantum/action.c b/quantum/action.c
@@ -39,6 +39,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# include "pointing_device.h"
#endif
+#if defined(ENCODER_ENABLE) && defined(ENCODER_MAP_ENABLE) && defined(SWAP_HANDS_ENABLE)
+# include "encoder.h"
+#endif
+
int tp_buttons;
#if defined(RETRO_TAPPING) || defined(RETRO_TAPPING_PER_KEY) || (defined(AUTO_SHIFT_ENABLE) && defined(RETRO_SHIFT))