<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.oxeyegames.com/wiki/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.oxeyegames.com/wiki/index.php?action=history&amp;feed=atom&amp;title=JoystickButtonPressed</id>
		<title>JoystickButtonPressed - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.oxeyegames.com/wiki/index.php?action=history&amp;feed=atom&amp;title=JoystickButtonPressed"/>
		<link rel="alternate" type="text/html" href="http://www.oxeyegames.com/wiki/index.php?title=JoystickButtonPressed&amp;action=history"/>
		<updated>2026-05-11T03:40:03Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.16.0</generator>

	<entry>
		<id>http://www.oxeyegames.com/wiki/index.php?title=JoystickButtonPressed&amp;diff=364&amp;oldid=prev</id>
		<title>Thewreck: Created page with '{{EngineHook| joystickButtonPressed | This hook is called when a joystick button changes state from not pressed to pressed. | {{MethodParam|joystick|A number|This is the joystick...'</title>
		<link rel="alternate" type="text/html" href="http://www.oxeyegames.com/wiki/index.php?title=JoystickButtonPressed&amp;diff=364&amp;oldid=prev"/>
				<updated>2010-01-19T20:16:02Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#39;{{EngineHook| joystickButtonPressed | This hook is called when a joystick button changes state from not pressed to pressed. | {{MethodParam|joystick|A number|This is the joystick...&amp;#39;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{EngineHook|&lt;br /&gt;
joystickButtonPressed&lt;br /&gt;
|&lt;br /&gt;
This hook is called when a joystick button changes state from not pressed to pressed.&lt;br /&gt;
|&lt;br /&gt;
{{MethodParam|joystick|A number|This is the joystick Id of the joystick the button belongs to.}}&lt;br /&gt;
{{MethodParam|button|A number|This is button number on the joystick.}}&lt;br /&gt;
}}&lt;br /&gt;
=== Example ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  local function joystickButtonHasBeenPressed(joy, btn)&lt;br /&gt;
    print(&amp;quot;joystick &amp;quot;..joy.. &amp;quot; button &amp;quot;..btn.. &amp;quot; pressed.&amp;quot;)&lt;br /&gt;
  end&lt;br /&gt;
&lt;br /&gt;
  hook.add(&amp;quot;joystickButtonPressed&amp;quot;, joystickButtonHasBeenPressed)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Thewreck</name></author>	</entry>

	</feed>