UNPKG

crossbrowdy

Version:

A Multimedia JavaScript framework to create real cross-platform and hybrid game engines, games, emulators, multimedia libraries and apps.

2,972 lines (960 loc) 212 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width"> <title>CrossBrowdy API documentation [printable] Namespace: extended</title> <!--[if lt IE 9]> <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <link type="text/css" rel="stylesheet" href="styles/sunlight.default.css"> <link type="text/css" rel="stylesheet" href="styles/site.yeti.css"> </head> <body style="min-width:800px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;"> <div class="navbar navbar-default navbar-fixed-top "> <div class="container"> <div class="navbar-header"> <a class="navbar-brand" href="index.html">CrossBrowdy API documentation [printable]</a> <button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#topNavigation"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> </div> <div class="navbar-collapse collapse" id="topNavigation"> <ul class="nav navbar-nav"> <li class="dropdown"> <a href="namespaces.list.html" class="dropdown-toggle" data-toggle="dropdown">Namespaces<b class="caret"></b></a> <ul class="dropdown-menu inline"> <li><a href="CB_Arrays.html">CB_Arrays</a></li><li><a href="CB_AudioDetector.html">CB_AudioDetector</a></li><li><a href="CB_Client.html">CB_Client</a></li><li><a href="CB_Collisions.html">CB_Collisions</a></li><li><a href="CB_Configuration.html">CB_Configuration</a></li><li><a href="CB_Configuration.CrossBase.html">CB_Configuration.CrossBase</a></li><li><a href="CB_Configuration.CrossBrowdy.html">CB_Configuration.CrossBrowdy</a></li><li><a href="CB_Controllers.html">CB_Controllers</a></li><li><a href="CB_Controllers_Proprietary.html">CB_Controllers_Proprietary</a></li><li><a href="CB_Controllers_Proprietary.WII.html">CB_Controllers_Proprietary.WII</a></li><li><a href="CB_Controllers_Proprietary.WII_U.html">CB_Controllers_Proprietary.WII_U</a></li><li><a href="CB_Device.html">CB_Device</a></li><li><a href="CB_Device.AmbientLight.html">CB_Device.AmbientLight</a></li><li><a href="CB_Device.Battery.html">CB_Device.Battery</a></li><li><a href="CB_Device.Location.html">CB_Device.Location</a></li><li><a href="CB_Device.Motion.html">CB_Device.Motion</a></li><li><a href="CB_Device.Orientation.html">CB_Device.Orientation</a></li><li><a href="CB_Device.Proximity.html">CB_Device.Proximity</a></li><li><a href="CB_Device.Vibration.html">CB_Device.Vibration</a></li><li><a href="CB_Elements.html">CB_Elements</a></li><li><a href="CB_Events.html">CB_Events</a></li><li><a href="CB_Keyboard.html">CB_Keyboard</a></li><li><a href="CB_Keyboard.chars.html">CB_Keyboard.chars</a></li><li><a href="CB_Keyboard.extended.html">CB_Keyboard.extended</a></li><li><a href="CB_Keyboard.keys.html">CB_Keyboard.keys</a></li><li><a href="CB_Modules.html">CB_Modules</a></li><li><a href="CB_Mouse.html">CB_Mouse</a></li><li><a href="CB_Mouse.CursorImage.html">CB_Mouse.CursorImage</a></li><li><a href="CB_Net.html">CB_Net</a></li><li><a href="CB_Net.Fetch.html">CB_Net.Fetch</a></li><li><a href="CB_Net.REST.html">CB_Net.REST</a></li><li><a href="CB_Net.Sockets.html">CB_Net.Sockets</a></li><li><a href="CB_Net.Sockets.SockJS.html">CB_Net.Sockets.SockJS</a></li><li><a href="CB_Net.XHR.html">CB_Net.XHR</a></li><li><a href="CB_Pointer.html">CB_Pointer</a></li><li><a href="CB_Screen.html">CB_Screen</a></li><li><a href="CB_Speaker.html">CB_Speaker</a></li><li><a href="CB_Touch.html">CB_Touch</a></li><li><a href="CB_baseSymbols.html">CB_baseSymbols</a></li> </ul> </li> <li class="dropdown"> <a href="classes.list.html" class="dropdown-toggle" data-toggle="dropdown">Classes<b class="caret"></b></a> <ul class="dropdown-menu inline"> <li><a href="CB_AudioFile.html">CB_AudioFile</a></li><li><a href="CB_AudioFileCache.html">CB_AudioFileCache</a></li><li><a href="CB_AudioFileSprites.html">CB_AudioFileSprites</a></li><li><a href="CB_AudioFileSpritesPool.html">CB_AudioFileSpritesPool</a></li><li><a href="CB_AudioFile_API.AAPI.html">CB_AudioFile_API.AAPI</a></li><li><a href="CB_AudioFile_API.ACMP.html">CB_AudioFile_API.ACMP</a></li><li><a href="CB_AudioFile_API.SM2.html">CB_AudioFile_API.SM2</a></li><li><a href="CB_AudioFile_API.WAAPI.html">CB_AudioFile_API.WAAPI</a></li><li><a href="CB_Canvas.html">CB_Canvas</a></li><li><a href="CB_GraphicSprites.html">CB_GraphicSprites</a></li><li><a href="CB_GraphicSpritesScene.html">CB_GraphicSpritesScene</a></li> </ul> </li> <li class="dropdown"> <a href="global.html" class="dropdown-toggle" data-toggle="dropdown">Global<b class="caret"></b></a> <ul class="dropdown-menu inline"> <li><a href="global.html#CB_BASE_NAME">CB_BASE_NAME</a></li><li><a href="global.html#CB_CREDITS_DEFAULT">CB_CREDITS_DEFAULT</a></li><li><a href="global.html#CB_NAME">CB_NAME</a></li><li><a href="global.html#CB_OPTIONS">CB_OPTIONS</a></li><li><a href="global.html#CB_VERSION">CB_VERSION</a></li><li><a href="global.html#CB_addCredits">CB_addCredits</a></li><li><a href="global.html#CB_baseToBase">CB_baseToBase</a></li><li><a href="global.html#CB_baseToInt">CB_baseToInt</a></li><li><a href="global.html#CB_br2nl">CB_br2nl</a></li><li><a href="global.html#CB_brToNl">CB_brToNl</a></li><li><a href="global.html#CB_combineArraysOrObjects">CB_combineArraysOrObjects</a></li><li><a href="global.html#CB_combineAutomatically">CB_combineAutomatically</a></li><li><a href="global.html#CB_combineJSON">CB_combineJSON</a></li><li><a href="global.html#CB_combineURIParameters">CB_combineURIParameters</a></li><li><a href="global.html#CB_combineURLParameters">CB_combineURLParameters</a></li><li><a href="global.html#CB_console">CB_console</a></li><li><a href="global.html#CB_copyObject">CB_copyObject</a></li><li><a href="global.html#CB_countDecimalDigits">CB_countDecimalDigits</a></li><li><a href="global.html#CB_countDecimalPart">CB_countDecimalPart</a></li><li><a href="global.html#CB_countDecimals">CB_countDecimals</a></li><li><a href="global.html#CB_countIntegerDigits">CB_countIntegerDigits</a></li><li><a href="global.html#CB_countIntegerPart">CB_countIntegerPart</a></li><li><a href="global.html#CB_credits">CB_credits</a></li><li><a href="global.html#CB_forEach">CB_forEach</a></li><li><a href="global.html#CB_forceString">CB_forceString</a></li><li><a href="global.html#CB_getBase64StringObject">CB_getBase64StringObject</a></li><li><a href="global.html#CB_getCookie">CB_getCookie</a></li><li><a href="global.html#CB_getDatum">CB_getDatum</a></li><li><a href="global.html#CB_getJSONPropertyValue">CB_getJSONPropertyValue</a></li><li><a href="global.html#CB_getLZStringObject">CB_getLZStringObject</a></li><li><a href="global.html#CB_getValueIndex">CB_getValueIndex</a></li><li><a href="global.html#CB_getValuePath">CB_getValuePath</a></li><li><a href="global.html#CB_includeJSFile">CB_includeJSFile</a></li><li><a href="global.html#CB_indexOf">CB_indexOf</a></li><li><a href="global.html#CB_init">CB_init</a></li><li><a href="global.html#CB_intToBase">CB_intToBase</a></li><li><a href="global.html#CB_isArray">CB_isArray</a></li><li><a href="global.html#CB_isEmail">CB_isEmail</a></li><li><a href="global.html#CB_isFileLocal">CB_isFileLocal</a></li><li><a href="global.html#CB_isString">CB_isString</a></li><li><a href="global.html#CB_lastIndexOf">CB_lastIndexOf</a></li><li><a href="global.html#CB_ltrim">CB_ltrim</a></li><li><a href="global.html#CB_nl2br">CB_nl2br</a></li><li><a href="global.html#CB_nlToBr">CB_nlToBr</a></li><li><a href="global.html#CB_numberFormat">CB_numberFormat</a></li><li><a href="global.html#CB_numberOfDecimalDigits">CB_numberOfDecimalDigits</a></li><li><a href="global.html#CB_numberOfDecimals">CB_numberOfDecimals</a></li><li><a href="global.html#CB_numberOfIntegerDigits">CB_numberOfIntegerDigits</a></li><li><a href="global.html#CB_parseJSON">CB_parseJSON</a></li><li><a href="global.html#CB_parseString">CB_parseString</a></li><li><a href="global.html#CB_regularExpressionString">CB_regularExpressionString</a></li><li><a href="global.html#CB_renderString">CB_renderString</a></li><li><a href="global.html#CB_replaceAll">CB_replaceAll</a></li><li><a href="global.html#CB_rtrim">CB_rtrim</a></li><li><a href="global.html#CB_scriptPath">CB_scriptPath</a></li><li><a href="global.html#CB_scriptPathCalculate">CB_scriptPathCalculate</a></li><li><a href="global.html#CB_setCookie">CB_setCookie</a></li><li><a href="global.html#CB_setDatum">CB_setDatum</a></li><li><a href="global.html#CB_sizeOf">CB_sizeOf</a></li><li><a href="global.html#CB_sizeof">CB_sizeof</a></li><li><a href="global.html#CB_stringifyJSON">CB_stringifyJSON</a></li><li><a href="global.html#CB_symmetricCall">CB_symmetricCall</a></li><li><a href="global.html#CB_symmetricCallClear">CB_symmetricCallClear</a></li><li><a href="global.html#CB_this">CB_this</a></li><li><a href="global.html#CB_trim">CB_trim</a></li> </ul> </li> </ul> <div class="col-sm-3 col-md-3"> <form class="navbar-form" role="search"> <div class="input-group"> <input type="text" class="form-control" placeholder="Search" name="q" id="search-input"> <div class="input-group-btn"> <button class="btn btn-default" id="search-submit"><i class="glyphicon glyphicon-search"></i></button> </div> </div> </form> </div> </div> </div> </div> <div class="container" id="toc-content" style="width:100%;"> <div class="row" style="width:100%;"> <div class="col-md-8" style="width:85%;"> <div id="main"> <h1 class="page-title">Namespace: extended</h1> <section> <header> <h2> <span class="ancestors"><a href="CB_Keyboard.html">CB_Keyboard</a>.</span> extended </h2> </header> <article> <div class="container-overview"> <div class="description"><p>Property that keeps extended key codes for different systems and platforms.</p></div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="CrossBase_input_CB_Keyboard.js.html">CrossBase/input/CB_Keyboard.js</a>, <a href="CrossBase_input_CB_Keyboard.js.html#sunlight-1-line-66">line 66</a> </li> </ul> </dd> </dl> </div> <h3 class="subsection-title">Members</h3> <dl> <hr> <dt class="name" id=".AMAZON_FIRE_TV_GAME_CONTROLLER"> <h4 id=".AMAZON_FIRE_TV_GAME_CONTROLLER"><span class="type-signature">&lt;static, constant> </span>AMAZON_FIRE_TV_GAME_CONTROLLER<span class="type-signature"> :Object</span></h4> </dt> <dd> <div class="description"> <p>Amazon Fire TV game controller key codes.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">Object</span> </li> </ul> <dl class="details"> <h5 class="subsection-title">Properties:</h5> <dl> <table class="props table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>UP</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>UP button.</p></td> </tr> <tr> <td class="name"><code>DOWN</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>DOWN button.</p></td> </tr> <tr> <td class="name"><code>LEFT</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>LEFT button.</p></td> </tr> <tr> <td class="name"><code>RIGHT</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>RIGHT button.</p></td> </tr> <tr> <td class="name"><code>A</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>&quot;A&quot; button.</p></td> </tr> <tr> <td class="name"><code>B</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>&quot;B&quot; button.</p></td> </tr> <tr> <td class="name"><code>X</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>&quot;X&quot; button.</p></td> </tr> <tr> <td class="name"><code>Y</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>&quot;Y&quot; button.</p></td> </tr> </tbody> </table> </dl> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="CrossBase_input_CB_Keyboard.js.html">CrossBase/input/CB_Keyboard.js</a>, <a href="CrossBase_input_CB_Keyboard.js.html#sunlight-1-line-1023">line 1023</a> </li> </ul> </dd> </dl> </dd> <hr> <dt class="name" id=".AMAZON_FIRE_TV_REMOTE"> <h4 id=".AMAZON_FIRE_TV_REMOTE"><span class="type-signature">&lt;static, constant> </span>AMAZON_FIRE_TV_REMOTE<span class="type-signature"> :Object</span></h4> </dt> <dd> <div class="description"> <p>Amazon Fire TV remote control key codes.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">Object</span> </li> </ul> <dl class="details"> <h5 class="subsection-title">Properties:</h5> <dl> <table class="props table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>UP</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>UP button.</p></td> </tr> <tr> <td class="name"><code>DOWN</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>DOWN button.</p></td> </tr> <tr> <td class="name"><code>LEFT</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>LEFT button.</p></td> </tr> <tr> <td class="name"><code>RIGHT</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>RIGHT button.</p></td> </tr> <tr> <td class="name"><code>SELECT</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>SELECT button.</p></td> </tr> <tr> <td class="name"><code>PLAY_PAUSE</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>PLAY/PAUSE button.</p></td> </tr> <tr> <td class="name"><code>RW</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>RW (REWIND) button.</p></td> </tr> <tr> <td class="name"><code>FF</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>FF (FAST FORWARD) button.</p></td> </tr> </tbody> </table> </dl> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="CrossBase_input_CB_Keyboard.js.html">CrossBase/input/CB_Keyboard.js</a>, <a href="CrossBase_input_CB_Keyboard.js.html#sunlight-1-line-994">line 994</a> </li> </ul> </dd> </dl> </dd> <hr> <dt class="name" id=".LG_SMART_TV_LINUX_35230"> <h4 id=".LG_SMART_TV_LINUX_35230"><span class="type-signature">&lt;static, constant> </span>LG_SMART_TV_LINUX_35230<span class="type-signature"> :Object</span></h4> </dt> <dd> <div class="description"> <p>LG Smart TV (Linux 35230) key codes.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">Object</span> </li> </ul> <dl class="details"> <h5 class="subsection-title">Properties:</h5> <dl> <table class="props table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>_0</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>0 (zero) button.</p></td> </tr> <tr> <td class="name"><code>_1</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>1 button.</p></td> </tr> <tr> <td class="name"><code>_2</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>2 button.</p></td> </tr> <tr> <td class="name"><code>_3</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>3 button.</p></td> </tr> <tr> <td class="name"><code>_4</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>4 button.</p></td> </tr> <tr> <td class="name"><code>_5</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>5 button.</p></td> </tr> <tr> <td class="name"><code>_6</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>6 button.</p></td> </tr> <tr> <td class="name"><code>_7</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>7 button.</p></td> </tr> <tr> <td class="name"><code>_8</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>8 button.</p></td> </tr> <tr> <td class="name"><code>_9</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>9 button.</p></td> </tr> <tr> <td class="name"><code>0</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>Alias for <code>CB_Keyboard.extended.LG_SMART_TV_LINUX_35230._0</code>.</p></td> </tr> <tr> <td class="name"><code>1</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>Alias for <code>CB_Keyboard.extended.LG_SMART_TV_LINUX_35230._1</code>.</p></td> </tr> <tr> <td class="name"><code>2</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>Alias for <code>CB_Keyboard.extended.LG_SMART_TV_LINUX_35230._2</code>.</p></td> </tr> <tr> <td class="name"><code>3</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>Alias for <code>CB_Keyboard.extended.LG_SMART_TV_LINUX_35230._3</code>.</p></td> </tr> <tr> <td class="name"><code>4</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>Alias for <code>CB_Keyboard.extended.LG_SMART_TV_LINUX_35230._4</code>.</p></td> </tr> <tr> <td class="name"><code>5</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>Alias for <code>CB_Keyboard.extended.LG_SMART_TV_LINUX_35230._5</code>.</p></td> </tr> <tr> <td class="name"><code>6</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>Alias for <code>CB_Keyboard.extended.LG_SMART_TV_LINUX_35230._6</code>.</p></td> </tr> <tr> <td class="name"><code>7</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>Alias for <code>CB_Keyboard.extended.LG_SMART_TV_LINUX_35230._7</code>.</p></td> </tr> <tr> <td class="name"><code>8</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>Alias for <code>CB_Keyboard.extended.LG_SMART_TV_LINUX_35230._8</code>.</p></td> </tr> <tr> <td class="name"><code>9</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>Alias for <code>CB_Keyboard.extended.LG_SMART_TV_LINUX_35230._9</code>.</p></td> </tr> <tr> <td class="name"><code>FORWARD</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>FORWARD button.</p></td> </tr> <tr> <td class="name"><code>REWIND</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>REWIND button.</p></td> </tr> <tr> <td class="name"><code>PLAY</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>PLAY button.</p></td> </tr> <tr> <td class="name"><code>PAUSE</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>PAUSE button.</p></td> </tr> </tbody> </table> </dl> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="CrossBase_input_CB_Keyboard.js.html">CrossBase/input/CB_Keyboard.js</a>, <a href="CrossBase_input_CB_Keyboard.js.html#sunlight-1-line-1187">line 1187</a> </li> </ul> </dd> </dl> </dd> <hr> <dt class="name" id=".PS3"> <h4 id=".PS3"><span class="type-signature">&lt;static, constant> </span>PS3<span class="type-signature"> :Object</span></h4> </dt> <dd> <div class="description"> <p>Sony PlayStation 3 key codes.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">Object</span> </li> </ul> <dl class="details"> <h5 class="subsection-title">Properties:</h5> <dl> <table class="props table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>UP</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>UP button.</p></td> </tr> <tr> <td class="name"><code>DOWN</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>DOWN button.</p></td> </tr> <tr> <td class="name"><code>LEFT</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>LEFT button.</p></td> </tr> <tr> <td class="name"><code>RIGHT</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>RIGHT button.</p></td> </tr> <tr> <td class="name"><code>CROSS</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>CROSS button.</p></td> </tr> </tbody> </table> </dl> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="CrossBase_input_CB_Keyboard.js.html">CrossBase/input/CB_Keyboard.js</a>, <a href="CrossBase_input_CB_Keyboard.js.html#sunlight-1-line-1095">line 1095</a> </li> </ul> </dd> </dl> </dd> <hr> <dt class="name" id=".PS4"> <h4 id=".PS4"><span class="type-signature">&lt;static, constant> </span>PS4<span class="type-signature"> :Object</span></h4> </dt> <dd> <div class="description"> <p>Sony PlayStation 4 key codes.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">Object</span> </li> </ul> <dl class="details"> <h5 class="subsection-title">Properties:</h5> <dl> <table class="props table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>UP</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>D-PAD UP button.</p></td> </tr> <tr> <td class="name"><code>DOWN</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>D-PAD DOWN button.</p></td> </tr> <tr> <td class="name"><code>LEFT</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>D-PAD LEFT button.</p></td> </tr> <tr> <td class="name"><code>RIGHT</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>D-PAD RIGHT button.</p></td> </tr> <tr> <td class="name"><code>TRIANGLE</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>TRIANGLE button.</p></td> </tr> <tr> <td class="name"><code>SQUARE</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>SQUARE button.</p></td> </tr> <tr> <td class="name"><code>CIRCLE</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>CIRCLE button.</p></td> </tr> <tr> <td class="name"><code>L1</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>L1 button.</p></td> </tr> <tr> <td class="name"><code>L2</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>L2 button.</p></td> </tr> <tr> <td class="name"><code>R1</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>R1 button.</p></td> </tr> <tr> <td class="name"><code>R2</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>R2 button.</p></td> </tr> <tr> <td class="name"><code>LEFT_STICK_CLICK</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>LEFT STICK CLICK button.</p></td> </tr> <tr> <td class="name"><code>RIGHT_STICK_CLICK</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>RIGHT STICK CLICK button.</p></td> </tr> <tr> <td class="name"><code>OPTIONS</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>OPTIONS button.</p></td> </tr> </tbody> </table> </dl> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="CrossBase_input_CB_Keyboard.js.html">CrossBase/input/CB_Keyboard.js</a>, <a href="CrossBase_input_CB_Keyboard.js.html#sunlight-1-line-1120">line 1120</a> </li> </ul> </dd> </dl> </dd> <hr> <dt class="name" id=".PSVITA"> <h4 id=".PSVITA"><span class="type-signature">&lt;static, constant> </span>PSVITA<span class="type-signature"> :Object</span></h4> </dt> <dd> <div class="description"> <p>Sony PlayStation Vita key codes.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">Object</span> </li> </ul> <dl class="details"> <h5 class="subsection-title">Properties:</h5> <dl> <table class="props table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>UP</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>UP button.</p></td> </tr> <tr> <td class="name"><code>DOWN</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>DOWN button.</p></td> </tr> <tr> <td class="name"><code>LEFT</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>LEFT button.</p></td> </tr> <tr> <td class="name"><code>RIGHT</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>RIGHT button.</p></td> </tr> </tbody> </table> </dl> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="CrossBase_input_CB_Keyboard.js.html">CrossBase/input/CB_Keyboard.js</a>, <a href="CrossBase_input_CB_Keyboard.js.html#sunlight-1-line-1165">line 1165</a> </li> </ul> </dd> </dl> </dd> <hr> <dt class="name" id=".SAMSUNG_TIZEN_TV"> <h4 id=".SAMSUNG_TIZEN_TV"><span class="type-signature">&lt;static, constant> </span>SAMSUNG_TIZEN_TV<span class="type-signature"> :Object</span></h4> </dt> <dd> <div class="description"> <p>Samsung Tizen TV key codes.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">Object</span> </li> </ul> <dl class="details"> <h5 class="subsection-title">Properties:</h5> <dl> <table class="props table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>UP</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>UP button.</p></td> </tr> <tr> <td class="name"><code>DOWN</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>DOWN button.</p></td> </tr> <tr> <td class="name"><code>LEFT</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>LEFT button.</p></td> </tr> <tr> <td class="name"><code>RIGHT</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>RIGHT button.</p></td> </tr> <tr> <td class="name"><code>ENTER</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>ENTER button.</p></td> </tr> <tr> <td class="name"><code>MEDIA_PLAY_PAUSE</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>PLAY/PAUSE MEDIA button.</p></td> </tr> <tr> <td class="name"><code>MEDIA_REWIND</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>RW (REWIND) MEDIA button.</p></td> </tr> <tr> <td class="name"><code>MEDIA_FORWARD</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>FW (FORWARD) MEDIA button.</p></td> </tr> <tr> <td class="name"><code>MEDIA_PLAY</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>PLAY MEDIA button.</p></td> </tr> <tr> <td class="name"><code>MEDIA_PAUSE</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>PAUSE MEDIA button.</p></td> </tr> <tr> <td class="name"><code>MEDIA_STOP</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>STOP MEDIA button.</p></td> </tr> <tr> <td class="name"><code>RETURN</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>RETURN button.</p></td> </tr> <tr> <td class="name"><code>MEDIA_RECORD</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>RECORD MEDIA button.</p></td> </tr> <tr> <td class="name"><code>MEDIA_TRACK_PREVIOUS</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>PREVIOUS TRACK MEDIA button.</p></td> </tr> <tr> <td class="name"><code>MEDIA_TRACK_NEXT</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>NEXT TRACK MEDIA button.</p></td> </tr> <tr> <td class="name"><code>VOLUME_UP</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>VOLUME UP button.</p></td> </tr> <tr> <td class="name"><code>VOLUME_DOWN</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>VOLUME DOWN button.</p></td> </tr> <tr> <td class="name"><code>MUTE</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>MUTE button.</p></td> </tr> <tr> <td class="name"><code>_0</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>0 (zero) button.</p></td> </tr> <tr> <td class="name"><code>_1</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>1 button.</p></td> </tr> <tr> <td class="name"><code>_2</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>2 button.</p></td> </tr> <tr> <td class="name"><code>_3</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>3 button.</p></td> </tr> <tr> <td class="name"><code>_4</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>4 button.</p></td> </tr> <tr> <td class="name"><code>_5</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"