Closed GOATIOO closed 3 years ago
The addon is designed to save and load joystick binds set in the joyconfig menu, although it appears to do this on game shut down rather than offering a save button. The ShutDown hook sometimes doesn't get called if the game hard exits (crashes) or in a couple of other scenarios so I imagine this is why it didn't save. You can manually save after changing the settings by running this in the console:
lua_run_cl jcon.Save()
Assuming no errors come from that you should be all good.
Thanks
ever since I did this the addon cannot detect the controller
Try deleting data/joyconfig.txt
that should clear the save file
Where is that located?
On Sun, Sep 20, 2020, 2:52 PM Matt Jeanes notifications@github.com wrote:
Try deleting data/joyconfig.txt that should clear the save file
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MattJeanes/Joystick-Module/issues/25#issuecomment-695828527, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARAPWZC67OLYU6NOKHVS63LSGZMQVANCNFSM4ROHSRCA .
Is it joyconfig lua file?
On Sun, Sep 20, 2020, 2:58 PM GOATIO i.callier01@gmail.com wrote:
Where is that located?
On Sun, Sep 20, 2020, 2:52 PM Matt Jeanes notifications@github.com wrote:
Try deleting data/joyconfig.txt that should clear the save file
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MattJeanes/Joystick-Module/issues/25#issuecomment-695828527, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARAPWZC67OLYU6NOKHVS63LSGZMQVANCNFSM4ROHSRCA .
It is still not detecting my controller
On Sun, Sep 20, 2020, 2:59 PM GOATIO i.callier01@gmail.com wrote:
Is it joyconfig lua file?
On Sun, Sep 20, 2020, 2:58 PM GOATIO i.callier01@gmail.com wrote:
Where is that located?
On Sun, Sep 20, 2020, 2:52 PM Matt Jeanes notifications@github.com wrote:
Try deleting data/joyconfig.txt that should clear the save file
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MattJeanes/Joystick-Module/issues/25#issuecomment-695828527, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARAPWZC67OLYU6NOKHVS63LSGZMQVANCNFSM4ROHSRCA .
No it is in garrysmod/data do not delete the joyconfig.lua file
I deleted the joyconfig text file but it is still not detecting my controller.
On Sun, Sep 20, 2020, 3:41 PM Matt Jeanes notifications@github.com wrote:
No it is in garrysmod/data do not delete the joyconfig.lua file
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MattJeanes/Joystick-Module/issues/25#issuecomment-695833722, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARAPWZDBIMVZFGPVSZYIDLDSGZSHBANCNFSM4ROHSRCA .
It worked fine at first but now it just won't connect.
On Sun, Sep 20, 2020, 3:42 PM GOATIO i.callier01@gmail.com wrote:
I deleted the joyconfig text file but it is still not detecting my controller.
On Sun, Sep 20, 2020, 3:41 PM Matt Jeanes notifications@github.com wrote:
No it is in garrysmod/data do not delete the joyconfig.lua file
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MattJeanes/Joystick-Module/issues/25#issuecomment-695833722, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARAPWZDBIMVZFGPVSZYIDLDSGZSHBANCNFSM4ROHSRCA .
I set up my controller binds but is there a way to save them? I restarted my game and the configuration was gone.