adds mouse flags