1174 // See if this is a cursor device such as a trackball or mouse. 1175 if (test_bit(BTN_MOUSE, device->keyBitmask) 1176 && test_bit(REL_X, device->relBitmask) 1177 && test_bit(REL_Y, device->relBitmask)) { 1178 device->classes |= INPUT_DEVICE_CLASS_CURSOR; 1179 ALOGV("device->keyBitmask have INPUT_DEVICE_CLASS_CURSOR"); 1180 }else 1181 ALOGV("device->keyBitmask not have INPUT_DEVICE_CLASS_CURSOR");