Home
last modified time | relevance | path

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

/frameworks/native/services/vr/virtual_touchpad/
DEvdevInjector.cpp131 int EvdevInjector::ConfigureAbs(uint16_t abs_type, int32_t min, int32_t max, in ConfigureAbs() argument
135 abs_type, min, max, fuzz, flat); in ConfigureAbs()
136 if (abs_type < 0 || abs_type >= ABS_CNT) { in ConfigureAbs()
137 ALOGE("EV_ABS type 0x%" PRIX16 " out of range [0,0x%X)", abs_type, ABS_CNT); in ConfigureAbs()
146 if (const int status = uinput_->IoctlSetInt(UI_SET_ABSBIT, abs_type)) { in ConfigureAbs()
147 ALOGE("failed to enable EV_ABS 0x%" PRIX16 "", abs_type); in ConfigureAbs()
150 uidev_.absmin[abs_type] = min; in ConfigureAbs()
151 uidev_.absmax[abs_type] = max; in ConfigureAbs()
152 uidev_.absfuzz[abs_type] = fuzz; in ConfigureAbs()
153 uidev_.absflat[abs_type] = flat; in ConfigureAbs()
DEvdevInjector.h82 int ConfigureAbs(uint16_t abs_type, int32_t min, int32_t max, int32_t fuzz,