Linux-Input

 view release on metacpan or  search on metacpan

lib/Linux/Input.pm  view on Meta::CPAN

  ($Config{i32size})          # input_event.value
);
Linux::Input->mk_classdata('timeout');
Linux::Input->timeout(0.01);

# instaniate a new input device
sub new {
  my $class    = shift;
  my $filename = shift;
  my $self     = { };
  bless ($self => $class);

  $self->{fh} = IO::File->new("< $filename");
  die($!) unless ($self->{fh});

  return $self;
}

# get filehandle of device
sub fh {
  my $self = shift;

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.624 second using v1.00-cache-2.02-grep-82fe00e-cpan-1925d2aa809 )