EventGhostPlus (5 Viewers)

matejdro

Portal Pro
May 28, 2010
361
16
Home Country
Slovenia Slovenia
(Assuming you never used EventGhost before. Sorry if this guide sounds too dumb)

1. Install EventGhost
2. After you open it, create new file (leftmost icon in toolbar).
3. Add MediaPortal plugin (puzzle icon in toolbar), you can find it under Program Control.
4. When it asks you to "Add Actions", just click OK.

Now on the right side you have MediaPortal folder with bunch of Macros in it. When you select macro and execute it (green play button in toolbar), this action should happen in MediaPortal. For example if you select Cursor Right macro and press Execute, it should emulate cursor right key in mediaportal.

This worked until 1.6, but does not appear to work now.
 

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    I have try and seems that all is set like it should but still no work on 1.6.0 Pre-release, so i surely missing something :)
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    @Deda :)

    Reading Wiki about messageplugin : (http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/17_Extensions/3_Plugins/Message_Plugin)
    Code:
    Information
    This plugin listens for Windows Messages of the value 0x8000 (32768) with a WParam of 0x18 (24). It passes the LParam straight into the Input Handler.  So LParam must represent a Remote Button from the list below.

    Maybe it's USB device detection that break eventghost ?
    I need first to make it work on 1.6.0Pre-release but maybe it's a good culprit lol
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Hmmm that maybe @michael_t :

    Removed code :
    Code:
          // TODO: should not call return here, no process plugins should be allowed to abort windows message processing
          // forward message to process plugins
          if (PluginManager.WndProc(ref msg))
          {
            // msg.Result = new IntPtr(0); <-- do plugins really set it on their own?
            return;
          }

    What do you think ?
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Ok event is send if i revert the michael branch lol.
    So need to see what failed exactly :)
     

    Users who are viewing this thread

    Top Bottom