
add_library(Qt5::QXInputGamepadBackendPlugin MODULE IMPORTED)


_populate_Gamepad_plugin_properties(QXInputGamepadBackendPlugin RELEASE "gamepads/xinputgamepad.dll" TRUE)
_populate_Gamepad_plugin_properties(QXInputGamepadBackendPlugin DEBUG "gamepads/xinputgamepadd.dll" TRUE)

list(APPEND Qt5Gamepad_PLUGINS Qt5::QXInputGamepadBackendPlugin)
set_property(TARGET Qt5::Gamepad APPEND PROPERTY QT_ALL_PLUGINS_gamepads Qt5::QXInputGamepadBackendPlugin)
set_property(TARGET Qt5::QXInputGamepadBackendPlugin PROPERTY QT_PLUGIN_TYPE "gamepads")
set_property(TARGET Qt5::QXInputGamepadBackendPlugin PROPERTY QT_PLUGIN_EXTENDS "")
