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

From Spesoft/GameEx Wiki
Jump to navigation Jump to search
(Created page with "==<span style="font-size:125%; color:darkblue;">GameEx: MCE Remote Key Overview</span>== This enumeration lists the types of keys available on your MCE Remote for use in the [...")
 
Line 1: Line 1:
==<span style="font-size:125%; color:darkblue;">GameEx: MCE Remote Key Overview</span>==
==<span style="font-size:125%; color:darkblue;">GameEx: MCE Remote Key Overview</span>==
This enumeration lists the types of keys available on your MCE Remote for use in the [[PlugIn_Development:GameEx_PlugIn Info|PlugIn Info]] structure.<br /><br /><span style="color:red;"><b>PLEASE NOTE:</b> ''Only <u>PlugIn_Type.Emulator</u> is supported at this time.''</span>
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 />


==<span style="font-size:125%; color:darkblue;">Variable Details</span>==
==<span style="font-size:125%; color:darkblue;">Variable Details</span>==

Revision as of 05:16, 27 April 2014

GameEx: MCE Remote Key Overview

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

Variable Details

Below is a reference of the Variable Name and [Value] set in this enumeration:

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.


Code Examples

VB.NET syntax:

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# syntax:

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,
}