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,073
    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
    46
    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,073
    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

    I guess from this, that the mapping steps basically work. Please try to map some of the keys you mention to be not working and upload the log files afterwards. Maybe @Brownard can see something and a solution can be found. Please open a thread in the OnlineVideo section for this, we should not mix 2 topics in one thread.
    I guess from this, that the mapping steps basically work. Please try to map some of the keys you mention to be not working and...
    I am having trouble to make my remote control work correctly on MP2. Having upgraded from MP1 to MP2 where the remote using the...
    Replies
    24
    Views
    3K
    MP1 MP2 [solved] Keyboard shortcuts like in MP1? DE
    Thanks very much. It does indeed work (for some reason, the first time I needed to press "0" repeatedly before it would work, but after that, it's working fine. Much appreciated.
    Thanks very much. It does indeed work (for some reason, the first time I needed to press "0" repeatedly before it would work, but...
    Recently, and happily, switched from MP1 to MP2. I only use MP to watch ota tv broadcasts, on my PC. Just to say: There’s one...
    Replies
    2
    Views
    760
    If I understand correctly, your device is combination of DVB-C tuner, router and some web access to play the channels in PC web browser. You can sniff http comunication with the help of Wireshark or Fiddler to determine channel url which can be used to create IPTV channel in TV server. If the url is not static(changes dynamically)...
    If I understand correctly, your device is combination of DVB-C tuner, router and some web access to play the channels in PC web...
    So, I appear to have done a successful install of Media Portal (MP2 vers. 2.5) on my Windows 10 machine but I can't get it to get...
    Replies
    7
    Views
    1K
    Didn't know computers are available in Canada's jails... :p
    Didn't know computers are available in Canada's jails... :p
    Hi folks, basically I have this m3u list with links I am trying to scan with the TV configuration tool but all the channels even...
    Replies
    5
    Views
    715
    I had the same issue and found the executable under C:\ProgramData\Team MediaPortal\MediaPortal\skin\Titan\BasicHome.Editor\TitanEditor.exe Only the shortcut was missing.
    I had the same issue and found the executable under C:\ProgramData\Team...
    Hi all, Not a rant, more a sharing of experience (maybe hoping to get some clarification on which wrong turn I took) It has been...
    Replies
    9
    Views
    2K
    Top Bottom