This commit is contained in:
Flameshadowxeroshin
2011-12-03 03:38:51 +00:00
parent 89e53b5e6f
commit e551cedfd6
+6 -1
View File
@@ -1,7 +1,8 @@
--People sometimes have problems where they rebind the enter key and thus cannot press start.
--To work around this problem, this script deletes every key binding to Enter.
--load Keymaps.ini
function ClearEnterMappedKeys()
--load Keymaps.ini
local keymaps = IniFile.ReadFile("/Save/Keymaps.ini")
--iterate through the games
@@ -17,3 +18,7 @@ end
--write Keymaps.ini back out. yay.
IniFile.WriteFile("/Save/Keymaps.ini",keymaps)
end
--actually run it.
ClearEnterMappedKeys()