Joystick configuration panel
Posted: Sat Jan 09, 2021 8:54 am
Hi @JeremyaFr,
I have installed the new version of MegaPack 2020 and in general I see many improvement. Compliments !!!
I also see you have added a new custom Joystick configuration to enable multi device support that is very usuful.
However this change replace the original way to set the controller and this is a advantage but not in all cases.
Now the default controller is detected by index that as you already known is not a secure device identifier this for many reasons:
Suppose for example that you add another device or change USB port or again reinstall windows etc..
What happen ?
For my experience the game point to a different device with the result that you need to re-open the joystick configuration and change the index device different times that is a bit annoying.
To solve this problem I suggest one of these 2 solutions:
1) Restore the game original setting that read in the control Panel the old combobox: Advanced -> Default controller
I have multiple devices and I can confirm 100% that when I set my device as default in control panel, the game use always it independed by the index.
So in this case you can add a checkbox: "Use control panel default device" (for default disabled)
2) Allow the user to choose the device by index or by DeviceName
This is probably the best way but a bit more complicated. So in this case when you check "by DeviceName" the index textbox is replaced by a combobox with the list all devices.
When the user choose the device can be sure that independently by the index, the game point always this this device that it is a great advantage.
To be honest I have already a custom version of dinput.dll that use a ini file and allow the user to choose the device by name, but I like to use your joystick panel that I found it better.
Hope that my feedback can be take in consideration
Thanks !
I have installed the new version of MegaPack 2020 and in general I see many improvement. Compliments !!!
I also see you have added a new custom Joystick configuration to enable multi device support that is very usuful.
However this change replace the original way to set the controller and this is a advantage but not in all cases.
Now the default controller is detected by index that as you already known is not a secure device identifier this for many reasons:
Suppose for example that you add another device or change USB port or again reinstall windows etc..
What happen ?
For my experience the game point to a different device with the result that you need to re-open the joystick configuration and change the index device different times that is a bit annoying.
To solve this problem I suggest one of these 2 solutions:
1) Restore the game original setting that read in the control Panel the old combobox: Advanced -> Default controller
I have multiple devices and I can confirm 100% that when I set my device as default in control panel, the game use always it independed by the index.
So in this case you can add a checkbox: "Use control panel default device" (for default disabled)
2) Allow the user to choose the device by index or by DeviceName
This is probably the best way but a bit more complicated. So in this case when you check "by DeviceName" the index textbox is replaced by a combobox with the list all devices.
When the user choose the device can be sure that independently by the index, the game point always this this device that it is a great advantage.
To be honest I have already a custom version of dinput.dll that use a ini file and allow the user to choose the device by name, but I like to use your joystick panel that I found it better.
Hope that my feedback can be take in consideration
Thanks !