<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.cheatengine.org/index.php?action=history&amp;feed=atom&amp;title=Lua%3AsetGlobalKeyPollInterval</id>
	<title>Lua:setGlobalKeyPollInterval - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.cheatengine.org/index.php?action=history&amp;feed=atom&amp;title=Lua%3AsetGlobalKeyPollInterval"/>
	<link rel="alternate" type="text/html" href="https://wiki.cheatengine.org/index.php?title=Lua:setGlobalKeyPollInterval&amp;action=history"/>
	<updated>2026-06-21T21:31:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.0</generator>
	<entry>
		<id>https://wiki.cheatengine.org/index.php?title=Lua:setGlobalKeyPollInterval&amp;diff=7933&amp;oldid=prev</id>
		<title>Leunsel: Created page with &quot;Category:Lua {{CodeBox|'''function''' setGlobalKeyPollInterval(''interval'') ''':''' void}}  Sets the global key poll interval.  The interval determines how often Cheat En...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.cheatengine.org/index.php?title=Lua:setGlobalKeyPollInterval&amp;diff=7933&amp;oldid=prev"/>
		<updated>2026-06-21T04:03:20Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/index.php?title=Category:Lua&quot; title=&quot;Category:Lua&quot;&gt;Category:Lua&lt;/a&gt; {{CodeBox|&amp;#039;&amp;#039;&amp;#039;function&amp;#039;&amp;#039;&amp;#039; setGlobalKeyPollInterval(&amp;#039;&amp;#039;interval&amp;#039;&amp;#039;) &amp;#039;&amp;#039;&amp;#039;:&amp;#039;&amp;#039;&amp;#039; void}}  Sets the global key poll interval.  The interval determines how often Cheat En...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Lua]]&lt;br /&gt;
{{CodeBox|'''function''' setGlobalKeyPollInterval(''interval'') ''':''' void}}&lt;br /&gt;
&lt;br /&gt;
Sets the global key poll interval.&lt;br /&gt;
&lt;br /&gt;
The interval determines how often Cheat Engine checks whether a key has been pressed. Lower values are more accurate and responsive, but use more CPU power.&lt;br /&gt;
&lt;br /&gt;
===Function Parameters===&lt;br /&gt;
{|width=&amp;quot;85%&amp;quot; cellpadding=&amp;quot;10%&amp;quot; cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
!align=&amp;quot;left&amp;quot;|Parameter&lt;br /&gt;
!align=&amp;quot;left&amp;quot;|Type&lt;br /&gt;
!style=&amp;quot;width: 80%;background-color:white;&amp;quot; align=&amp;quot;left&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
|interval&lt;br /&gt;
|Integer&lt;br /&gt;
|The global key poll interval. Lower values check for key presses more often, but use more CPU power.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
void — This function does not return any value.&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
-- Check for key presses more frequently&lt;br /&gt;
setGlobalKeyPollInterval(10)&lt;br /&gt;
&lt;br /&gt;
-- Use a higher interval to reduce CPU usage&lt;br /&gt;
setGlobalKeyPollInterval(100)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{LuaSeeAlso}}&lt;/div&gt;</summary>
		<author><name>Leunsel</name></author>
		
	</entry>
</feed>