home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 2
Plugin Development
Inputdevice Manager for MP2
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="ge2301" data-source="post: 1244813" data-attributes="member: 145639"><p>[USER=48291]@Brownard[/USER] </p><p>I need your advice. There is a list of keys with their mapping in a button style. See <a href="https://github.com/MediaPortal/MediaPortal-2/blob/e2228f9c4363d81f1659a5215b7d71d450e5dcd8/MediaPortal/Source/UI/Input/InputDeviceManager/Skin/default/screens/ConfigScreenScreenMapping.inc#L15" target="_blank">here </a>and <a href="https://github.com/MediaPortal/MediaPortal-2/blob/e2228f9c4363d81f1659a5215b7d71d450e5dcd8/MediaPortal/Source/UI/Input/InputDeviceManager/Skin/default/themes/default/styles/InputManagerStyles.xaml#L12-L34" target="_blank">here</a><a href="https://github.com/MediaPortal/MediaPortal-2/blob/e2228f9c4363d81f1659a5215b7d71d450e5dcd8/MediaPortal/Source/UI/Input/InputDeviceManager/Skin/default/screens/ConfigScreenScreenMapping.inc#L15" target="_blank">https://github.com/MediaPortal/MediaPortal-2/blob/e2228f9c4363d81f1659a5215b7d71d450e5dcd8/MediaPortal/Source/UI/Input/InputDeviceManager/Skin/default/screens/ConfigScreenScreenMapping.inc#L15</a></p><p>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.</p><p>I added a button behind the above button and there are two problems.</p><ul> <li data-xf-list-type="ul">The clear button is always visible. I tried with ReferenceToBoolConverter and EmptyStringtpFalseConverter referring to "KeyMap". See <a href="https://github.com/MediaPortal/MediaPortal-2/blob/e2228f9c4363d81f1659a5215b7d71d450e5dcd8/MediaPortal/Source/UI/Input/InputDeviceManager/Skin/default/themes/default/styles/InputManagerStyles.xaml#L60-L61" target="_blank">here</a>.</li> <li data-xf-list-type="ul">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</li> </ul><p>Any idea how to solve it? A radio button would be not so nice, so perhaps there is something better</p></blockquote><p></p>
[QUOTE="ge2301, post: 1244813, member: 145639"] [USER=48291]@Brownard[/USER] I need your advice. There is a list of keys with their mapping in a button style. See [URL='https://github.com/MediaPortal/MediaPortal-2/blob/e2228f9c4363d81f1659a5215b7d71d450e5dcd8/MediaPortal/Source/UI/Input/InputDeviceManager/Skin/default/screens/ConfigScreenScreenMapping.inc#L15']here [/URL]and [URL='https://github.com/MediaPortal/MediaPortal-2/blob/e2228f9c4363d81f1659a5215b7d71d450e5dcd8/MediaPortal/Source/UI/Input/InputDeviceManager/Skin/default/themes/default/styles/InputManagerStyles.xaml#L12-L34']here[/URL][URL='https://github.com/MediaPortal/MediaPortal-2/blob/e2228f9c4363d81f1659a5215b7d71d450e5dcd8/MediaPortal/Source/UI/Input/InputDeviceManager/Skin/default/screens/ConfigScreenScreenMapping.inc#L15'][/URL] 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. [LIST] [*]The clear button is always visible. I tried with ReferenceToBoolConverter and EmptyStringtpFalseConverter referring to "KeyMap". See [URL='https://github.com/MediaPortal/MediaPortal-2/blob/e2228f9c4363d81f1659a5215b7d71d450e5dcd8/MediaPortal/Source/UI/Input/InputDeviceManager/Skin/default/themes/default/styles/InputManagerStyles.xaml#L60-L61']here[/URL]. [*]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 [/LIST] Any idea how to solve it? A radio button would be not so nice, so perhaps there is something better [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Plugin Development
Inputdevice Manager for MP2
Contact us
RSS
Top
Bottom