[mythtv-users] All in Wonder Remote and Mute
Joe Schmidt
joe_schmidt at nospammail.net
Tue May 13 13:55:25 EDT 2003
The folks at freeplaytv
(http://homepage.mac.com/johnsflowers/FreeplayTV/Documentation.html)
[scroll to the end] have made a little patch for the remote for MythTV.
It doesn't seem to cover the shift/mute functionality, but perhaps their
example could help you guys? I'm still grappling with other MythTV
problems (and waiting for a new sound card), but I'm concerned about
this issue since I ordered my ATI remote about 24 hours ago. :-)
Jason Schloer wrote:
> I’m probably not the best to answer this as I just got my ati remote
> yesterday, but I hacked something together real quick. It’s truly a
> hack as I don’t totally understand the ins and outs of linux devices.
> I’d like to send it to you to test out, but don’t think I should paste
> an attachemtnt to the board list. Essentially all I did was add a
> #define for a new
>
> #define KIND_FILTERED_SHIFT 8
>
> then I copied the KIND_FILTERED handler around line 276 and made a new
> handler for my new type. Then I put this in before the existing
> input_event calls:
>
> input_event(dev, EV_KEY, KEY_LEFTSHIFT, 1);
>
> and this after:
>
> input_event(dev, EV_KEY, KEY_LEFTSHIFT, 0);
>
> essentially telling it to hold the shift keys while it sends the
> backslash. I’m sure there’s a better way to do it and I have no way to
> test it right now as I’m at work, but let me know if it helps you.
>
> Oh and of course you’ll have to change the existing entry in the
> ati_remote_translation_table to look like this
>
> {KIND_FILTERED_SHIFT, 0xcf, 0x0a, EV_KEY, KEY_BACKSLASH, 1},
>
> Again let me know if this works at all. It definitely compiles, but I
> have no clue if it’ll work.
>
> Question for you. My remote works perfectly most of the time, but
> every once in a while it’ll seem to stop responding. I can use the
> keyboard and change the channels, but the remote does nothing. And
> sometimes it actually will respond but a long time after I actually
> hit the button. Just wondering if you experience the same thing.
>
> *Jason Schloer*
>
> Tango Enterprises, Inc.
>
> 11150 Sunset Hills Rd., #250
>
> Reston, VA 20190
>
> Tel: 703-964-4000
>
> Fax: 703-964-4600
>
> -----Original Message-----
> *From:* mythtv-users-bounces at snowman.net
> [mailto:mythtv-users-bounces at snowman.net] *On Behalf Of *Kyle Bowerman
> *Sent:* Monday, May 12, 2003 9:44 PM
> *To:* Discussion about mythtv
> *Subject:* [mythtv-users] All in Wonder Remote and Mute
>
> I have abandoned the use of my ALL-IN-WONDER ATI 7500 for the
> PixelView PlayTV pro but the All in wonder Remote is a far better
> remote. Since it is USB I had no problems getting it to work with the
> basic usb drivers and the ati_remote from gatos.
>
> I mapped the keys by editing the ati_remote.c file and changing the
> last value to the value that corresponds with the myth keys using the
> /usr/include/linux/input.h.
>
> You can either put the key name [i.e KEY_LEFT] or the integer value [
> i.e. 105]
>
> My problem is that the mute function is the only shift function [i.e.
> | or shift / ] . The input.h file only has the primary keys (lower
> case) not the shift keys. There must be a simple way to call the shift
> keys but I can't figure it out. I have tried every combination of the
> shift key and the \ key but they either wont compile or it does not work.
>
> If anyone has a suggestions I would appreciate it.
>
> I am also looking for a way to map the special keys like the "TV" key
> to an application like mythfrontend. I am sure someone has written a
> listener program but I can't find one.
>
> Thanks
>
> Kyle Bowerman
>
>
>
More information about the mythtv-users
mailing list