rem: pos->time = currentTime;
add: pos->timestamp = currentTime;
context: packet_to_movement(uint8 packet[], mouse_pos *pos){	int buttons = packet[0] & 7;	int xDelta = ((packet[0] & 0x10) ? 0xFFFFFF00 : 0) | packet[1];	int yDelta = ((packet[0] & 0x20) ? 0xFFFFFF00 : 0) | packet[2];  	bigtime_t currentTime = system_time();	  	if (buttons != 0) {  		if (sButtonsState == 0) {  			if (sLastClickTime + sClickSpeed > currentTime)  				sClickCount++;  			else  				sClickCount = 1;  		}  	}  	  	sLastClickTime = currentTime;  	sButtonsState = buttons;  	  	if (pos) {		pos->xdelta = xDelta;		pos->ydelta = yDelta;		pos->buttons = buttons;		pos->clicks = sClickCount;		pos->modifiers = 0;		pos->time = currentTime;		pos->wheel_delta = 0;	}}