add a ctor

This commit is contained in:
Glenn Maynard
2003-07-14 06:21:30 +00:00
parent 5adb26a169
commit 7483a249b4
+1
View File
@@ -65,6 +65,7 @@ public:
DeviceInput() { device=DEVICE_NONE; button=-1; ts.SetZero(); }
DeviceInput( InputDevice d, int b ) { device=d; button=b; ts.SetZero(); }
DeviceInput( InputDevice d, int b, const RageTimer &t ) { device=d; button=b; ts = t; }
bool operator==( const DeviceInput &other )
{