{"action":"closed","issue":{"url":"https://api.github.com/repos/jgeumlek/MoltenGamepad/issues/19","repository_url":"https://api.github.com/repos/jgeumlek/MoltenGamepad","labels_url":"https://api.github.com/repos/jgeumlek/MoltenGamepad/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/jgeumlek/MoltenGamepad/issues/19/comments","events_url":"https://api.github.com/repos/jgeumlek/MoltenGamepad/issues/19/events","html_url":"https://github.com/jgeumlek/MoltenGamepad/issues/19","id":183830514,"number":19,"title":"moltengamepad.cfg ignored when used with --config-path","user":{"login":"TiZ-EX1","id":4130673,"avatar_url":"https://avatars.githubusercontent.com/u/4130673?v=3","gravatar_id":"","url":"https://api.github.com/users/TiZ-EX1","html_url":"https://github.com/TiZ-EX1","followers_url":"https://api.github.com/users/TiZ-EX1/followers","following_url":"https://api.github.com/users/TiZ-EX1/following{/other_user}","gists_url":"https://api.github.com/users/TiZ-EX1/gists{/gist_id}","starred_url":"https://api.github.com/users/TiZ-EX1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TiZ-EX1/subscriptions","organizations_url":"https://api.github.com/users/TiZ-EX1/orgs","repos_url":"https://api.github.com/users/TiZ-EX1/repos","events_url":"https://api.github.com/users/TiZ-EX1/events{/privacy}","received_events_url":"https://api.github.com/users/TiZ-EX1/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-10-18T23:38:08Z","updated_at":"2016-10-21T12:46:23Z","closed_at":"2016-10-21T12:46:23Z","body":"So I moved my configs and compiled binary to a nice place where all my computers would get it. Everything in this directory is world-readable, and it has to be in this case since I have a system user/group that MG runs as. The gendevices work just fine in this configuration. But moltengamepad.cfg, which is also world-readable, is silently ignored. A github search of the source code indicates that it should say that it's attempting to load the file, but I'm not getting that output. Even root of all users doesn't try to load it:\r\n\r\n```\r\nTiZLappy:~$ sudo /home/common/bin/moltengamepad -c /home/common/confdata/moltengamepad\r\nloading \r\ndriver: wiimote driver initialized.\r\ndriver: xpad-dt driver initialized.\r\ndriver: xpad-at driver initialized.\r\ndriver: playstation4-dt driver initialized.\r\ndriver: playstation4-at driver initialized.\r\ndriver: mayflash-ps2 driver initialized.\r\ndriver: dualshock3 driver initialized.\r\nhotplug: device ps4_dt_1 added.\r\n^CShutting down.\r\nstopping udev thread\r\n```\r\n\r\nI did a github search of the locate function that is seemingly used to find the config file, and it looks like that function just doesn't respect the --config-path option, and only checks for the profile dir and the gendev dir. But I don't know your code, so I don't know if that means anything."}}
{"actor":{"display_login":"TiZ-EX1"}}