Home
last modified time | relevance | path

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

/device/google/cuttlefish/host/frontend/vnc_server/
Dvirtual_inputs.cpp240 void InitInputEvent(struct input_event* evt, uint16_t type, uint16_t code, in InitInputEvent() function
256 InitInputEvent(&events[0], EV_KEY, keymapping_[key_code], down); in GenerateKeyPressEvent()
257 InitInputEvent(&events[1], EV_SYN, 0, 0); in GenerateKeyPressEvent()
264 InitInputEvent(&events[0], EV_KEY, KEY_POWER, down); in PressPowerButton()
265 InitInputEvent(&events[1], EV_SYN, 0, 0); in PressPowerButton()
273 InitInputEvent(&events[0], EV_ABS, ABS_X, x); in HandlePointerEvent()
274 InitInputEvent(&events[1], EV_ABS, ABS_Y, y); in HandlePointerEvent()
275 InitInputEvent(&events[2], EV_KEY, BTN_TOUCH, touch_down); in HandlePointerEvent()
276 InitInputEvent(&events[3], EV_SYN, 0, 0); in HandlePointerEvent()