I need some help. I've got a little Perl app meant to navigate through my ROM collection and launch the games in whatever emulator is appropriate for that game. I've been using it for years, but I now have a computer dedicated to my ROM collection and hooked up to my TV and would like very much to not have a keyboard and mouse hooked up to it.

My question is this: is there a way to navigate through a TK listbox using a joystick/gamepad? Ideally I'd like to be able to use one axis for each listbox and a button on the gamepad to trigger the function that lauches the game. This is the only obstacle left keeping me from doing away with the keyboard and mouse. I've looked at a couple joystick libraries but I haven't had any luck. If it makes a difference, this app is running on a Debian GNU/Linux box.

In reply to TK Listbox and gamepads by Sisk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.