Inputdevice Manager for MP2 (1 Viewer)

ge2301

MP2 Design
  • Team MediaPortal
  • January 11, 2014
    6,615
    2,385
    Stuttgart
    Germany Germany
    Country flag
    Sounds good. What about the clear button in the last column. The current butten is not working. I only left it so you could see how to use it.
    Ah, right. I realized it's not working yet at the moment. I also wanted to add a "back" button and place both in the bottom next to each other.
    I'm also thinking to animate the countdown timer, when a key was pressed.

    Important is to have some tester with "special remotes" etc. to see everything is also functionally fine.
     

    henso

    Development Group
  • Team MediaPortal
  • February 16, 2012
    2,170
    735
    Denmark Denmark
    Country flag
    I also wanted to add a "back" button and place both in the bottom next to each other.
    The command called by the clear button currently only works if a row is selected, so it would not work when placed at the bottom.

    EDIT: What is the back button for? Is it not the same as escape?
     

    ge2301

    MP2 Design
  • Team MediaPortal
  • January 11, 2014
    6,615
    2,385
    Stuttgart
    Germany Germany
    Country flag
    The command called by the clear button currently only works if a row is selected, so it would not work when placed at the bottom.
    How can we call it then? In the dialoge it also won't work, because the key press to navigate to the clear button would be already recognized as mapping.
     

    henso

    Development Group
  • Team MediaPortal
  • February 16, 2012
    2,170
    735
    Denmark Denmark
    Country flag
    How can we call it then?
    You mean a button (mapped to it's own command) in a column number 4 (after image, name and key mapping) would trigger the same command as the other columns?
    I was thinking like the reimport button in the share overview screen. Is that not possible?
     

    ge2301

    MP2 Design
  • Team MediaPortal
  • January 11, 2014
    6,615
    2,385
    Stuttgart
    Germany Germany
    Country flag
    You mean a button (mapped to it's own command) in a column number 4 (after image, name and key mapping) would trigger the same command as the other columns?
    I was thinking like the reimport button in the share overview screen. Is that not possible?
    That should be possible, there would be many clear buttons though ;)
    I'm just not sure, if it can be handled with the current styles. Because every entry has already a button style. So there would be another button in a button and focus handling would be an issue. In the share overview the entries can not be focused, so the reimport button is the only one. I'll check, if we have another example I can refer to.
     

    henso

    Development Group
  • Team MediaPortal
  • February 16, 2012
    2,170
    735
    Denmark Denmark
    Country flag
    That should be possible, there would be many clear buttons though
    Not if they are only visible if there is a mapping. Unless you map all, but that would be a pretty big remote. ;)
    I'm just not sure, if it can be handled with the current styles.
    Ok. If we need changes in the model, just say so.
     

    ge2301

    MP2 Design
  • Team MediaPortal
  • January 11, 2014
    6,615
    2,385
    Stuttgart
    Germany Germany
    Country flag
    @Brownard
    I need your advice. There is a list of keys with their mapping in a button style. See here and herehttps://github.com/MediaPortal/MediaPortal-2/blob/e2228f9c4363d81f1659a5215b7d71d450e5dcd8/MediaPortal/Source/UI/Input/InputDeviceManager/Skin/default/screens/ConfigScreenScreenMapping.inc#L15
    When the button is selected the mapping can be changed. To clear the existing mapping a clear button should be shown when "KeyMap" is not empty.
    I added a button behind the above button and there are two problems.
    • The clear button is always visible. I tried with ReferenceToBoolConverter and EmptyStringtpFalseConverter referring to "KeyMap". See here.
    • The clear button does only execute a clear command, when a list entry has focus. But once the clear button has focus, the list entry lost focus
    Any idea how to solve it? A radio button would be not so nice, so perhaps there is something better
     

    Alberto83

    Test Group
  • Team MediaPortal
  • August 7, 2012
    336
    108
    Italy Italy
    Guys when you're ready with this can you merge this branch to a temporary WIP2.2 for me to test it, or eventually give me the patch files to change on my WIP? I'm currently using build 199.
    I can't test it separately because the computer where I use this with FLIRC is my main server. Flirc is an IR to Keyboard emulator so I use the inputmanager shortcuts every day on my living room computer. I think that would be a good test target.
     

    ge2301

    MP2 Design
  • Team MediaPortal
  • January 11, 2014
    6,615
    2,385
    Stuttgart
    Germany Germany
    Country flag
    @Brownard
    I need your advice. There is a list of keys with their mapping in a button style. See here and here
    When the button is selected the mapping can be changed. To clear the existing mapping a clear button should be shown when "KeyMap" is not empty.
    I added a button behind the above button and there are two problems.
    • The clear button is always visible. I tried with ReferenceToBoolConverter and EmptyStringtpFalseConverter referring to "KeyMap". See here.
    • The clear button does only execute a clear command, when a list entry has focus. But once the clear button has focus, the list entry lost focus
    Any idea how to solve it? A radio button would be not so nice, so perhaps there is something better
    @Brownard,
    Could you take a look and have an idea? I could not find a comparable style in MP2 and might need a model change.
    Something that came to my mind. It could be also a list of 3 columns.
    • First column contains radio buttons with the key names and mapped keys
    • Second column contains a "change/add mapping" button (only visible, if the radio button is selected)
    • 3rd column contains a "clear mapping" button
    Before going in this direction would be good to know, if there is an more elegant solution.
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    hwahrmann [Question] Compatibility Manager for Pugins? MediaPortal 1 7
    T MediaPortal Extensions Manager Fehlermeldung bei Installation einer Erweiterung Installationsprobleme? 1
    rsbrux 1.23.0 MPE Manager Problem with LAV Filters Bugreports 2
    M Unable to map virtual sent keys in the input device management General 6
    Megane Manage Tv Series and Anime in My TVSeries My TVSeries 6
    joecrow 1.22.0 MPE Manager issues. 1.22 5
    G MP 1.21 TVserver race condition when cant delete recording triggered by episode management General Support 0
    high [Evaluate] MP Extension Manager can't download HTTPS links MediaPortal 1 38
    R Verbindungsproblem bei MP Extension Manager Installationsprobleme? 2
    D Large xml database in My Movies Management. I remain unclear on use My Films as bridge to MP2.2 General 9
    joecrow [solved] MP2.2 Input Management General 15
    H [Finished] [MP2-789] Input device manager MediaPortal 2 291
    H [solved] Where is Input Manager General 1
    HTPCSourcer MP2 TV Logo Management General 35
    hounddog How to get My Films working in MP 1.20 My Films 5
    H Genre Management Archive 136
    joecrow Fritzbox Manager no notifications General Support 5
    H MP2 database won't keep in synch with recordings General 2
    H [solved] MP2 Wiedergabe von Aufnahmen und Live TV geht nicht Allgemeines Support- und Diskussionsforum 6
    ge2301 [WiP] MP2Web - A platform independent web client for MP2 MediaPortal 2 57
    F Problems with new install of MP2 Newcomers Forum 3
    catalpa Bug MP2-837 Allgemeines Support- und Diskussionsforum 2
    P MP2: US user, OTA - can NOT get SchedulesDirect plugin to work on MP1 or MP2 --> how do I get OTA schedule? General 5
    bigboss97 Does anyone has a SoundGraph imon remote file for MP2 to share? General 0
    ge2301 Android based client for MP2 MediaPortal 2 3
    Similar threads

























    Top Bottom