chrippa/ds4drv

Default config file location isn't picked up

Opened this issue · 0 comments

Ape commented

From #93 by @ignacio-vc:

Hello, I'd just like to report a small oddity I found when trying out version 0.5.1 (I'm not sure if it happened before, as it's my first time using ds4drv)

/etc/ds4drv.conf doesn't exist in my system after installation (by default). Despite me having my own config file at ~/.config/ds4drv.conf , it isn't immediately picked up by the program when it is ran. I'm not sure if this happens because it looks first for the /etc/ one and when it doesn't find it it stops looking, or if it's something wrong on my end.

The simple fix is that I have to run sudo ds4drv --hidraw --config ~/.config/ds4drv.conf and then it works. (I spent about an hour figuring out what was wrong with my config and why it wasn't picking up my toggles, turns out it was just a matter of directing the program to the supposed-to-be-default .conf file, haha)

Can anybody reproduce this and then debug how it is caused?