Page 1 of 1

Mapping Controls

Posted: Mon 21.12.2009, 21:29
by Raimei
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

Re: Mapping Controls

Posted: Tue 22.12.2009, 02:51
by Billsey
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

Re: Mapping Controls

Posted: Tue 22.12.2009, 03:59
by Emulord
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

Posted: Tue 22.12.2009, 07:10
by Raimei
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?

Re: Mapping Controls

Posted: Tue 22.12.2009, 21:42
by Billsey
All the mappings for roguelike keys are in pref.prf, regardless of the system type.