/* SmartScroll / CruiseControl for some newer Logitech mice Defaults to enabled if we do nothing to it. Of course I put this in because I want it disabled :P 1 - enabled (if previously disabled, also default) 0 - disabled  */
static void ps2pp_set_smartscroll(struct psmouse *psmouse, bool smartscroll)
/* SmartScroll / CruiseControl for some newer Logitech mice Defaults to enabled if we do nothing to it. Of course I put this in because I want it disabled :P 1 - enabled (if previously disabled, also default) 0 - disabled  */
static void ps2pp_set_smartscroll(struct psmouse *psmouse, bool smartscroll)
{
	struct ps2dev *ps2dev = &psmouse->ps2dev;
	unsigned char param[4];
	ps2pp_cmd(psmouse, param, 0x32);
	param[0] = 0;
	ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES);
	ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES);
	ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES);
	param[0] = smartscroll;
	ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES);
}