<!-- clanlib header begin --> <HTML> <HEAD> <TITLE>CL_Joystick - ClanLib Game SDK</TITLE> <STYLE TYPE="text/css"><!-- HTML BODY { font-family: verdana, helvetica, sans-serif; font-size: 12px; } H1 { font-size: 22px; } H2 { font-size: 18px; } H3 { font-size: 16px; } H4 { font-size: 14px; } P { font-size: 12px; } LI { font-size: 12px; } --></STYLE> </HEAD> <body bgcolor=white text=black link=blue vlink=#800080> <center> <img src="http://clanlib.org/gfx/clanlib.png"> </center> <!-- clanlib header end --> <center> <p> <a href="http://clanlib.org/docs.html">Home</a> | <a href="classes.html">All Classes</a> | <a href="modules.html">Grouped Classes</a> | <a href="index.html">Index</a> | <a href="search.html">Search</a> </p> </center> <h1>Class CL_Joystick</h1> <p> Joystick class. <a href="#description">More...</a></p> <p>Derived from: <i>none</i> <br> Derived by: <i>none</i> <br>Group: Display (Input)</p> <p> #include <ClanLib/display.h> <p> <table border=0 width=100%> </table> <p><b>Attributes:</b></p> <table border=0 width=100%> <tr><td width=30% valign=top><p><a href="CL_Joystick__get_device_count.html">get_device_count</a></p></td><td valign=top><p> Returns the number of joysticks available.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Joystick__get_device.html">get_device</a></p></td><td valign=top><p> Returns a joystick device.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Joystick__get_keycode.html">get_keycode</a></p></td><td valign=top><p> Returns true if the key with the specified key code is pressed.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Joystick__get_key_name.html">get_key_name</a></p></td><td valign=top><p> Key name for specified identifier (Joystick Button 1).</p></td></tr></table> <p><b>Signals:</b></p> <table border=0 width=100%> <tr><td width=30% valign=top><p><a href="CL_Joystick__sig_key_down.html">sig_key_down</a></p></td><td valign=top><p> Signal emitted when a joystick button is pressed on the specified joystick.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Joystick__sig_key_up.html">sig_key_up</a></p></td><td valign=top><p> Signal emitted when a joystick button is released on the specified joystick.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Joystick__sig_move.html">sig_move</a></p></td><td valign=top><p> Signal emitted when specified joystick is moved.</p></td></tr></table> <a name="#description"><p><b>Detailed description:</b></p> !group=Display/Input! !header=display.h! <!-- clanlib footer begin --> <center><br><br><font color="#a0a0a0"> Questions or comments, write to the <a href="http://clanlib.org/contact.html">ClanLib mailing list</a>. </font></center> </body> </html> <!-- clanlib footer end -->