summaryrefslogtreecommitdiff
path: root/quantum
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@drashna.net>2023-04-05 15:36:08 -0700
committerGitHub <noreply@github.com>2023-04-05 23:36:08 +0100
commit71159275597d49fde16cd6643d106223415b0451 (patch)
tree8d92dc4fa48d52e1cde71eae1631fd8012b922ae /quantum
parent2e9997fd92988390e4f7ebb3dbc5860a7c097e97 (diff)
[Bug] Fix compilation issue with Swap Hands and Encoder Map (#20348)
Diffstat (limited to 'quantum')
-rw-r--r--quantum/action.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/quantum/action.c b/quantum/action.c
index 41686b5a5e..dadb88e9df 100644
--- 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))