Re: Doing a non-standard ioctl in Perl

2008-11-13 Thread Roger Burton West
On Fri, Nov 07, 2008 at 10:43:27AM +, Jonathan Stowe wrote: Is there a linux/input.ph or is it possible to generate one from the linux/input.h using h2ph ? Apparently. Maybe. cd /usr/include h2ph -a linux/input.h produces lots and lots of output. Whoopee. Running the program with require

Re: Doing a non-standard ioctl in Perl

2008-11-07 Thread Jonathan Stowe
2008/11/6 Roger Burton West [EMAIL PROTECTED]: For various reasons, I want to do an EVIOCGRAB ioctl. perldoc -f ioctl tells me require sys/ioctl.ph, and gives all sorts of scary warnings. But EVIOCGRAB isn't in sys/ioctl.ph. What's the approved way of doing this? That's the only ioctl I'm

Doing a non-standard ioctl in Perl

2008-11-06 Thread Roger Burton West
For various reasons, I want to do an EVIOCGRAB ioctl. perldoc -f ioctl tells me require sys/ioctl.ph, and gives all sorts of scary warnings. But EVIOCGRAB isn't in sys/ioctl.ph. What's the approved way of doing this? That's the only ioctl I'm likely to want to use in this program, so I don't