Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
21 lines
1.7 KiB
HTML
21 lines
1.7 KiB
HTML
<!DOCTYPE html>
|
|
|
|
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge"><title>msx-hid.h</title><link rel="stylesheet" type="text/css" href="../../styles/main.css" /><script type="text/javascript" src="../../styles/main.js"></script><script type="text/javascript">NDLoader.LoadJS("Content", "../../styles/");</script></head>
|
|
|
|
<!-- Generated by Natural Docs, version 2.2 -->
|
|
|
|
<!-- saved from url=(0016)http://localhost -->
|
|
|
|
<body onload="NDLoader.OnLoad('Content');" class="NDPage NDContentPage">
|
|
|
|
<a name="Functions"></a><a name="Topic91"></a><div class="CTopic TGroup LC first">
|
|
<div class="CTitle">Functions</div>
|
|
</div>
|
|
|
|
<a name="HID_Detect"></a><a name="Topic92"></a><div class="CTopic TFunction LC last">
|
|
<div class="CTitle">HID_Detect</div>
|
|
<div id="NDPrototype92" class="NDPrototype WideForm"><div class="PSection PParameterSection CStyle"><table><tr><td class="PBeforeParameters">u16 HID_Detect(</td><td class="PParametersParentCell"><table class="PParameters"><tr><td class="PModifierQualifier first"><span class="SHKeyword">enum</span> </td><td class="PType">INPUT_PORT </td><td class="PName last">port</td></tr></table></td><td class="PAfterParameters">)</td></tr></table></div></div>
|
|
<div class="CBody"><p>Detect device plugged to joystick port</p><div class="CHeading">Parameters</div><table class="CDefinitionList"><tr><td class="CDLEntry">port<div class="CDLParameterType"><span class="SHKeyword">enum</span> INPUT_PORT</div></td><td class="CDLDefinition"><p>ID of the port to check. Can be <INPUT_PORT1> or <INPUT_PORT2>.</p></td></tr></table><div class="CHeading">Returns</div><p>16-bit footprint of the device</p></div>
|
|
</div>
|
|
|
|
</body></html> |