Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.865.140 Times

Linux::Input 1.02

  Date Added: July 09, 2010  |  Visits: 1.450

Linux::Input

Report Broken Link
Printer Friendly Version


Product Homepage
Download (85 downloads)



Linux::Input is a Linux input event interface. SYNOPSIS Example: 1 joystick using event API my $js1 = Linux::Input->new(/dev/input/event3); while (1) { while (my @events = $js1->poll(0.01)) { foreach (@event) { } } } Example: 2 joysticks using joystick API (different event structure) my $js1 = Linux::Input::Joystick->new(/dev/input/js0); my $js2 = Linux::Input::Joystick->new(/dev/input/js1); my $selector = IO::Select->new(); $selector->add($js1->fh); $selector->add($js2->fh); while (my $fh = $selector->can_read) { my @event; if ($fh == $js1->fh) { @event = $js1->poll() } elsif ($fh == $js2->fh) { @event = $js2->poll() } foreach (@event) { # work } } Example 3: monitor all input devices use File::Basename qw(basename); my @inputs = map { "/dev/input/" . basename($_) } ; my @dev; my $selector = IO::Select->new(); foreach (@inputs) { my $device = Linux::Input->new($_); $selector->add($device->fh); push @dev, $device; } while (my $fh = $selector->can_read) { # work } Example 4: testing for events on the command line # information on what event queue belongs to what device cat /proc/bus/input/devices # verify that events are coming in sudo evtest.pl /dev/input/event*.

Requirements: No special requirements
Platforms: Linux
Keyword: Event Fh Input Input Event Libraries Linux Linux Input Event Linuxinput New Programming
Users rating: 0/10

License: Freeware Size: 6.14 KB
USER REVIEWS
More Reviews or Write Review


LINUX::INPUT RELATED
Libraries  -  G15Daemon 1.9.0 pre 2.0
G15daemon takes control of the Logitech G15 keyboard, allowing the use of all keys through the Linux kernel input device driver. It also controls the use of the keyboards LCD display, allows multiple client applications to connect, and gives the...
276.48 KB  
Utilities  -  Columbo Simple Serial Library 0.9.4
Columbo Simple Serial Library is an easy to use, event driven serial port communication library for Linux.
20.48 KB  
Utilities  -  rPath Linux 1.0.6
rPath Linux is a freely-available Linux operating system distribution, built with the Conary distributed software management system, supported and maintained by rPath, Inc. The rPath Linux distribution contains high-quality, up-to-date software,...
 
Miscellaneous  -  kexec the newest linux kernel 1.1
Kexec is a mechanism to use linux itself to load a new kernel without going through the BIOS thus minimizing down time. This script kexecs the newest kernel on the system managed by rpm (assumes a Redhat like system).
 
Libraries  -  Pod::Dsr 1.02
Pod::Dsr is a Perl module Convert POD data to formatted DSR input SYNOPSIS use Pod::Dsr; my $parser = Pod::Dsr->new (release => $VERSION, section => 8); # Read POD from STDIN and write to STDOUT. $parser->parse_from_filehandle; # Read...
102.4 KB  
Utilities  -  Zenserver 0.5
Zenwalk Linux (formerly Minislack) is a Slackware-based GNU/Linux operating system with a goal of being slim and fast by using only one application per task and with focus on graphical desktop and multimedia usage. Zenwalk features the latest...
263.4 MB  
Development Tools  -  Training Ramp Periodic signal to Sinusoidal Relaxation oscillator VI1 with Simulink 1.0
It is a Training for students with a ramp periodic input signal to sinusoidal relaxation oscillator VI1 with a new block library simulink.
10 KB  
Business  -  EVENT PARTNER 2.1.12
EVENT PARTNER Are you working in the event industry and would like to be informed about actual trends, news an facts regarding the event market? Or are you planning a big event and want to get an overview of popular event hot-spots, creative...
25.9 MB  
Business  -  My Event Guide 2.0
Event Guide reduces the need for printed event materials providing a practical, user friendly guide for many types of multi-session, public and private events. Event Guide was created to provide easy to access event information on your iOS device....
2.3 MB  
Business  -  Smart Event Manager Mobile 1.7
Smart Event Manager Mobile is de mobiele uitbreiding van Smart Event Manager. De app is beschikbaar voor licentiehouders van Smart Event Manager en vereist dat de Connector op de server is geinstalleerd. De daarvoor geautoriseerde gebruikers...
2 MB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB