"false") return;
		e.preventDefault();
		if (e.shiftKey) { // brightness change
			brightness_change_cpu2(e.deltaY);
		} else if (e.ctrlKey) { // contrast change
			contrast_change_cpu2(e.deltaY);
		} else { // zoom
			const factor = e.deltaY > 0 ? 2 : 0.5;
			const [x,y]= cpu_xy_cpu2(e);
			viewport_scale_cpu2(x, y, factor)
		}
		apply_transforms_cpu2();
	});


	for (const c of [cpu2])
	c.addEventListener("mousedown", function(e) {
		e.preventDefault();
		if (e.which == 3) {
			viewport_reset_cpu2();
			ap