pppi-rpg-game/program/html/controller__support_8h_source.html

91 lines
7.1 KiB
HTML
Raw Permalink Normal View History

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PPPI RPG Game: Исходный файл controller_support.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">PPPI RPG Game
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Создано системой Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Поиск','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Поиск');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="headertitle">
<div class="title">controller_support.h</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160; </div>
<div class="line"><a name="l00004"></a><span class="lineno"><a class="line" href="class_controller_support.html"> 4</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_controller_support.html">ControllerSupport</a> {</div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="class_controller_support.html#a66da207947b3cc8d44d0cdd96cfc1f10"> 9</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_controller_support.html#a66da207947b3cc8d44d0cdd96cfc1f10">initialize</a>();</div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160; </div>
<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="class_controller_support.html#addbdc82f140e553a598efa5139a02a23"> 14</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_controller_support.html#addbdc82f140e553a598efa5139a02a23">update</a>();</div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160; </div>
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="class_controller_support.html#aa8618c603255029a1ecdc0357617135d"> 22</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_controller_support.html#aa8618c603255029a1ecdc0357617135d">getButtonState</a>(<span class="keywordtype">int</span> controllerId, <span class="keywordtype">int</span> buttonId);</div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; </div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="class_controller_support.html#aa2098c113fb663ee7881d707c31584ca"> 28</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_controller_support.html#aa2098c113fb663ee7881d707c31584ca">configureButtonMapping</a>(<span class="comment">/* параметры маппинга */</span>);</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;};</div>
<div class="ttc" id="aclass_controller_support_html"><div class="ttname"><a href="class_controller_support.html">ControllerSupport</a></div><div class="ttdoc">Класс ControllerSupport позволяет играть с использованием различных устройств ввода.</div><div class="ttdef"><b>Definition:</b> controller_support.h:4</div></div>
<div class="ttc" id="aclass_controller_support_html_a66da207947b3cc8d44d0cdd96cfc1f10"><div class="ttname"><a href="class_controller_support.html#a66da207947b3cc8d44d0cdd96cfc1f10">ControllerSupport::initialize</a></div><div class="ttdeci">void initialize()</div><div class="ttdoc">Инициализирует поддержку контроллеров.</div></div>
<div class="ttc" id="aclass_controller_support_html_aa2098c113fb663ee7881d707c31584ca"><div class="ttname"><a href="class_controller_support.html#aa2098c113fb663ee7881d707c31584ca">ControllerSupport::configureButtonMapping</a></div><div class="ttdeci">void configureButtonMapping()</div><div class="ttdoc">Конфигурирует маппинг кнопок контроллера.</div></div>
<div class="ttc" id="aclass_controller_support_html_aa8618c603255029a1ecdc0357617135d"><div class="ttname"><a href="class_controller_support.html#aa8618c603255029a1ecdc0357617135d">ControllerSupport::getButtonState</a></div><div class="ttdeci">bool getButtonState(int controllerId, int buttonId)</div><div class="ttdoc">Возвращает состояние указанной кнопки на контроллере.</div></div>
<div class="ttc" id="aclass_controller_support_html_addbdc82f140e553a598efa5139a02a23"><div class="ttname"><a href="class_controller_support.html#addbdc82f140e553a598efa5139a02a23">ControllerSupport::update</a></div><div class="ttdeci">void update()</div><div class="ttdoc">Проверяет подключение контроллеров и обновляет их состояние.</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Создано системой&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>