Uploaded image for project: 'MediaPortal 1'
  1. MediaPortal 1
  2. MP1-739

It's impossible to create custom mappings for DirectInput devices

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 0.2.0.0
    • None
    • Configuration
    • None

    Description

      Trying to create a custom mapping for DirectInput devices results in a .Net error popup (see below for details). Also saving the mapping afterwards results in an empty custom mappings file in InputDeviceMappings\custom\.

      h4. Steps to Reproduce
      1. start setup
      2. choose remote -> direct input
      3. click on mapping
      4. open key "pov N" -> All layers -> click on "No condition"

      ************** Exception Text **************
      System.InvalidCastException: Unable to cast object of type 'System.String' to type 'MediaPortal.GUI.Library.Key'.
         at MediaPortal.Configuration.InputMappingForm.treeMapping_AfterSelect(Object sender, TreeViewEventArgs e)
         at System.Windows.Forms.TreeView.OnAfterSelect(TreeViewEventArgs e)
         at System.Windows.Forms.TreeView.TvnSelected(NMTREEVIEW* nmtv)
         at System.Windows.Forms.TreeView.WmNotify(Message& m)
         at System.Windows.Forms.TreeView.WndProc(Message& m)
         at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
         at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
         at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

      Attachments

        Activity

          People

            mPod mPod (Inactive)
            micheloe Michel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: