Hi all, Below is a text cutted from HardBall.c given as an example how to handle buttons ------------------------------------------------------------------ // Set the keys we poll to not generate events. This saves cpu cycles. KeySetMask( ~(moveLeftKey | moveLeftKeyAlt | moveRightKey | moveRightKeyAlt) ); // Avoid the code below because KeyRates is broken. return; // Also set the key repeat rate low to avoid constantly checking them. initDelay = slowestKeyDelayRate; period = slowestKeyPeriodRate; queueAhead = false; KeyRates(true, &initDelay, &period, &period, &queueAhead); --------------------------------------------------------- What does mean that KeyRates is broken? Can I use it or not? What are restrictions? Regards, Constantine Klyatskin --------------------------------- http://klyatskin.da.ru
