Remapping remote buttons

View: New views
5 Messages — Rating Filter:   Alert me  

Remapping remote buttons

by Dean Edwards-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi,

My first post to the list.  Many thanks to the developers for creating
mvpmc.

I've been using mvpmc with a D1 mediaMVP for a couple of years.  My Sagem
PVR now sits idle under the TV.  I just got myself another mvp for a second
TV.  This time it is H4 revision hardware.  I have both working OK with two
instances of tftpd and one of in.mvp (http://inetdxtra.sourceforge.net/#mvp)
running from inetd (using the instructions for booting flash based hardware
in the wiki).

The problem I have is the remote that comes with the H4.  Though tt has more
buttons (and poorer ergonomics/layout) than the one that comes with the D1,
it lacks the fullscreen button.

How do I remap one of the redundant buttons?  Can this be done via the
CLI/config or would it require recompiling the dongle?  Also, can it be done
in a such a way that it won't affect the operation of the D1 and its remote?
Still like to use a single dongle and single config file.

I'd be very grateful for any guidance.

Dean


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Mvpmc-users mailing list
Mvpmc-users@...
https://lists.sourceforge.net/lists/listinfo/mvpmc-users
mvpmc wiki: http://mvpmc.wikispaces.com/

Re: Remapping remote buttons

by stuart-20 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Dean Edwards wrote:

> Hi,
>
> My first post to the list.  Many thanks to the developers for creating
> mvpmc.
>
> I've been using mvpmc with a D1 mediaMVP for a couple of years.  My Sagem
> PVR now sits idle under the TV.  I just got myself another mvp for a second
> TV.  This time it is H4 revision hardware.  I have both working OK with two
> instances of tftpd and one of in.mvp (http://inetdxtra.sourceforge.net/#mvp)
> running from inetd (using the instructions for booting flash based hardware
> in the wiki).
>
> The problem I have is the remote that comes with the H4.  Though tt has more
> buttons (and poorer ergonomics/layout) than the one that comes with the D1,
> it lacks the fullscreen button.
>
> How do I remap one of the redundant buttons?  Can this be done via the
> CLI/config or would it require recompiling the dongle?  Also, can it be done
> in a such a way that it won't affect the operation of the D1 and its remote?
> Still like to use a single dongle and single config file.
>
> I'd be very grateful for any guidance.
>
> Dean

It's been a while, but, I believe the button mapping is done on an
application by application bases.  If you want to change something you
probably need to re-write the source code.

Why?

Different applications needed to deal with the buttons differently.
Some applications wanted to know how long you held a button down. Or
used one of the buttons as a "shift" key.

So, I take it the D4 looks like this:
> http://linuxdevices.com/files/misc/hauppage_media_mvp-thm.jpg

And the H4 looks like this:
> http://www.gadgetpeople.co.nz/images/products/Hauppauge_UPC01008_77992_t.gif

And the D4 has "full screen" and the H4 does not.

Also, you didn't say which application you were using.  I'll assume the
mythtv client.

Ok, I've looked at the source code.  In video.c I see both the FULL and
PREV_CHAN keys mapped to the same action.  Providing the mythtv client
uses this function (method) both keys should do the same thing.

Let's take another look at the remote I think you don't like:
> http://www.hauppauge.com/images/new_remote.jpg

Yep, I see just below the circle of arrows a "Prev. Ch" key.  Try that
one and see if it doesn't give you the full screen feature when using
the mythtv client.

Hope this helps.





------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Mvpmc-users mailing list
Mvpmc-users@...
https://lists.sourceforge.net/lists/listinfo/mvpmc-users
mvpmc wiki: http://mvpmc.wikispaces.com/

Re: Remapping remote buttons

by Tom Metro-10 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dean Edwards wrote:
> The...remote that comes with the H4...lacks the fullscreen button.

The function of that button is to bring you back to the video occupying
the full screen when you're in the mode of viewing menus with the video
in a small window?

If so, I can confirm that Stuart's research is correct and the "Prev.
Ch" key on the big remote accomplishes this. This is documented in the
chart at the bottom of this page:

http://mvpmc.wikispaces.com/remote

What isn't documented is the behavior of the "Full" button on the small
remote. I've updated the chart to reflect that for the MythTV client it
does the same thing as "Prev. Ch" key. Feel free to document what the
key does in other mvpmc applications.

  -Tom


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Mvpmc-users mailing list
Mvpmc-users@...
https://lists.sourceforge.net/lists/listinfo/mvpmc-users
mvpmc wiki: http://mvpmc.wikispaces.com/

Re: Remapping remote buttons

by Dean Edwards-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 

Tom Metro wrote:

>Dean Edwards wrote:
>> The...remote that comes with the H4...lacks the fullscreen button.
>
>The function of that button is to bring you back to the video occupying
>the full screen when you're in the mode of viewing menus with the video
>in a small window?

Yes, that's the one.

>If so, I can confirm that Stuart's research is correct and the "Prev.
>Ch" key on the big remote accomplishes this. This is documented in the
>chart at the bottom of this page:

>http://mvpmc.wikispaces.com/remote

I just tried the 'prev ch' button in both mythtv and playback from
filesystem/vlc and it works fine.  I must have missed it when trying to find
the key earlier.

Many thanks for the help.

Dean

>What isn't documented is the behavior of the "Full" button on the small
>remote. I've updated the chart to reflect that for the MythTV client it
>does the same thing as "Prev. Ch" key. Feel free to document what the
>key does in other mvpmc applications.

>  -Tom


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Mvpmc-users mailing list
Mvpmc-users@...
https://lists.sourceforge.net/lists/listinfo/mvpmc-users
mvpmc wiki: http://mvpmc.wikispaces.com/

Re: Remapping remote buttons

by Dean Edwards-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Stuart wrote:

>Dean Edwards wrote:
> Hi,
>
> My first post to the list.  Many thanks to the developers for creating
> mvpmc.
>
> I've been using mvpmc with a D1 mediaMVP for a couple of years.  My Sagem
> PVR now sits idle under the TV.  I just got myself another mvp for a
second
> TV.  This time it is H4 revision hardware.  I have both working OK with
two
> instances of tftpd and one of in.mvp
(http://inetdxtra.sourceforge.net/#mvp)
> running from inetd (using the instructions for booting flash based
hardware
> in the wiki).
>
> The problem I have is the remote that comes with the H4.  Though tt has
more
> buttons (and poorer ergonomics/layout) than the one that comes with the
D1,
> it lacks the fullscreen button.
>
> How do I remap one of the redundant buttons?  Can this be done via the
> CLI/config or would it require recompiling the dongle?  Also, can it be
done
> in a such a way that it won't affect the operation of the D1 and its
remote?
> Still like to use a single dongle and single config file.
>
> I'd be very grateful for any guidance.
>
> Dean

It's been a while, but, I believe the button mapping is done on an
application by application bases.  If you want to change something you
probably need to re-write the source code.

Why?

Different applications needed to deal with the buttons differently.
Some applications wanted to know how long you held a button down. Or
used one of the buttons as a "shift" key.

So, I take it the D4 looks like this:
> http://linuxdevices.com/files/misc/hauppage_media_mvp-thm.jpg

And the H4 looks like this:
>
http://www.gadgetpeople.co.nz/images/products/Hauppauge_UPC01008_77992_t.gif

And the D4 has "full screen" and the H4 does not.

Also, you didn't say which application you were using.  I'll assume the
mythtv client.

Ok, I've looked at the source code.  In video.c I see both the FULL and
PREV_CHAN keys mapped to the same action.  Providing the mythtv client
uses this function (method) both keys should do the same thing.

Let's take another look at the remote I think you don't like:
> http://www.hauppauge.com/images/new_remote.jpg

Yep, I see just below the circle of arrows a "Prev. Ch" key.  Try that
one and see if it doesn't give you the full screen feature when using
the mythtv client.

Hope this helps.

//////////////

Hi Stuart.  Sorry for the poor quoting, I'm using MS Outlook ATM.

Prev Ch works as you suggest.
Since posting I downloaded mvpmc source to see if I could compile it, in
preparation if needed!  I managed to compile the dongle which was
reassuring.  Looks like I won't need to now though.

Thanks for the help.

Dean





------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Mvpmc-users mailing list
Mvpmc-users@...
https://lists.sourceforge.net/lists/listinfo/mvpmc-users
mvpmc wiki: http://mvpmc.wikispaces.com/