type MouseState = {
buttons: {
left: boolean,
middle: boolean,
right: boolean,
},
button: "left" | "middle" | "right" | null,
x: number,
y: number,
moveX: number,
moveY: number,
}
packages / workbench / src / providers / event-provider.ts