Add DeviceInput::IsJoystick.

This commit is contained in:
Glenn Maynard
2003-09-03 22:28:46 +00:00
parent 8f3927478f
commit 315d225724
+2
View File
@@ -82,6 +82,8 @@ public:
char ToChar() const;
bool IsJoystick() const { return DEVICE_JOY1 <= device && device <= DEVICE_JOY4; }
static int NumButtons(InputDevice device);
};