Keyboard shortcuts (2 Viewers)

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
    48
    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

    Fixed, I think. Certainly the vintage MP2 installer that I was using no longer installs the LAV filters. I can only assume that these were never part of the install package itself, but rather downloaded during the install, and that link no longer exists. Shame that the installer doesn't indicate this. Last time when I installed the...
    Fixed, I think. Certainly the vintage MP2 installer that I was using no longer installs the LAV filters. I can only assume that...
    Hi all, I've recently retired my MP2 setup for my main HTPC and gone back to separates, but I wanted to retain the ability to play...
    Replies
    4
    Views
    120
    MP1 MP2 Comskip Ad removal DE
    Hi all Was just looking at Ad Removal - Comskip and note: - MP1 only - 4 The Record 1.3.3 seems to no longer exist Question: Does anybody have pointers as to how I/we can setup or install something to automatically remove ads during playback on MP2? Thanks in advance Henry
    Hi all Was just looking at Ad Removal - Comskip and note: - MP1 only - 4 The Record 1.3.3 seems to no longer exist Question...
    Hi all Was just looking at Ad Removal - Comskip and note: - MP1 only - 4 The Record 1.3.3 seems to no longer exist Question...
    Replies
    0
    Views
    775
    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
    3K
    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
    2K
    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
    2K
    Top Bottom