RjY
anARCHy
Posts: 337
Registered: 05-02 |
Quasar said:
You cannot currently rebind autorun to any other key besides CapsLock due to some legacy issues left over from BOOM. This is scheduled to be fixed very soon, since I'm extremely unhappy with it.
Er, PrBoom is derived from Boom as well and we have no trouble rebinding autorun.
Are you sure your trouble isn't the weird treatment SDL gives to the caps lock key? There is this weirdness that meant you had to press capslock twice to get the action it was bound to to register. For example, we have this bug report
Having investigated further I think you have coded a workaround for autorun (g_game.c, revision 422, lines 812-826) and removed the ability to bind it completely from g_bind.c, If I'm reading this right I think you need to apply the workaround for *capslock* as opposed to whatever autorun is bound to, and revert the removal of autorun from g_bind.c. Then you can let people bind capslock to whatever, and whatever else to autorun. Or you could just disallow the binding of capslock to anything, I don't know.
No wait, scratch that. I was trying to replicate the capslock weirdness on my Debian Etch system with prboom and sdl 1.2.11 but it turns out Debian have applied a patch to make Capslock behave normally! It also appears SDL have recently incorporated a modified version of the same patch upstream. I guess that means you can remove the autorun workaround completely and none of this stuff matters... well, as long as you ship a sufficiently recent (or patched) SDL.
Sorry if this post wasn't too coherent, as you can probably tell I was doing the research as I was going along. :)
|