121 lines
7.3 KiB
HTML
121 lines
7.3 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>SFML - Simple and Fast Multimedia Library</title>
|
|
<meta http-equiv="Content-Type" content="text/html;"/>
|
|
<meta charset="utf-8"/>
|
|
<!--<link rel='stylesheet' type='text/css' href="https://fonts.googleapis.com/css?family=Ubuntu:400,700,400italic"/>-->
|
|
<link rel="stylesheet" type="text/css" href="doxygen.css" title="default" media="screen,print" />
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="banner-container">
|
|
<div id="banner">
|
|
<span id="sfml">SFML 2.5.1</span>
|
|
</div>
|
|
</div>
|
|
<div id="content">
|
|
<!-- Generated by Doxygen 1.8.14 -->
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
|
<li><a href="modules.html"><span>Modules</span></a></li>
|
|
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="classes.html"><span>Class Index</span></a></li>
|
|
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><b>sf</b></li><li class="navelem"><a class="el" href="classsf_1_1Event.html">Event</a></li><li class="navelem"><a class="el" href="structsf_1_1Event_1_1JoystickButtonEvent.html">JoystickButtonEvent</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-attribs">Public Attributes</a> |
|
|
<a href="structsf_1_1Event_1_1JoystickButtonEvent-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">sf::Event::JoystickButtonEvent Struct Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p><a class="el" href="classsf_1_1Joystick.html" title="Give access to the real-time state of the joysticks. ">Joystick</a> buttons events parameters (JoystickButtonPressed, JoystickButtonReleased)
|
|
<a href="structsf_1_1Event_1_1JoystickButtonEvent.html#details">More...</a></p>
|
|
|
|
<p><code>#include <<a class="el" href="Event_8hpp_source.html">Event.hpp</a>></code></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
|
|
Public Attributes</h2></td></tr>
|
|
<tr class="memitem:a2f80ecdb964a5ae0fc30726a404c41ec"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="structsf_1_1Event_1_1JoystickButtonEvent.html#a2f80ecdb964a5ae0fc30726a404c41ec">joystickId</a></td></tr>
|
|
<tr class="memdesc:a2f80ecdb964a5ae0fc30726a404c41ec"><td class="mdescLeft"> </td><td class="mdescRight">Index of the joystick (in range [0 .. <a class="el" href="classsf_1_1Joystick.html#aee00dd432eacd8369d279b47c3ab4cc5a6e0a2a95bc1da277610c04d80f52715e" title="Maximum number of supported joysticks. ">Joystick::Count</a> - 1]) <a href="#a2f80ecdb964a5ae0fc30726a404c41ec">More...</a><br /></td></tr>
|
|
<tr class="separator:a2f80ecdb964a5ae0fc30726a404c41ec"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6412e698a2f7904c5aa875a0d1b34da4"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="structsf_1_1Event_1_1JoystickButtonEvent.html#a6412e698a2f7904c5aa875a0d1b34da4">button</a></td></tr>
|
|
<tr class="memdesc:a6412e698a2f7904c5aa875a0d1b34da4"><td class="mdescLeft"> </td><td class="mdescRight">Index of the button that has been pressed (in range [0 .. <a class="el" href="classsf_1_1Joystick.html#aee00dd432eacd8369d279b47c3ab4cc5a2f1b8a0a59f2c12a4775c0e1e69e1816" title="Maximum number of supported buttons. ">Joystick::ButtonCount</a> - 1]) <a href="#a6412e698a2f7904c5aa875a0d1b34da4">More...</a><br /></td></tr>
|
|
<tr class="separator:a6412e698a2f7904c5aa875a0d1b34da4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p><a class="el" href="classsf_1_1Joystick.html" title="Give access to the real-time state of the joysticks. ">Joystick</a> buttons events parameters (JoystickButtonPressed, JoystickButtonReleased) </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Event_8hpp_source.html#l00154">154</a> of file <a class="el" href="Event_8hpp_source.html">Event.hpp</a>.</p>
|
|
</div><h2 class="groupheader">Member Data Documentation</h2>
|
|
<a id="a6412e698a2f7904c5aa875a0d1b34da4"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6412e698a2f7904c5aa875a0d1b34da4">◆ </a></span>button</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">unsigned int sf::Event::JoystickButtonEvent::button</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Index of the button that has been pressed (in range [0 .. <a class="el" href="classsf_1_1Joystick.html#aee00dd432eacd8369d279b47c3ab4cc5a2f1b8a0a59f2c12a4775c0e1e69e1816" title="Maximum number of supported buttons. ">Joystick::ButtonCount</a> - 1]) </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Event_8hpp_source.html#l00157">157</a> of file <a class="el" href="Event_8hpp_source.html">Event.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a2f80ecdb964a5ae0fc30726a404c41ec"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a2f80ecdb964a5ae0fc30726a404c41ec">◆ </a></span>joystickId</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">unsigned int sf::Event::JoystickButtonEvent::joystickId</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Index of the joystick (in range [0 .. <a class="el" href="classsf_1_1Joystick.html#aee00dd432eacd8369d279b47c3ab4cc5a6e0a2a95bc1da277610c04d80f52715e" title="Maximum number of supported joysticks. ">Joystick::Count</a> - 1]) </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Event_8hpp_source.html#l00156">156</a> of file <a class="el" href="Event_8hpp_source.html">Event.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this struct was generated from the following file:<ul>
|
|
<li><a class="el" href="Event_8hpp_source.html">Event.hpp</a></li>
|
|
</ul>
|
|
</div><!-- contents -->
|
|
</div>
|
|
<div id="footer-container">
|
|
<div id="footer">
|
|
SFML is licensed under the terms and conditions of the <a href="https://www.sfml-dev.org/license.php">zlib/png license</a>.<br>
|
|
Copyright © Laurent Gomila ::
|
|
Documentation generated by <a href="http://www.doxygen.org/" title="doxygen website">doxygen</a> ::
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|