Hi group,
I am trying to read input.c. Can somebody tell me
what this piece of code does?
----------------------------------------------------------------------------------------------------------------------------------
if
(dev->grab)
dev->grab->handler->event(dev->grab, type, code, value); else list_for_each_entry(handle, &dev->h_list, d_node) if (handle->open) handle->handler->event(handle, type, code, value); ----------------------------------------------------------------------------------------------------------------------------------
What is dev->grab? I mean what represents it? is
it the same as handle or dev?
With kind regards,
PA
|