Skip to content

Commit

Permalink
[Bug] Fix compilation issue with Swap Hands and Encoder Map (qmk#20348)
Browse files Browse the repository at this point in the history
  • Loading branch information
drashna authored Apr 5, 2023
1 parent 2e9997f commit 7115927
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions quantum/action.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 7115927

Please sign in to comment.