Rexeh / joystick-diagrams

Automatically output your tool/game HID configs into printable diagrams with all your binds.
https://joystick-diagrams.com
GNU General Public License v2.0
146 stars 22 forks source link

DCS: Disabled devices cause error #42

Closed PatHightree closed 3 years ago

PatHightree commented 3 years ago

Not a big issue, but something I ran into. I disabled a couple of devices which I'm not using in DCS. This caused a disabled.lua file to be created in Config/Input and caused the following error after selecting the DCS folder: Error: [WinError 267] The directory name is invalid: 'C:/Users/patri/Saved Games/DCS\Config\Input\disabled.lua'

I've attached a zip of my config directory for reproduction. Config.zip

PatHightree commented 3 years ago

I uninstalled the unused devices and removed the disabled.lua file. DCS keeps recreating the file with the following contents.

local disabled = { ["devices"] = { }, ["pnp"] = false, } return disabled

Rexeh commented 3 years ago

Hi thanks,

This one is known issue due to be fixed next version

https://github.com/Rexeh/joystick-diagrams/issues/40

Temporary workaround detailed in above!