#pragma once
#include <cstdint>

namespace ni {
	struct MouseEvent {
		int32_t deltaX;
		int32_t deltaY;
		int32_t deltaWheel;
		uint8_t leftButtonDown;
		uint8_t rightButtonDown;
		uint8_t middleButtonDown;
	};
}
#pragma once
#include <cstdint>

namespace ni {
	struct MouseEvent {
		int32_t deltaX;
		int32_t deltaY;
		int8_t deltaWheel;
		uint8_t leftButtonDown;
		uint8_t rightButtonDown;
		uint8_t middleButtonDown;
	};
	static_assert(sizeof(MouseEvent) == 12, "Improper mouse event size");
}
Change MouseWheel deltaWheel field size to one byte. Add compile time size check to Mouse Event.
Change MouseWheel deltaWheel field size to one byte. Add compile time size check to Mouse Event.
