24a25 > static int intellimouse; 60c61 < static short msg[3]; --- > static short msg[4]; 63c64 < int buttons, dx, dy; --- > int buttons, dx, dy, dz; 72c73,76 < if(++nb == 3){ --- > if (++nb >= 3) { > if ((intellimouse) && (nb < 4)) > return; > 79a84,91 > > if (intellimouse) { > dz = (char) msg[3]; > > if (dz) > buttons |= 2; > } > 104d115 < static int intellimouse;