Lines Matching refs:uint8
46 const static uint8 kMaxBytesToRead = 255; // Serial PnP data can be this long.
57 uint8 num_bytes;
58 uint8 sync[3];
113 for (uint8 i = 1; i <= fPortsCount; i++) {
133 uint8 retries = 4;
164 uint8 id_length = 0;
247 SerialMouse::ParseID(char buffer[], uint8 length)
338 uint8 bytes_read;
363 for (uint8 i = 1; i <= mpsize; i++) {
381 const uint8 kPrimaryButton = 1;
382 const uint8 kSecondaryButton = 2;
383 const uint8 kTertiaryButton = 4;
385 static uint8 previous_buttons = 0; // only meaningful for kMicrosoft.
404 ((uint8) mm->buttons == (previous_buttons & ~kTertiaryButton))) {
434 uint8 tmp = (~data[0] & 0x07);
447 // uint8 tmp = (data[3] & 0x20); // 3th button bit.