# File lib/rubygame/events.rb, line 74 def self.disable_key_repeat result = SDL.EnableKeyRepeat( 0, 0 ) if result != 0 raise( Rubygame::SDLError, "Could not disable key repeat: #{SDL.GetError()}" ) end return nil end