Skip Menu |

This queue is for tickets about the Linux-Input CPAN distribution.

Report information
The Basics
Id: 28416
Status: resolved
Priority: 0/
Queue: Linux-Input

People
Owner: beppu [...] cpan.org
Requestors: perl [...] leeland.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.02
Fixed in: (no value)



Subject: EV_SYN sync events are not reported
The poll method does not push events with a type value of zero, # From sub poll push @ev, $event unless ($type == 0); I don't know how common this is across platforms (common I would think), but on Ubuntu 2.6.20 686, input.h defines EV_SYN as 0, so no sync events are passed. perl 5.8.8 Linux::Input 1.02 Linux 2.6.20 i686 Very handy module btw :) Thanks, -Lee
You are absolutely right. I changed it to do a defined($type) instead so that events where $type == 0 will make it through. Look for version 1.03 to be uploaded soon. On Sat Jul 21 15:50:59 2007, perl@leeland.net wrote: Show quoted text
> The poll method does not push events with a type value of zero, > > # From sub poll > push @ev, $event unless ($type == 0); > > I don't know how common this is across platforms (common I would think), > but on Ubuntu 2.6.20 686, input.h defines EV_SYN as 0, so no sync events > are passed. > > perl 5.8.8 > Linux::Input 1.02 > Linux 2.6.20 i686 > > Very handy module btw :) > > Thanks, > -Lee