Generic Keyboard/Remote Input Plugin (3 Viewers)

Herr R aus B

MP Donator
  • Premium Supporter
  • December 22, 2007
    241
    28
    Berlin
    Home Country
    Germany Germany
    AW: Re: Generic Keyboard/Remote Input Plugin

    Hello,

    After reading and make some tests, I'm not sure if this plugin can do what I want.

    I've installed Audio Renderer Changer plugin, which is a process plugin to switch the Windows audio renderer on the fly (good if you want to switch HDMI / SPDIF audio quickly). This plugin activates only by a keypress: By default is Shift+Ctrl+k, but can be defined by the user. The plugin doesn't have a context menu, nor a window ID to be called.

    The question is: How can I set a button of my original MCE remote to send (or emulate or simulate or whatever) the key defined on that plugin? In other words, how can I assign a keypress (i.e. shift+ctrl+k) to a button on the remote?

    Hola!

    Did you meanwhile get an answer to this? I myself asked the same here, but only got a hint on the KeyboardPlugin - I saw several ppl in several threads asking the same, but never got an answer - are these combination codes a great secret or do we just have the wrong approach? :)

    Regards

    Axel

    PS: it seems as if I found an answer to that question due to some indirect hints - maybe it helps you as well...
     

    singer36

    Portal Pro
    October 11, 2006
    64
    4
    Home Country
    France France
    hi rsenden !

    your plugin is just GREAT.
    it is at the same time simple and efficient ! it should, according to me, be included in the basic MediaPortal package.

    i've spend hours looking for adapting my new remote control... i've read tons of pages of people using EventGhost with a keyboard plugin + a mediaportal windowsmessage plugin + a double configuration (in eventghost + in mediaportal)....
    then I just discovered your plugin, and could delete all the previous plugins and applications...

    THANKS A LOT !!

    singer36
     

    frying_fish

    Portal Member
    August 21, 2008
    43
    3
    Home Country
    United Kingdom United Kingdom
    Hi guys,

    Not sure if I'm quite in the relevant bit here (or if its a configuration issue of something else), but here is the problem:


    I've got the latest plugin (2.4.2.0), installed on 2 machines, one running Win 7 x64 professional, the other running Win 7 32 home premium, each with identical setups of mediaportal (1.1.2), and the latest mp-tvseries (2.6.9), and running the latest streamedMP skin.

    The issue arises when I get into the right mouse button context menu with the plugin enabled. I can still navigate through to options, but number key presses don't jump to their highlighted option. I disable the plugin, and pressing the numbers on the keypad for the actual keyboard does make the action occur (it doesn't work for the keyboard or the remote when the plugin is enabled). I have the SL-6399, using the configuration that comes with the latest plugin (even went through and checked all the keycodes were being recognised).

    I notice it is sending the command "remote 1" for the number 1 on the remote, but this doesn't appear to be what the menu structure in the plugins is looking for, it seems to be looking for "1". I can't explicitly see an option to set this to be the command sent by the remote, so I would just like to know if there is something I can change to make it do this. The problem in itself is very minor, as I'm quite capable of just scrolling through the options with the cursors, it would just speed up for when I wish to change views, or select different fanarts quickly (read that as least button presses).


    Any help would be appreciated, and also thanks for the great plugin, it has been a lifesaver over the past couple of years when I've used this remote.
     

    Baron of L/S

    MP Donator
  • Premium Supporter
  • July 31, 2009
    185
    46
    Gippsland Lakes
    Home Country
    Australia Australia
    Can anyone please help me to get the Full Screen function going, I've mapped a new button and programmed it to "no condition", "Full Screen' also tried "Remote red button" but no joy:D
     

    bzrty

    Portal Member
    December 14, 2010
    16
    0
    Home Country
    Belgium Belgium
    Is it possible to send CTRL+ALT+DEL with your remote, or launch taskmanager (without keyboard) when mediaportal crashes?
    Is it possible to save the custom made remote mappings?
     

    Deda

    Lead Dev MP1 Videos
  • Premium Supporter
  • March 18, 2009
    2,423
    2,385
    Zagreb
    Home Country
    Croatia Croatia
    From yesterday to onward, all plugins must be compatible with MP current version. As I'm huge fun of this small plugin jewel I need to recompile this to be in working state again so if you like to experiment with MP 1.2.0 Beta release you can use it if it will not be reworked by authors.

    Just beware, this will work only from MP 1.2.0 Beta svn 27644, otherwise use the old version.

    *File removed, all you need is on first page.
     

    HakanThn

    Portal Pro
    February 24, 2009
    76
    6
    Home Country
    Sweden Sweden
    This plugin in really useful! I hope it will be maintained for coming MP versions.

    I have a problem that MP occasionally hangs, and it could be related to the keyboard input plugin. TV is still playing, but I can´t control MP.

    In the MP log, I see a continous loop of:
    KeyboardInputPlugin: KeyboardHandler seems to be inactive; restarting
    KeyboardInputPlugin: IsEnabled: False
    KeyboardInputPlugin: IsEnabled: True
    KeyboardInputPlugin: KeyboardHandler seems to be inactive; restarting

    Now and then, there are traces of strange keystrokes, like this one:
    OnKeyDown: Shift+Alt+Win+Escape (1101027), Handled: False

    Anybody knows what could cause this?
     

    Attachments

    • MediaPortal_2fel.zip
      72.7 KB

    enanno

    Portal Member
    April 6, 2011
    29
    5
    Home Country
    Spain Spain
    From yesterday to onward, all plugins must be compatible with MP current version. As I'm huge fun of this small plugin jewel I need to recompile this to be in working state again so if you like to experiment with MP 1.2.0 Beta release you can use it if it will not be reworked by authors.

    Just beware, this will work only from MP 1.2.0 Beta svn 27644, otherwise use the old version.

    Muchísimas gracias! Thank you very much man!
    I'm a huge fan of this plugin too (It's really a necesity for me), so I'm very happy I updated to MP 1.2b today and I have found this.
    Thanks again :)
     

    Lyfesaver74

    Public Relations
  • Premium Supporter
  • September 25, 2010
    1,544
    1,122
    Texas
    Home Country
    United States of America United States of America
    I have installed the new version on my MP 1.2b and found that it is not working. All of my special assigned buttons no longer work. The basic buttons work but nothing else. I have even gone so far as to redo my mappings from scratch. No good =(


    Okay, I figured it out... it was all my mistake =) I had the dll in the windows folder not the process folder. Switched it back and all is prefect! Thx for the update!
     

    enanno

    Portal Member
    April 6, 2011
    29
    5
    Home Country
    Spain Spain
    Hi again!

    It seems there are some little changes in MP 1.2b that don't make some of my remote's buttons properly work.
    For example, the "Fullscreen" button on my remote. I remaped this button to make the Aspect Ratio change, but it doesn't work now, it just switches MP to windowed mode and back to fullscreen if I press it again. I think it's because when I press this button the remote is really sending Alt+Enter keys... but I don't understand why the priority of the command I need is lower now. It perfectly worked on MP 1.1.3.

    By the way, I'd like to show the "Action menu" when I push "Enter" on video file or music, etc. better than directly launching. Any idea?

    :D
     

    Users who are viewing this thread

    Top Bottom