// Gets keyboard repeat rate. func GetKeyRepeat() (int, int) { var delay int var interval int C.SDL_GetKeyRepeat((*C.int)(cast(&delay)), (*C.int)(cast(&interval))) return delay, interval }
// Gets keyboard repeat rate. func GetKeyRepeat() (int, int) { var delay int var interval int GlobalMutex.Lock() C.SDL_GetKeyRepeat((*C.int)(cast(&delay)), (*C.int)(cast(&interval))) GlobalMutex.Unlock() return delay, interval }