A89: Re: Key Repeat Mask


[Prev][Next][Index][Thread]

A89: Re: Key Repeat Mask




Hi!

> I have to use the keyboard queue to read keystrokes in a program 
> I'm working on, and I read in the TIGCC Lib docs how a bit is set
> when the key is repeated, and how it can easily be masked out 
> manually.  Since I'm some what new to C can someone tell me how
> I can do this.

key &= ~0x800;

will mask this bit in variable 'key'.

Cheers,

Zeljko Juric