mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 15:31:17 +01:00
set defaults only for first controller
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@698 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
fa6a7a2242
commit
20a8b21800
@ -681,7 +681,8 @@ void LoadConfig()
|
||||
|
||||
for (int x = 0; x < NUMCONTROLS; x++)
|
||||
{
|
||||
file.Get(SectionName, controlNames[x], &pad[i].keyForControl[x], defaultKeyForControl[x]);
|
||||
file.Get(SectionName, controlNames[x], &pad[i].keyForControl[x],
|
||||
(i==0)?defaultKeyForControl[x]:0);
|
||||
#ifndef _WIN32
|
||||
// In linux we have a problem assigning the upper case of the
|
||||
// keys because they're not being recognized
|
||||
|
Loading…
x
Reference in New Issue
Block a user