NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 87 88 89 90 91 … 93 Next »
MediaMVP Keycodes

 
  • 0 Vote(s) - 0 Average
MediaMVP Keycodes
Tobias
Offline

Junior Member

Posts: 37
Threads: 5
Joined: Sep 2004
#1
2004-09-18, 10:28 AM
I have stumbled in to a problem...

In my upcoming AlbumPlayer plugin (which is based on the Jukebox plugin) I want to force a "Render" of the currently playing list. With MediaMVP is not a good thing to use the "Continuously update..." setting since the plugin gets extremely slow...

Anyway, in the jukebox plugin you press the green key on the remote to update/view the currently playing list (queue) which causes the screen to update. I want to do the same when pressing Skip/Previous on the remote (switch songs in playlist). I found this code:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
/// Is called by GBPVR in response to a key being pressed while this
/// task is active. The task should return true if it has performed some action
/// as a result of the key press - which will inturn cause the task to be render()'d
/// </summary>
public bool OnKeyDown(System.Windows.Forms.KeyEventArgs e)
{
// Green key skips to now playing list immediately.
if ( e.Control &amp;&amp; e.KeyCode == Keys.G )
{
mode = 1;
return true;
}
...
[/QUOTE]

Aha, I figured. If I only added the Skip/Previous keys here and returned &quot;true&quot; if they were pressed it should render automatically (read the comments).

But which keys do I use? I have tried with Keys.MediaNextTrack and Keys.MediaPreviousTrack without result...

It would be awesome to get a keylist for the Media MVP remote and which key definition in the code that match a certain key. Anyone done this?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,677
Threads: 767
Joined: Nov 2003
#2
2004-09-18, 05:06 PM
http://www.gbpvr.com/QuickStart/shortcuts.htm has pretty much all the keystrokes listed.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Can the MediaMVP DirectShow graph be modified from a plugin? jmemmott 0 1,269 2005-05-30, 07:33 PM
Last Post: jmemmott
  PicturesPlugin with MediaMVP Slideshow ecruos 10 4,590 2004-10-08, 05:56 PM
Last Post: jeffcora

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode