allow InputDeviceHandlers to provide a device-specific input string for displaying

This commit is contained in:
Chris Danford
2005-08-17 07:45:54 +00:00
parent 365e564939
commit 456b12a555
@@ -30,6 +30,9 @@ public:
virtual void Update( float fDeltaTime ) { }
virtual void GetDevicesAndDescriptions( vector<InputDevice>& vDevicesOut, vector<CString>& vDescriptionsOut ) = 0;
// override to return a pretty string that's specific to the controller type
virtual CString GetDeviceSpecificInputString( const DeviceInput &di ) { return di.toString(); }
/* 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() { }