Home
last modified time | relevance | path

Searched refs:CheckBit (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/foundation/multimodalinput/input/libudev/src/
H A Dudev_device.cpp358 bool has3dCoordinates = abs.CheckBit(ABS_X) && abs.CheckBit(ABS_Y) && abs.CheckBit(ABS_Z); in CheckAccel()
420 probablyTablet = key.CheckBit(BTN_STYLUS) || key.CheckBit(BTN_TOOL_PEN); in UpdateProByKey()
421 … probablyTouchpad = key.CheckBit(BTN_TOOL_FINGER) && !key.CheckBit(BTN_TOOL_PEN) && !isDirect; in UpdateProByKey()
427 bool hasMtCoordinates = abs.CheckBit(ABS_MT_POSITION_X) && abs.CheckBit(ABS_MT_POSITION_Y); in CheckMtCoordinates()
429 if (hasMtCoordinates && abs.CheckBit(ABS_MT_SLOT) && abs.CheckBit(ABS_MT_SLOT - 1)) { in CheckMtCoordinates()
449 bool hasAbsCoordinates = abs.CheckBit(ABS_X) && abs.CheckBit(ABS_Y); in CheckPointers()
450 bool hasRelCoordinates = ev.CheckBit(EV_REL) && rel.CheckBit(REL_X) && rel.CheckBit(REL_Y); in CheckPointers()
507 if (!ev.CheckBit(EV_KEY)) { in CheckKeys()
514 found = key.CheckBit(i); in CheckKeys()
558 …if (!isPointer && !isKey && ev.CheckBit(EV_REL) && (rel.CheckBit(REL_WHEEL) || rel.CheckBit(REL_HW… in CheckInputProperties()
[all …]