On Wed, Mar 17, 2010 at 3:41 PM, Michael Menegakis <arx...@gmail.com> wrote:
> On Wed, Mar 17, 2010 at 3:00 PM, Michael Menegakis <arx...@gmail.com> wrote:
>> I notice SDL_EnableKeyRepeat is apparently effectively called in EVERY
>> frame (from IN_ProcessEvents()).
>
> ah. a workaround i noticed is to put a boolean to qfalse each time
> Key_SetCatcher() is called hence to save the cpu cycles (of re-calling
> OS API functions retrieving the values).
>
> the boolean would be used to only re-set delay/interval static vars
> when it is reset.

[sorry for the multipost]

aha. and to have it dynamically re-set itself even on UI-only, have
the function (of the OP) also called in toggleconsole.

complete.
_______________________________________________
ioquake3 mailing list
ioquake3@lists.ioquake.org
http://lists.ioquake.org/listinfo.cgi/ioquake3-ioquake.org
By sending this message I agree to love ioquake3 and libsdl.

Reply via email to