Hello,
I am on a Macbook and I was wondering if there is a way to remap the controls?
Example:
q: move northwest
w: move north
e: move northeast
d: move west
c: move southeast
s: move south
z: move southwest
a: move west
Thanks in advance,
Raimei
Mapping Controls
Re: Mapping Controls
Yes, just change the appropriate .prf file in the lib/user directory (probably pref-mac.prf) and remap any commands or movements to be handled by a different keypress. You may find the built-in (sort of) rogue keyset to work, with the movement commands being (IIRC):
Code: Select all
uji
h l
nkm
Mangband Project Team Member
Re: Mapping Controls
now it would really be nice if there was a way to map multiple commands to one key, like (m)agic and (p)ray or combining (z)ap (u)se and (a)im since no one has more than 9 rods/wands or staves. This would need more client code probably so it could know which item handling code to run.
Re: Mapping Controls
Actually, I don't know if this matters, but I'm actually on a Macbook that has Fedora 12 installed (don't ask me why).
So what would be the correct .prf file to modify?
So what would be the correct .prf file to modify?
Re: Mapping Controls
All the mappings for roguelike keys are in pref.prf, regardless of the system type.
Mangband Project Team Member