Hi,

> My input device model (milkymist-softusb.c) polls (hid_keyboard_poll()) 
> exactly once per event callback. Actually, i don't see any other way to 
> do it because the hid_keyboard_poll() always succeeds even if there is 
> no event in the queue.

You can use hid_has_events() to figure whenever there are events in the
queue or not.

cheers,
  Gerd



Reply via email to