Simon Wistow (deflatermouse) wrote,
Simon Wistow
deflatermouse

Linux::Input::Info

For various reasons I have need of extracting various bits of information from the /dev/input/event* devices under Linux. Previously I'd been using this which was based on Gerd Knorr's input tools which felt a bit hacky.

John Beppu's Linux::Input doesn't seem to do quite what I wanted so I dug into Gerd's C and then wrapped some XS round it et voilá, it's all good. Enter Linux::Input::Info, stage left.

The only things I'm worried about are detcting whether or not there is a input device module on the system (I've got no non-input devices to check against) and memory leaks. I should really look at Devel::LeakTrace, Devel::ObjectTracker or Devel::Leak.

Tags: beppu, devel, dug, enter, gerd, input, knorr, linux, memory leaks, stage left, voil
Subscribe
  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 0 comments