[Interest] keyboard auto-repeat rate?

Andre Haupt andre at bitwigglers.org
Mon Jun 11 08:59:11 CEST 2012


Hi John,

On Fri, Jun 08, 2012 at 05:17:16PM -0700, John Weeks wrote:
> 
> On 08-Jun-2012, at 4:58 PM, Nikos Chantziaras wrote:
> 
> > And having read-only access to this value 
> > doesn't serve any useful purpose.
> 
> Our purpose is to match a custom feature in our application to the keyboard repeat rate. Since this is sometimes a user-settable preference, it would be good if we could query the system. Best if that's a cross-platform method. 

Not sure if there is a Qt way to do this. For linux you could have a
look at the sources of the kbdrate command. Windows does provide a
SystemParametersInfo() function, which might fit your needs.

http://msdn.microsoft.com/en-us/library/windows/desktop/ms724947%28v=vs.85%29.aspx

cheers,

Andre



More information about the Interest mailing list