4 #ifndef SWIFT_INPUT_JOYSTICKLINUX_H
5 #define SWIFT_INPUT_JOYSTICKLINUX_H
20 namespace swift::input
51 QFile *m_fd =
nullptr;
77 void cleanupJoysticks();
80 void addJoystickDevice(
const QString &path);
82 void joystickButtonChanged(
const QString &name,
int index,
bool isPressed);
89 void reloadDevices(
QString path);
bool exists(const QString &fileName)
QObject * parent() const const