Lines Matching refs:DeviceEvent
60 return x11::Input::DeviceEvent::KeyPress; in XIKeyEventType()
62 return x11::Input::DeviceEvent::KeyRelease; in XIKeyEventType()
73 return x11::Input::DeviceEvent::ButtonPress; in XIButtonEventType()
75 return x11::Input::DeviceEvent::ButtonRelease; in XIButtonEventType()
99 void InitValuatorsForXIDeviceEvent(x11::Input::DeviceEvent* devev) { in InitValuatorsForXIDeviceEvent()
115 x11::Input::DeviceEvent event; in CreateXInput2Event()
118 event.opcode = static_cast<x11::Input::DeviceEvent::Opcode>(evtype); in CreateXInput2Event()
189 auto* dev_event = event_.As<x11::Input::DeviceEvent>(); in InitGenericKeyEvent()
203 auto* dev_event = event_.As<x11::Input::DeviceEvent>(); in InitGenericButtonEvent()
218 event_.As<x11::Input::DeviceEvent>()->detail = wheel_delta > 0 ? 4 : 5; in InitGenericMouseWheelEvent()
227 event_ = CreateXInput2Event(deviceid, x11::Input::DeviceEvent::Motion, 0, in InitScrollEvent()
246 event_ = CreateXInput2Event(deviceid, x11::Input::DeviceEvent::Motion, in InitFlingScrollEvent()
285 auto* devev = event_.As<x11::Input::DeviceEvent>(); in SetUpValuators()