Posted by Adhi on Saturday, February 25, 2012 at 12:55pm.
linux is not a programming language. A simple perl program might be
my @queue;
open JS,"/dev/joystick";
while (<JS>) {
push @queue, cmd($_);
}
close JS;
sub cmd {
my $js = shift;
my $cmd;
... code to form command ...
return $cmd;
}
Related Questions
Computers - I asedthi question areay, but I accidentally wrote in linux rather ...
Embedded Software - How would you write a linux program to read data from a ...
MIS Nooona MBA - 1- I need some ways the company use data on computers before ...
computers - · Write a 200- to 350-word paper that describes the ...
computers - Write a 300- to 400-word paper that describes the distinctions of ...
Mba - 1- three ways that companies use to destroy their data before destroying ...
Computers (Anonymous) - Your post has been removed. Once you write up YOUR ...
IT210 - Identify at least two data structures that are used to organize a ...
BIS 155 Data Analysis w/Spreadsheet - How would I begin to compile data into ...
QBASIC, Computers - The following is a list of salaries of the six employees in ...
For Further Reading