DRL > Bug Reports

Keybindings problem on 0.9.9.6

<< < (2/2)

brokenfury8585:
So i believe the problem exists in a bigger sense, I tried to change any of the .lua files and the changes never seem to take effect. This is a corperate machine with some changes, but in previous builds have been successful in changing the keybindings.lua, config.lua, and music.lua files

Rabinowitz:
BTW is it possible to reassign "Y"es confirmation key form "Y/n" prompt? Or is it hard-coded now?

Also? CTRL and ALT combinations dont work in the current version. :(

Game Hunter:

--- Quote from: brokenfury8585 on March 28, 2012, 11:19 ---So i believe the problem exists in a bigger sense, I tried to change any of the .lua files and the changes never seem to take effect. This is a corperate machine with some changes, but in previous builds have been successful in changing the keybindings.lua, config.lua, and music.lua files

--- End quote ---
Could be that the files are read-only. On a Windows machine, you can check the properties of the file and un-check the "read-only" box to make it writable.


--- Quote from: Rabinowitz on March 28, 2012, 11:45 ---BTW is it possible to reassign "Y"es confirmation key form "Y/n" prompt? Or is it hard-coded now?

--- End quote ---
It's hardcoded, since it has to do with the way that the ui.msg_confirm() function works and is not a "whenever you want" command. This it to say that you could bind the 'Y' key to something and the confirm will work just fine.


--- Quote from: Rabinowitz on March 28, 2012, 11:45 ---Also? CTRL and ALT combinations dont work in the current version. :(

--- End quote ---
shark mentioned that he was able to get it to work with the graphics version, so this is just something that needs to become functional across the game rather than be graphics-specific. (It probably has to do with the way that the a console reads certain button commands.)

Rabinowitz:

--- Quote from: Game Hunter on March 28, 2012, 12:07 ---It's hardcoded, since it has to do with the way that the ui.msg_confirm() function works and is not a "whenever you want" command. This it to say that you could bind the 'Y' key to something and the confirm will work just fine.

--- End quote ---

Hmm.. dont understand. If i want to assing "h" key for Y/N yes confirmation, should i add string to keybindings such as

["H"] = function() ui.msg_confirm = true end,

?

shark20061:
You can't change that binding.  It's hard coded to 'y' and 'Y'.

Navigation

[0] Message Index

[*] Previous page

Go to full version