Page 1 of 1
Reset Control Settings
Posted: Fri Jun 05, 2015 5:38 pm
by Yttrium
I recently tried to switch from using "WASD" keys to "ESDF", sadly you can't use the "Z" key in combination with other keys like the shift key (Another suggestion? )
and I tried to switch everything back the way it was.
Sadly I couldn't remember how all the keys were configured and ended up downloading factorio from the website again to fix this.
Can you guys implement a simple reset button like alot of games have?
-Yttrium
Re: Reset Control Settings
Posted: Fri Jun 05, 2015 6:21 pm
by DaveMcW
Deleting the [controls] section from config.ini is easier than downloading the game again.
But a reset button would be even easier.
Re: Reset Control Settings
Posted: Fri Jun 05, 2015 6:27 pm
by Yttrium
Ah, I did not know that, Ill just do that next time im messing around with my control scheme
Re: Reset Control Settings
Posted: Mon Jun 08, 2015 4:23 pm
by Rseding91
Having just recently had all my controls marked invalid a "reset" would indeed be nice.
Re: Reset Control Settings
Posted: Mon Jun 08, 2015 5:37 pm
by prg
Yttrium wrote:sadly you can't use the "Z" key in combination with other keys like the shift key
If you happen to be using X you can turn the z key into shift temporarily with something like
Code: Select all
xmodmap -e 'keycode 52 = Shift_L Shift_L Shift_L Shift_L'
factorio
xmodmap -e 'keycode 52 = z Z z Z'
Re: Reset Control Settings
Posted: Tue Jun 09, 2015 7:04 pm
by bobingabout
[quote="prg"]
Code: Select all
xmodmap -e 'keycode 52 = Shift_L Shift_L Shift_L Shift_L'
factorio
xmodmap -e 'keycode 52 = z Z z Z'
And what exactly is someone supposed to do with said code?
Re: Reset Control Settings
Posted: Tue Jun 09, 2015 7:13 pm
by prg
bobingabout wrote:And what exactly is someone supposed to do with said code?
Well it needs to get run somehow. If you don't want to copy/paste it into a terminal all the time, you could put it into a shell script.
Re: Reset Control Settings
Posted: Thu Jun 11, 2015 11:45 am
by slpwnd
Reset to standard settings sound like a good option.
Re: Reset Control Settings
Posted: Thu Jun 11, 2015 8:55 pm
by ssilk
Moved to Ready.