Lines Matching defs:rate
404 int rate; /* report rate */
424 int scrollspeed; /* Movement distance to rate of scrolling */
431 .rate = 0,
751 rodent.rate = atoi(optarg);
752 if (rodent.rate <= 0) {
1374 "usage: moused [-DRcdfs] [-I file] [-F rate] [-r resolution] [-S baudrate]",
1509 rodent.mode.rate = -1;
1640 ** first, then select the baud rate.
1654 ** Selecting a sample rate is no longer supported with the MouseMan!
1663 * The baud rate selection command must be sent at the current
1664 * baud rate; try all likely settings
1674 /* select report rate/frequency */
1675 if (rodent.rate <= 0) write(rodent.mfd, "O", 1);
1676 else if (rodent.rate <= 15) write(rodent.mfd, "J", 1);
1677 else if (rodent.rate <= 27) write(rodent.mfd, "K", 1);
1678 else if (rodent.rate <= 42) write(rodent.mfd, "L", 1);
1679 else if (rodent.rate <= 60) write(rodent.mfd, "R", 1);
1680 else if (rodent.rate <= 85) write(rodent.mfd, "M", 1);
1681 else if (rodent.rate <= 125) write(rodent.mfd, "Q", 1);
1774 if (rodent.rate >= 0)
1775 rodent.mode.rate = rodent.rate;