Re: [Interest] Changing key repeat settings in Qt

2012-01-30 Thread Kimmo Viitanen
On 01/30/2012 03:51 PM, Till Oliver Knoll wrote: > Hmmm, so you do a single move triggered by a key-press? > > IMHO it would be better to detect a key DOWN event instead and keep moving as long as that key is down (or in other words: until you receive a key UP event of the proper key). > > W

Re: [Interest] Changing key repeat settings in Qt

2012-01-30 Thread Till Oliver Knoll
Am 30.01.2012 um 14:24 schrieb Kimmo Viitanen : > Hi, > > ... > With the default key delay there is a noticeable pause between the first > movement and subsequent moves. Hmmm, so you do a single move triggered by a key-press? IMHO it would be better to detect a key DOWN event instead and kee

Re: [Interest] Changing key repeat settings in Qt

2012-01-30 Thread Konstantin Tokarev
30.01.2012, 17:24, "Kimmo Viitanen" : > Hi, > > Is it possible to change the key repeat settings using Qt? No. You should configure underlying OS driver, or filter key events in your code (e.g., subclass QApplication and redefine notify()). -- Regards, Konstantin __

[Interest] Changing key repeat settings in Qt

2012-01-30 Thread Kimmo Viitanen
Hi, Is it possible to change the key repeat settings using Qt? When a keyboard key is pressed and kept pressed, there is usually a delay before the key starts repeating. I'd like to reduce this delay. This is probably not something that is usually desired in an application (fiddling with user'