[mythtv] [PATCH] Add joysticks as an input device to MythtTV
Krunoslav Pisacic
k.pisacic at vip.hr
Wed Sep 29 03:56:38 EDT 2004
I have tried joy2key a couple of weeks ago - it was working but it was sending keys as Shift key was constantly pressed (tried in
kwrite). So it did not work with myth.
There is also joyd ( http://www.cgarbs.de/joyd.en.html ) which look more like irxevent (that is what i wanted). Using it you can
call xse to send keystroke events to mythfrontend window. I have compile it, but haven't tried it yet.
But i would agree it would be good to include joy support into myth itself. Will try your patches as soon as i get time - or they
get included into new release sooner :))
br,
Kruno
-----Original Message-----
From: Jeremy White [mailto:jwhite at codeweavers.com]
Sent: Wednesday, September 29, 2004 4:31 AM
To: Development of mythtv
Subject: Re: [mythtv] [PATCH] Add joysticks as an input device to MythtTV
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