split this up

Fix losing keyboard input when changing graphics settings (this happened
with the old code, too).
This commit is contained in:
Glenn Maynard
2003-06-18 05:43:12 +00:00
parent 4b1a6c4e1a
commit 81fbead16b
10 changed files with 440 additions and 327 deletions
@@ -30,6 +30,10 @@ public:
virtual void Update(float fDeltaTime) { }
virtual ~InputHandler() { }
virtual void GetDevicesAndDescriptions(vector<InputDevice>& vDevicesOut, vector<CString>& vDescriptionsOut) = 0;
/* In Windows, some devices need to be recreated if we recreate our main window.
* Override this if you need to do that. */
virtual void WindowReset() { }
};
#endif