On 02/22/2013 10:56 AM, Singh, Satyeshwar wrote: > + if (!device->pending_events || !(device->pending_events & > EVDEV_SYN)) This is the same as: if (!(device->pending_events & EVDEV_SYN)) (ie all the other bits in pending_events are ignored). is this correct?