Permalink
Browse files

onepad: don't load joyid_map from the ini

Old option from the older GUI can cause issue.

Close #1139
  • Loading branch information...
1 parent 5c6d10d commit 3fab287e8dde8c239dbefa7304ec772d2854923d @gregory38 gregory38 committed Jan 7, 2017
Showing with 3 additions and 1 deletion.
  1. +3 −1 plugins/onepad/Linux/ini.cpp
@@ -180,7 +180,9 @@ void LoadConfig()
conf->set_sensibility(value);
if (fscanf(f, "joy_pad_map = %u\n", &value) == 0)
goto error;
- conf->joyid_map = value;
+ // Value is now hardcoded in controller.h avoid to reload a bad
+ // value from an old ini file.
+ //conf->joyid_map = value;
if (fscanf(f, "ff_intensity = %u\n", &value) == 0)
goto error;
conf->set_ff_intensity(value);

0 comments on commit 3fab287

Please sign in to comment.