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="Brownard" data-source="post: 1244903" data-attributes="member: 48291"><p>I've pushed some changes, the EmptyStringToBoolConverter seemed to work for me. You also needed to bind the clear command to the InputManagerModel as that contains the delete method. <strong>However</strong>, the delete method seems to broken, the model calls it correctly but the mapping to delete is never found.</p><p>[USER=119106]@henso[/USER] the delete method <a href="https://github.com/MediaPortal/MediaPortal-2/blob/FEAT_InputManager/MediaPortal/Source/UI/Input/InputDeviceManager/Models/InputDeviceModel.cs#L510" target="_blank">looks for a KeyMapping</a> that matches the object stored in AdditionalProperties[KEY_KEYMAP_DATA], however when screen mapping <a href="https://github.com/MediaPortal/MediaPortal-2/blob/FEAT_InputManager/MediaPortal/Source/UI/Input/InputDeviceManager/Models/InputDeviceModel.cs#L220" target="_blank">there's a string</a> stored there <a href="https://github.com/MediaPortal/MediaPortal-2/blob/FEAT_InputManager/MediaPortal/Source/UI/Input/InputDeviceManager/Models/InputDeviceModel.cs#L402" target="_blank">instead of a KeyMapping</a> so a matching item is never found.</p></blockquote><p></p>
[QUOTE="Brownard, post: 1244903, member: 48291"] I've pushed some changes, the EmptyStringToBoolConverter seemed to work for me. You also needed to bind the clear command to the InputManagerModel as that contains the delete method. [B]However[/B], the delete method seems to broken, the model calls it correctly but the mapping to delete is never found. [USER=119106]@henso[/USER] the delete method [URL='https://github.com/MediaPortal/MediaPortal-2/blob/FEAT_InputManager/MediaPortal/Source/UI/Input/InputDeviceManager/Models/InputDeviceModel.cs#L510']looks for a KeyMapping[/URL] that matches the object stored in AdditionalProperties[KEY_KEYMAP_DATA], however when screen mapping [URL='https://github.com/MediaPortal/MediaPortal-2/blob/FEAT_InputManager/MediaPortal/Source/UI/Input/InputDeviceManager/Models/InputDeviceModel.cs#L220']there's a string[/URL] stored there [URL='https://github.com/MediaPortal/MediaPortal-2/blob/FEAT_InputManager/MediaPortal/Source/UI/Input/InputDeviceManager/Models/InputDeviceModel.cs#L402']instead of a KeyMapping[/URL] so a matching item is never found. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Plugin Development
Inputdevice Manager for MP2
Contact us
RSS
Top
Bottom