

#import "RFBPointerEvent.h"

@implementation RFBPointerEvent
-(id)init {
    return [self initWithDt:0 Dx:0 Dy:0 Sx:0 Sy:0 V:CGPointZero Button1Pressed:NO Button2Pressed:NO ScrollSensitivity:0 ButtonPresses:0];
}

-(id)initWithDt:(NSTimeInterval)dt Dx:(float)dx Dy:(float)dy Sx:(float)sx Sy:(float)sy V:(CGPoint)v Button1Pressed:(BOOL)button1 Button2Pressed:(BOOL)button2 ScrollSensitivity:(int8_t)sS ButtonPresses:(int8_t)btnIts{
   	if ((self = [super init])) {
		_dt = dt;
		_dx = dx, _dy = dy;
		_button1 = button1;
		_button2 = button2;
		_sx = sx, _sy = sy;
        _v = v;
        _scrollSensitivity = sS;
        _buttonIterations = btnIts;
	}
	
	return self;
}
@end
