[mythtv] [PATCH] Add joysticks as an input device to MythtTV

Jeremy White jwhite at codeweavers.com
Tue Sep 28 22:30:38 EDT 2004


Joseph A. Caputo wrote:
> On Tuesday 28 September 2004 10:25, Daniel Thor Kristjansson wrote:
> 
>>]> Changelog:
>>]>    Provide a facility to allow joystick devices to
>>]>    be used as input to MythTV.
>>]
>>]Wouldn't it be simpler to just use the joy2key utility?  It has the
>>]advantage of being able to direct key events to arbitrary programs,
>>]like irxevent, so you could use it to control mplayer or xine as
>>well.

The honest truth is that I wasn't aware of the joy2key utility
(that's the problem with 'apt-cache search'; if it's not in there,
it doesn't exist <grin>).

However, the joy2key utility does not currently work; the challenge is
to send keys to the 'correct' mythfrontend window, but it is
not clear how to select the correct window.  Further, if it
did work, I suspect that it would be problematic because during
the game play it would be sending key stroke events to the
mythfrontend.

Now I suspect it might be possible to modify joy2key to make this
work; I haven't thought of a way, but if I was motivated, I could
probably kludge something up.  However, I think at this point, the
same arguments that worked for lirc should work for this patch.
IMHO, it's a nice addition to Myth and does no harm.

Cheers,

Jeremy


More information about the mythtv-dev mailing list