[Bug] Fix compilation issue with Swap Hands and Encoder Map (#20348)

This commit is contained in:
Drashna Jaelre 2023-04-05 15:36:08 -07:00 committed by GitHub
parent 2e9997fd92
commit 7115927559
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,6 +39,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# include "pointing_device.h" # include "pointing_device.h"
#endif #endif
#if defined(ENCODER_ENABLE) && defined(ENCODER_MAP_ENABLE) && defined(SWAP_HANDS_ENABLE)
# include "encoder.h"
#endif
int tp_buttons; int tp_buttons;
#if defined(RETRO_TAPPING) || defined(RETRO_TAPPING_PER_KEY) || (defined(AUTO_SHIFT_ENABLE) && defined(RETRO_SHIFT)) #if defined(RETRO_TAPPING) || defined(RETRO_TAPPING_PER_KEY) || (defined(AUTO_SHIFT_ENABLE) && defined(RETRO_SHIFT))