Difference between revisions of "PlugIn Development:GameEx MCE Remote Key"

From Spesoft/GameEx Wiki
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
This enumeration lists the types of keys available on your MCE Remote for use in the [[PlugIn_Development:GameEx_Input_MCE_Remote_Function|Input MCE Remote]] function.
This enumeration lists the types of keys available on your MCE Remote for use in the [[PlugIn_Development:GameEx_Input_MCE_Remote_Function|Input MCE Remote]] function.
<br /><br />
<div class="note_block_red"><b>PLEASE NOTE:</b> ''This feature is marked in the internal PlugIn documentation as "not yet implemented" as of PlugIn version 1.41!''</div>
<br />
<br />
== <span style="color:darkblue;">Variable Details</span> ==
== <span class="plugin_headline_text">Variables</span> ==
<p>Below is a reference of the <span style="color:darkred"><b>Variable Name</b></span> and <span style="color:blue"><b>[Value]</b></span> set in this enumeration:</p>
<p>Below is a reference of the variables that are set in this enumeration:</p>
<div style="border-style:solid; border-color:darkred; background-color:#FFCCCC; border-width:2px; padding-left:5px; padding-right:5px; padding-top:5px; padding-bottom:5px;"><span style="color:darkred"><b>MCEButton_OK</b></span> <span style="color:blue"><b>[13]</b></span> : Specifies the MCE remote's <b>OK</b> button.<br /><span style="color:darkred"><b>MCEButton_Clear</b></span> <span style="color:blue"><b>[27]</b></span> : Specifies the MCE remote's <b>CLEAR</b> button.<br /><span style="color:darkred"><b>MCEButton_MoveLeft</b></span> <span style="color:blue"><b>[37]</b></span> : Specifies the MCE remote's <b>LEFT</b> [&#8592;] button.<br /><span style="color:darkred"><b>MCEButton_MoveUp</b></span> <span style="color:blue"><b>[38]</b></span> : Specifies the MCE remote's <b>UP</b> [&#8593;] button.<br /><span style="color:darkred"><b>MCEButton_MoveRight</b></span> <span style="color:blue"><b>[39]</b></span> : Specifies the MCE remote's <b>RIGHT</b> [&#8594;] button.<br /><span style="color:darkred"><b>MCEButton_MoveDown</b></span> <span style="color:blue"><b>[40]</b></span> : Specifies the MCE remote's <b>DOWN</b> [&#8595;] button.<br /><span style="color:darkred"><b>MCEButton_Number0</b></span> <span style="color:blue"><b>[48]</b></span> : Specifies the MCE remote's <b>NUM 0</b> button.<br /><span style="color:darkred"><b>MCEButton_Number1</b></span> <span style="color:blue"><b>[49]</b></span> : Specifies the MCE remote's <b>NUM 1</b> button.<br /><span style="color:darkred"><b>MCEButton_Number2</b></span> <span style="color:blue"><b>[50]</b></span> : Specifies the MCE remote's <b>NUM 2</b> button.<br /><span style="color:darkred"><b>MCEButton_Number3</b></span> <span style="color:blue"><b>[51]</b></span> : Specifies the MCE remote's <b>NUM 3</b> button.<br /><span style="color:darkred"><b>MCEButton_Number4</b></span> <span style="color:blue"><b>[52]</b></span> : Specifies the MCE remote's <b>NUM 4</b> button.<br /><span style="color:darkred"><b>MCEButton_Number5</b></span> <span style="color:blue"><b>[53]</b></span> : Specifies the MCE remote's <b>NUM 5</b> button.<br /><span style="color:darkred"><b>MCEButton_Number6</b></span> <span style="color:blue"><b>[54]</b></span> : Specifies the MCE remote's <b>NUM 6</b> button.<br /><span style="color:darkred"><b>MCEButton_Number7</b></span> <span style="color:blue"><b>[55]</b></span> : Specifies the MCE remote's <b>NUM 7</b> button.<br /><span style="color:darkred"><b>MCEButton_Number8</b></span> <span style="color:blue"><b>[56]</b></span> : Specifies the MCE remote's <b>NUM 8</b> button.<br /><span style="color:darkred"><b>MCEButton_Number9</b></span> <span style="color:blue"><b>[57]</b></span> : Specifies the MCE remote's <b>NUM 9</b> button.<br /><span style="color:darkred"><b>MCEButton_Number0_2</b></span> <span style="color:blue"><b>[58]</b></span> : Specifies the MCE remote's <b>ALT NUM 0</b> button.<br /></div>
<div class="code_variables">
<table>
<th><span style="color:darkred">Variable</span></th><th style="text-align:center;"><span style="color:blue;">[Value]</span></th><th>Description</th>
<tr><td><span style="color:darkred">MCEButton_OK</span></td><td style="text-align:center;"><span style="color:blue">[13]</span></td><td>Specifies the MCE remote's <b>OK</b> button.</td></tr>
<tr><td><span style="color:darkred">MCEButton_Clear</span></td><td style="text-align:center;"><span style="color:blue">[27]</span></td><td>Specifies the MCE remote's <b>CLEAR</b> button.</td></tr>
<tr><td><span style="color:darkred">MCEButton_MoveLeft</span></td><td style="text-align:center;"><span style="color:blue">[37]</span></td><td>Specifies the MCE remote's <b>LEFT</b> [&#8592;] button.</td></tr>
<tr><td><span style="color:darkred">MCEButton_MoveUp</span></td><td style="text-align:center;"><span style="color:blue">[38]</span></td><td>Specifies the MCE remote's <b>UP</b> [&#8593;] button.</td></tr>
<tr><td><span style="color:darkred">MCEButton_MoveRight</span></td><td style="text-align:center;"><span style="color:blue">[39]</span></td><td>Specifies the MCE remote's <b>RIGHT</b> [&#8594;] button.</td></tr>
<tr><td><span style="color:darkred">MCEButton_MoveDown</span></td><td style="text-align:center;"><span style="color:blue">[40]</span></td><td>Specifies the MCE remote's <b>DOWN</b> [&#8595;] button.</td></tr>
<tr><td><span style="color:darkred">MCEButton_Number0</span></td><td style="text-align:center;"><span style="color:blue">[48]</span></td><td>Specifies the MCE remote's <b>NUM 0</b> button.</td></tr>
<tr><td><span style="color:darkred">MCEButton_Number1</span></td><td style="text-align:center;"><span style="color:blue">[49]</span></td><td>Specifies the MCE remote's <b>NUM 1</b> button.</td></tr>
<tr><td><span style="color:darkred">MCEButton_Number2</span></td><td style="text-align:center;"><span style="color:blue">[50]</span></td><td>Specifies the MCE remote's <b>NUM 2</b> button.</td></tr>
<tr><td><span style="color:darkred">MCEButton_Number3</span></td><td style="text-align:center;"><span style="color:blue">[51]</span></td><td>Specifies the MCE remote's <b>NUM 3</b> button.</td></tr>
<tr><td><span style="color:darkred">MCEButton_Number4</span></td><td style="text-align:center;"><span style="color:blue">[52]</span></td><td>Specifies the MCE remote's <b>NUM 4</b> button.</td></tr>
<tr><td><span style="color:darkred">MCEButton_Number5</span></td><td style="text-align:center;"><span style="color:blue">[53]</span></td><td>Specifies the MCE remote's <b>NUM 5</b> button.</td></tr>
<tr><td><span style="color:darkred">MCEButton_Number6</span></td><td style="text-align:center;"><span style="color:blue">[54]</span></td><td>Specifies the MCE remote's <b>NUM 6</b> button.</td></tr>
<tr><td><span style="color:darkred">MCEButton_Number7</span></td><td style="text-align:center;"><span style="color:blue">[55]</span></td><td>Specifies the MCE remote's <b>NUM 7</b> button.</td></tr>
<tr><td><span style="color:darkred">MCEButton_Number8</span></td><td style="text-align:center;"><span style="color:blue">[56]</span></td><td>Specifies the MCE remote's <b>NUM 8</b> button.</td></tr>
<tr><td><span style="color:darkred">MCEButton_Number9</span></td><td style="text-align:center;"><span style="color:blue">[57]</span></td><td>Specifies the MCE remote's <b>NUM 9</b> button.</td></tr>
<tr><td><span style="color:darkred">MCEButton_Number0_2</span></td><td style="text-align:center;"><span style="color:blue">[58]</span></td><td>Specifies the MCE remote's <b>ALT NUM 0</b> button.</td></tr>
</table></div>
<br />
<br />
== <span style="color:darkblue;">Code Examples</span> ==


=== <span style="color:#003300;">VB.NET</span> ===
== <span class="plugin_headline_text">Enumerations</span> ==
----
 
<pre style="font-family:'Lucida Console', Monaco, monospace; border-color:#003300; background-color:#E0EEE0; border-style:dashed;">
=== <span class="plugin_text_fx">VB.NET</span> ===
<pre class="code_es_vb">
Public Enum MCE_Remote_Key
Public Enum MCE_Remote_Key
     MCEButton_OK = 13
     MCEButton_OK = 13
Line 30: Line 52:
End Enum</pre>
End Enum</pre>


=== <span style="color:#003300;">C#</span> ===
=== <span class="plugin_text_fx">C#</span> ===
----
<pre class="code_es_cs">
<pre style="font-family:'Lucida Console', Monaco, monospace; border-color:#003300; background-color:#E0EEE0; border-style:dashed;">
public enum MCE_Remote_Key : uint
public enum MCE_Remote_Key : uint
{
{

Latest revision as of 06:17, 28 April 2014

This enumeration lists the types of keys available on your MCE Remote for use in the Input MCE Remote function.

PLEASE NOTE: This feature is marked in the internal PlugIn documentation as "not yet implemented" as of PlugIn version 1.41!


Variables

Below is a reference of the variables that are set in this enumeration:

Variable[Value]Description
MCEButton_OK[13]Specifies the MCE remote's OK button.
MCEButton_Clear[27]Specifies the MCE remote's CLEAR button.
MCEButton_MoveLeft[37]Specifies the MCE remote's LEFT [←] button.
MCEButton_MoveUp[38]Specifies the MCE remote's UP [↑] button.
MCEButton_MoveRight[39]Specifies the MCE remote's RIGHT [→] button.
MCEButton_MoveDown[40]Specifies the MCE remote's DOWN [↓] button.
MCEButton_Number0[48]Specifies the MCE remote's NUM 0 button.
MCEButton_Number1[49]Specifies the MCE remote's NUM 1 button.
MCEButton_Number2[50]Specifies the MCE remote's NUM 2 button.
MCEButton_Number3[51]Specifies the MCE remote's NUM 3 button.
MCEButton_Number4[52]Specifies the MCE remote's NUM 4 button.
MCEButton_Number5[53]Specifies the MCE remote's NUM 5 button.
MCEButton_Number6[54]Specifies the MCE remote's NUM 6 button.
MCEButton_Number7[55]Specifies the MCE remote's NUM 7 button.
MCEButton_Number8[56]Specifies the MCE remote's NUM 8 button.
MCEButton_Number9[57]Specifies the MCE remote's NUM 9 button.
MCEButton_Number0_2[58]Specifies the MCE remote's ALT NUM 0 button.


Enumerations

VB.NET

Public Enum MCE_Remote_Key
     MCEButton_OK = 13
     MCEButton_Clear = 27
     MCEButton_MoveLeft = 37
     MCEButton_MoveUp = 38
     MCEButton_MoveRight = 39
     MCEButton_MoveDown = 40
     MCEButton_Number0 = 48
     MCEButton_Number1 = 49
     MCEButton_Number2 = 50
     MCEButton_Number3 = 51
     MCEButton_Number4 = 52
     MCEButton_Number5 = 53
     MCEButton_Number6 = 54
     MCEButton_Number7 = 55
     MCEButton_Number8 = 56
     MCEButton_Number9 = 57
     MCEButton_Number0_2 = 58
End Enum

C#

public enum MCE_Remote_Key : uint
{
     MCEButton_OK = 13,
     MCEButton_Clear = 27,
     MCEButton_MoveLeft = 37,
     MCEButton_MoveUp = 38,
     MCEButton_MoveRight = 39,
     MCEButton_MoveDown = 40,
     MCEButton_Number0 = 48,
     MCEButton_Number1 = 49,
     MCEButton_Number2 = 50,
     MCEButton_Number3 = 51,
     MCEButton_Number4 = 52,
     MCEButton_Number5 = 53,
     MCEButton_Number6 = 54,
     MCEButton_Number7 = 55,
     MCEButton_Number8 = 56,
     MCEButton_Number9 = 57,
     MCEButton_Number0_2 = 58,
}