Lines Matching defs:ev
27 void HandlePointersEvent(const input_event &ev, uint32_t type)
29 PointersInputDevice::GetInstance().HandlePointEvent(ev, type);
64 void PointersInputDevice::HandleEvAbsMt(const input_event &ev)
82 if (auto it = evMap.find(ev.code); it != evMap.end()) {
83 it->second(ev.value);
87 int PointersInputDevice::HandlePointEvent(const input_event &ev, uint32_t type)
89 if (ev.type == EV_ABS) {
90 HandleEvAbsMt(ev);
93 if (ev.type == EV_KEY && ev.code == BTN_TOUCH) {
94 SetFingerDown(ev.value == 1);