in reply to TK Listbox and gamepads

I have never done this so take this with a grain of salt.

You are going to need some kind of device driver for the joystick/gamepad that remaps the device inputs to standard x-events. xserver-xorg-input-joystick seems like a likely candidate. Set up your mappings, then bind the appropriate actions to those mappings. See perdoc Tk::bind and perldoc Tk::event for details.

Replies are listed 'Best First'.
Re^2: TK Listbox and gamepads
by Sisk (Novice) on Oct 21, 2010 at 03:47 UTC
    This does what I was wanting and more now that I've had time to sit down and mess with it. xserver-xorg-input-joystick allows me to set up my gamepad as a mouse at the OS level. I mapped one of the sticks and a couple of the buttons I don't use in my emulators as mouse functions and it works beautifully. Thanks.