Re: A92: Keyboard Interrupt
[Prev][Next][Index][Thread]
Re: A92: Keyboard Interrupt
Edward Plese wrote:
> In the 3d raycasting game I am working on, it runs at a decent frame
> rate normally, but as soon as I hold down one of the arrow keys or any
>
> key at all, the frame rate is at least cut in half! I'm sure this is
> due to the keyboard interrupt service routines. Is there any way to
> get
> rid of this slowdown?
>
> -Ed
Do one of the following things:
* switch off all interrupts, and ask for the keys manualy by the
keyboardmatrix
* switch off the interrupts only for time-intensive calculations, and
ask for keys normaly
References: