Closed AquariusPower closed 3 years ago
Home
and End
work on windows. I wasn't able to test the rest since it looks like it is still WIP. @AquariusPower do you have an example file for CustomCommandKeys.cfg
? I can copy if you paste here :)
Home
andEnd
work on windows. I wasn't able to test the rest since it looks like it is still WIP.
Home and End was working already I think, the new stuff is make Up and Down work on nethack key scheme (actually always work in any scheme).
@AquariusPower do you have an example file for
CustomCommandKeys.cfg
? I can copy if you paste here :)
the moment you close the custom key bind config list, it will be generated, but here it is anyway :)
"wait a turn"=0x002E
"go / fastwalk"=0x0067
"go down / enter area"=0x003E
"go up"=0x003C
"pick up item"=0x002C
"drop item"=0x0064
"throw item"=0x0074
"equipment menu"=0x0045
"inventory menu"=0x0069
"apply item"=0x0061
"apply last item again"=0x0041
"zap a wand"=0x007A
"read"=0x0072
"eat"=0x0065
"drink liquid"=0x0044
"taste a bit of liquid"=0x0054
"dip into liquid"=0x0021
"open"=0x006F
"close"=0x0063
"search"=0x0073
"look around"=0x006C
"show map"=0x006D
"engrave / inscribe"=0x0047
"chat"=0x0043
"craft"=0x0066
"name team members"=0x006E
"issue commands to team members"=0x0049
"offer to gods"=0x004F
"pray to gods"=0x0070
"sit down"=0x005F
"rest and heal"=0x0068
"save and quit"=0x0053
"quit and abandon"=0x0051
"show message history"=0x004D
"scroll messages down"=0x002B
"scroll messages up"=0x002D
"show options menu"=0x005C
"show key layout"=0x003F
"show weapon skills"=0x0040
"wield in right hand"=0x0077
"wield in left hand"=0x0057
"swap weapons"=0x0078
"swapping menu"=0x0058
"toggle running"=0x0075
"kick"=0x006B
"vomit"=0x0056
"wizard mode activation (Ctrl+ for console)"=0x0060
"auto play the game (hold ESC to stop)"=0x007E
"raise stats"=0x0031
"lower stats"=0x0032
"see whole map"=0x0033
"toggle walk through walls mode"=0x0034
"raise your relations to the gods"=0x0035
"lower your relations to the gods"=0x0036
"gain knowledge of all gods"=0x0022
"gain all items"=0x0024
"reveal secret knowledge"=0x002A
"detach a limb"=0x0030
"set fire to a limb"=0x005D
"summon monster"=0x0026
"level teleport"=0x007C
"possess creature"=0x007B
"polymorph"=0x005B
"MoveKey Upper Left"=0x0037
"MoveKey Up"=0x0038
"MoveKey Upper Right"=0x0039
"MoveKey Left"=0x0079
"MoveKey Right"=0x006A
"MoveKey Lower Left"=0x003B
"MoveKey Down"=0x0027
"MoveKey Lower Right"=0x002F
Obs.: I may have remapped the movekeys for tests :>
obs, it must be used while some game is running already, wont work on the main menu, may be we should block it there (if not already)? I havent tried there after the 1st time it failed btw.
Ah, my apologies. I tried to configure it from the Main Menu screen, but just saw this is not possible.
I configured the custom move keys from the configuration screen in-game instead, and it works very well. Also tested the Up
and Down
in NetHack keyconfig and this works too.
I think we can use a check to see if some game is running, may be a function that is at game.cpp, and if the user try to use it from main menu it could pop a warn message, because that way of configuring is unusual. If I am not wrong, the problem is the refresh of any new felist, it is slow and buggy on the main menu but not when the game is running, I dont know why yet.
EDIT: the check is already there, just there is no warning, but there is help info about how to use it.
and key up and key down always work on felist copied from https://github.com/Attnam/ivan/pull/587 merged with
meld
on linux