mouse: move declaration from structs to mouse header