Keyboard shortcuts (1 Viewer)

mpirklbauer

Portal Pro
May 7, 2011
285
9
Home Country
Austria Austria
Can youexplain it for a dummy how you did get this working?
Thank you!


Got it working
 
Last edited:

velis

MP Donator
  • Premium Supporter
  • July 16, 2009
    237
    50
    Radovljica
    Home Country
    Slovenia Slovenia
    Another dummy here: I can't seem to find documentation on how keys are actually mapped to keyboard. All I found is this wiki page. But this page references keys such as Key.Escape (straightforward for keyboard) or Key.Play (not exactly a standard key on a keyboard).
    So where is it listed which virtual key actually maps to a keyboard key? Morpheus linked a source that had (scan codes?), but I can't seem to be able to link that to PC keyboard.
     

    velis

    MP Donator
  • Premium Supporter
  • July 16, 2009
    237
    50
    Radovljica
    Home Country
    Slovenia Slovenia
    These are in the Wiki. It's the "small" ones that are not, like skip forward, stop playback, media info, etc.
     

    mrj

    Portal Pro
    January 27, 2012
    252
    100

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,070
    7,459
    Home Country
    Germany Germany
    hese are in the Wiki. It's the "small" ones that are not, like skip forward, stop playback, media info, etc.
    The playback related keys are the ones from MCE keyboards / MCE remotes: they all have "Play"/"Stop" and such kind of buttons/keys. They should simply work out-of-the-box.
     

    velis

    MP Donator
  • Premium Supporter
  • July 16, 2009
    237
    50
    Radovljica
    Home Country
    Slovenia Slovenia
    hese are in the Wiki. It's the "small" ones that are not, like skip forward, stop playback, media info, etc.
    The playback related keys are the ones from MCE keyboards / MCE remotes: they all have "Play"/"Stop" and such kind of buttons/keys. They should simply work out-of-the-box.
    Well, OK, but what if I don't have a compatible remote, but one that simulates a standard kbd? How can I issue the same commands with standard PC keyboard?
     

    johanj

    MP Donator
  • Premium Supporter
  • January 31, 2009
    781
    398
    47
    Home Country
    Sweden Sweden
    Or if you want to send commands using tcp/ip from tablet?
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,070
    7,459
    Home Country
    Germany Germany
    Well, OK, but what if I don't have a compatible remote, but one that simulates a standard kbd? How can I issue the same commands with standard PC keyboard?
    There are already some other ways available, if they do work for you I don't know for sure.
    1. The contained MCE remote plugin is able to map key codes to actions: https://github.com/MediaPortal/Medi...ubator/MceRemoteReceiver/DefaultRemoteMap.xml. Not sure which codes you can use there, but I guess you should be able to add/override the keys.
    2. There is a service to handle input from many other devcices, it's called IRSS. A client plugin which listens on inputs of this service is already contained inside MP2-Client.
    3. There is a CECRemote plugin: https://forum.team-mediaportal.com/threads/plugin-cec-remote-for-mp2.120652/
    4. @johanj then you would need to write a plugin for MP2 which handles those commands reveived from tcp/ip. One exisiting kind of plugin is the IrInput plugin (which does exactly this for IRSS source). See: https://github.com/MediaPortal/MediaPortal-2/tree/master/MediaPortal/Source/UI/UiComponents/IrInput
     

    velis

    MP Donator
  • Premium Supporter
  • July 16, 2009
    237
    50
    Radovljica
    Home Country
    Slovenia Slovenia
    Thanks, Morpheus, once again you live up to your name :)
    I just find it interesting that keyboard is not supported as controlling device from start. I imagine it poses issues for te developers themselves. A remote is definitely not as convenitent as a keyboard while testing the software.
    Anyway, I'll try to get the required functionality from my remote, but so far IRSS seems the way to go. I'll be sure to post a feature request to support kbd though. My kids have MP on their PCs to watch TV and they only have wireless keyboards.
     

    Users who are viewing this thread

    Similar threads

    Nevermind, I think. I found them in the forum. I had only checked the main webiste for MP2 plugins. https://www.team-mediaportal.com/extensions/mp2-plugins I hope these work: Featured Plugins
    Nevermind, I think. I found them in the forum. I had only checked the main webiste for MP2 plugins...
    I've been an MP1 user for a long time. I'm interested in switching to MP2. However, I rely heavily on the features provided by...
    Replies
    1
    Views
    2K
    MP1 MP2 Picture-in-picture DE
    Can anyone tell me the step-by-step procedure for bringing up a second channel in pip mode? I can only do it sometimes, after many tries, and it’s not clear what I am doing that makes it work on those occasions when it does. Cannot find guidance on the site. Thanks, N. Again, if anyone knows how to do this, would be much...
    Can anyone tell me the step-by-step procedure for bringing up a second channel in pip mode? I can only do it sometimes, after many...
    Can anyone tell me the step-by-step procedure for bringing up a second channel in pip mode? I can only do it sometimes, after many...
    Replies
    0
    Views
    1K
    Ok, thanks much. I will look into the instructions above. For the moment, I turned off the "Automatic channel logo update" in Settings (which somehow I had missed, I think because it wasn't an option previously), and the deleted everything in the Flat-default folder and populated it with my own logos. Works, so far.
    Ok, thanks much. I will look into the instructions above. For the moment, I turned off the "Automatic channel logo update" in...
    Hi-- I have to revisit an old issue, unfortunately. I just downloaded MP 2.5, a fresh installation, on a new computer (reluctantly...
    Replies
    5
    Views
    1K
    Hi CyberSimian (and others) just a bit along the coast from me (near Exeter) - I know you are very long-standing! Not going to make this long winded or anything, but just to point out over the @15 years I've overall donated several hundred quid. And I begrduge NONE of it, not a penny - I do wish MP well - 100%. It is an awesome...
    Hi CyberSimian (and others) just a bit along the coast from me (near Exeter) - I know you are very long-standing! Not going to...
    ONGGGG term MP user (and donator - why wouldn't you?) and leaving somewhat reluctantly. Few reasons, some that just seem...
    Replies
    4
    Views
    3K
    Sorry, it's my fault -- I did not notice that you are using MP2. :( MP1 has a separate configuration utility, similar to "TV Server Config". I have tried MP2 only a couple of times, and have never used it seriously. I don't know what MP2 supports with regard to adjusting audio delay, but I do know that all of the adjustments of...
    Sorry, it's my fault -- I did not notice that you are using MP2. :( MP1 has a separate configuration utility, similar to "TV...
    Hi. I recently upgraded my home cinema AVR which also meant changed from sending audio from my HTPC as 5.1 using optical to 7.1...
    Replies
    5
    Views
    1K
    Top Bottom