diff --git a/stepmania/src/RageInputDevice.h b/stepmania/src/RageInputDevice.h index 0c1f12b501..40cf81b78c 100644 --- a/stepmania/src/RageInputDevice.h +++ b/stepmania/src/RageInputDevice.h @@ -82,6 +82,8 @@ public: char ToChar() const; + bool IsJoystick() const { return DEVICE_JOY1 <= device && device <= DEVICE_JOY4; } + static int NumButtons(InputDevice device); };