Inputdevice Manager for MP2 (2 Viewers)

FreakyJ

Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    I've just created a little plugin which allows everyone to map key combinations of his HID to any special key available in MP2.

    How to install:
    Copy the folder inside teh archiv to the Plugins folder of the MP2 Client.

    How to use:
    1) got to Settings -> select "Inputdevices" -> select "Inputdevice Manager"
    2) follow the onscreen instructions :)

    Source: FreakyJ/MediaPortal-2

    Step1.PNGStep2.PNGStep3.PNGStep4.PNG

    Update 20.03.2016
    New Version by Osre attached below

    Update 2018-04-07
    New Version V1.2: recompiled against MP 2.1.3, no functional changes
     

    Attachments

    • 269025_InputdeviceManager_V1_1.zip
      24.8 KB
    • InputdeviceManager_V1_2.7z
      19 KB
    Last edited by a moderator:

    johanj

    MP Donator
  • Premium Supporter
  • January 31, 2009
    781
    398
    46
    Home Country
    Sweden Sweden
    Looks useful if one use a regular remote. Any interest in adding a tcp/ip server as well for receiving commands? I guess I can try to use this plugin and send commands to the logitech touchmouse server but that is more of a workaround instead of sending commands directly to MP2 plugin.
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    Looks useful if one use a regular remote. Any interest in adding a tcp/ip server as well for receiving commands?
    Could you elaborate this a little bit more?
    I could probably add a TCP Listener:
    https://msdn.microsoft.com/de-de/library/system.net.sockets.tcplistener(v=vs.110).aspx

    But I would add a fixed mapping saved in a config file. For example the command "cmd:home" is mapped to "Key.Home". If you would like to change this you have to edit the xml file.
    The xml file would contain all known mappings and commands. So it is extensible by just changing the xml file.
     

    johanj

    MP Donator
  • Premium Supporter
  • January 31, 2009
    781
    398
    46
    Home Country
    Sweden Sweden
    Mappings saved on file is perfectly fine. What I'm after is the same functionality in MP2 that we have with the WifiRemote plugin in MP1. That plugin do more than receiving remote commands. One can also start playback of a file or media item (where the media item id is taken from MPExtended), receive now playing updates etc.

    But the first step is to receive basic remote commands. Adding this to your plugin and it would be easy to add support for using the remote of MediaPortal iViewer also for MP2.
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    I am more in favor to create a new plugin. I will take a look into this later :)
    Can someone point me to the commands known by Wifi Remote?
     

    Users who are viewing this thread

    Top Bottom