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

170 lines
9.4 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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: Класс ControllerSupport</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>
<!-- 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><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Открытые члены</a> &#124;
<a href="class_controller_support-members.html">Полный список членов класса</a> </div>
<div class="headertitle">
<div class="title">Класс ControllerSupport</div> </div>
</div><!--header-->
<div class="contents">
<p>Класс <a class="el" href="class_controller_support.html" title="Класс ControllerSupport позволяет играть с использованием различных устройств ввода.">ControllerSupport</a> позволяет играть с использованием различных устройств ввода.
<a href="class_controller_support.html#details">Подробнее...</a></p>
<p><code>#include &lt;<a class="el" href="controller__support_8h_source.html">controller_support.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Открытые члены</h2></td></tr>
<tr class="memitem:a66da207947b3cc8d44d0cdd96cfc1f10"><td class="memItemLeft" align="right" valign="top"><a id="a66da207947b3cc8d44d0cdd96cfc1f10"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_controller_support.html#a66da207947b3cc8d44d0cdd96cfc1f10">initialize</a> ()</td></tr>
<tr class="memdesc:a66da207947b3cc8d44d0cdd96cfc1f10"><td class="mdescLeft">&#160;</td><td class="mdescRight">Инициализирует поддержку контроллеров. <br /></td></tr>
<tr class="separator:a66da207947b3cc8d44d0cdd96cfc1f10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:addbdc82f140e553a598efa5139a02a23"><td class="memItemLeft" align="right" valign="top"><a id="addbdc82f140e553a598efa5139a02a23"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_controller_support.html#addbdc82f140e553a598efa5139a02a23">update</a> ()</td></tr>
<tr class="memdesc:addbdc82f140e553a598efa5139a02a23"><td class="mdescLeft">&#160;</td><td class="mdescRight">Проверяет подключение контроллеров и обновляет их состояние. <br /></td></tr>
<tr class="separator:addbdc82f140e553a598efa5139a02a23"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8618c603255029a1ecdc0357617135d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_controller_support.html#aa8618c603255029a1ecdc0357617135d">getButtonState</a> (int controllerId, int buttonId)</td></tr>
<tr class="memdesc:aa8618c603255029a1ecdc0357617135d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Возвращает состояние указанной кнопки на контроллере. <a href="class_controller_support.html#aa8618c603255029a1ecdc0357617135d">Подробнее...</a><br /></td></tr>
<tr class="separator:aa8618c603255029a1ecdc0357617135d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2098c113fb663ee7881d707c31584ca"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_controller_support.html#aa2098c113fb663ee7881d707c31584ca">configureButtonMapping</a> ()</td></tr>
<tr class="memdesc:aa2098c113fb663ee7881d707c31584ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Конфигурирует маппинг кнопок контроллера. <a href="class_controller_support.html#aa2098c113fb663ee7881d707c31584ca">Подробнее...</a><br /></td></tr>
<tr class="separator:aa2098c113fb663ee7881d707c31584ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Подробное описание</h2>
<div class="textblock"><p>Класс <a class="el" href="class_controller_support.html" title="Класс ControllerSupport позволяет играть с использованием различных устройств ввода.">ControllerSupport</a> позволяет играть с использованием различных устройств ввода. </p>
</div><h2 class="groupheader">Методы</h2>
<a id="aa2098c113fb663ee7881d707c31584ca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa2098c113fb663ee7881d707c31584ca">&#9670;&nbsp;</a></span>configureButtonMapping()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ControllerSupport::configureButtonMapping </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Конфигурирует маппинг кнопок контроллера. </p>
<dl class="params"><dt>Аргументы</dt><dd>
<table class="params">
<tr><td class="paramname">mappingParams</td><td>Параметры маппинга кнопок. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="aa8618c603255029a1ecdc0357617135d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa8618c603255029a1ecdc0357617135d">&#9670;&nbsp;</a></span>getButtonState()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ControllerSupport::getButtonState </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>controllerId</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>buttonId</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Возвращает состояние указанной кнопки на контроллере. </p>
<dl class="params"><dt>Аргументы</dt><dd>
<table class="params">
<tr><td class="paramname">controllerId</td><td>Идентификатор контроллера. </td></tr>
<tr><td class="paramname">buttonId</td><td>Идентификатор кнопки на контроллере. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Возвращает</dt><dd>Состояние кнопки (нажата/не нажата). </dd></dl>
</div>
</div>
<hr/>Объявления и описания членов класса находятся в файле:<ul>
<li><a class="el" href="controller__support_8h_source.html">controller_support.h</a></li>
</ul>
</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>