add a ctor
This commit is contained in:
@@ -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 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user