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,074
    7,470
    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,074
    7,470
    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

    MP1 MP2 EPG woes DE
    Thanks for your reply. I haven't forgotten about this. I have XMLTV mostly working, but MC2XML used to take care of two things that I have not yet accommodated. These are "New program indication" (for me, that was an asterisk "*" character in the program title) and "automatic time zone conversion". As I understand it, XMLTV is...
    Thanks for your reply. I haven't forgotten about this. I have XMLTV mostly working, but MC2XML used to take care of two things...
    Does anyone know how to “fix” the MC2XML application, and hopefully permanently? Mine stopped working sometime after September 29...
    Replies
    17
    Views
    3K
    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
    998
    • Sticky
    Many many years ago, I opened a bug report after I got that same message but I never got a reply. The reason was I had unchecked the Windows Media Player item in Windows 10 Control Panel > Program and Features > Turn Windows features on or off as I didn't need it, without thinking that it was needed by MediaPortal. I kept the "Media...
    Many many years ago, I opened a bug report after I got that same message but I never got a reply. The reason was I had unchecked...
    We have just released MediaPortal 1.39 - Endurance x86 and x64 version. Highlights of this release Bugfixes: [MP1-5257] - Skin...
    Replies
    13
    Views
    2K
    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
    935
    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
    Top Bottom