Home | History | Annotate | Download | only in moused

Lines Matching defs:resolution

347     int resolution;		/* MOUSE_RES_XXX or a positive number */
367 .resolution = MOUSE_RES_UNKNOWN,
623 rodent.resolution = MOUSE_RES_HIGH;
625 rodent.resolution = MOUSE_RES_HIGH;
627 rodent.resolution = MOUSE_RES_MEDIUMLOW;
629 rodent.resolution = MOUSE_RES_LOW;
631 rodent.resolution = MOUSE_RES_DEFAULT;
633 rodent.resolution = atoi(optarg);
634 if (rodent.resolution <= 0) {
1030 "usage: moused [-DRcdfs] [-I file] [-F rate] [-r resolution] [-S baudrate]",
1125 rodent.mode.resolution = MOUSE_RES_UNKNOWN;
1309 /* Resolution is in 'lines per inch' on the Hitachi tablet */
1310 if (rodent.resolution == MOUSE_RES_LOW) c = 'g';
1311 else if (rodent.resolution == MOUSE_RES_MEDIUMLOW) c = 'e';
1312 else if (rodent.resolution == MOUSE_RES_MEDIUMHIGH) c = 'h';
1313 else if (rodent.resolution == MOUSE_RES_HIGH) c = 'd';
1314 else if (rodent.resolution <= 40) c = 'g';
1315 else if (rodent.resolution <= 100) c = 'd';
1316 else if (rodent.resolution <= 200) c = 'e';
1317 else if (rodent.resolution <= 500) c = 'h';
1318 else if (rodent.resolution <= 1000) c = 'j';
1368 if (rodent.resolution != MOUSE_RES_UNKNOWN)
1369 rodent.mode.resolution = rodent.resolution;