From a070c047e792c0051da001642c4e806bc3bc3a22 Mon Sep 17 00:00:00 2001 From: "Derek \"Turtle\" Roe" Date: Sat, 27 Mar 2021 00:35:42 -0500 Subject: [PATCH 01/12] Update CProject64Input.h Remove extra line --- Source/Project64-input/CProject64Input.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Project64-input/CProject64Input.h b/Source/Project64-input/CProject64Input.h index 134511ecd..f0b0c021f 100644 --- a/Source/Project64-input/CProject64Input.h +++ b/Source/Project64-input/CProject64Input.h @@ -44,4 +44,4 @@ private: int32_t m_iFirstController; }; -extern CProject64Input * g_InputPlugin; \ No newline at end of file +extern CProject64Input * g_InputPlugin; From a4b351bec5be4397f0a14a0817b31e39102acbba Mon Sep 17 00:00:00 2001 From: "Derek \"Turtle\" Roe" Date: Sat, 27 Mar 2021 00:35:51 -0500 Subject: [PATCH 02/12] Update DeviceNotification.h Add newline --- Source/Project64-input/DeviceNotification.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Project64-input/DeviceNotification.h b/Source/Project64-input/DeviceNotification.h index 592ba095a..25e904876 100644 --- a/Source/Project64-input/DeviceNotification.h +++ b/Source/Project64-input/DeviceNotification.h @@ -20,4 +20,4 @@ public: private: int OnCreate(LPCREATESTRUCT lpCreateStruct); BOOL OnDeviceChange(UINT nEventType, DWORD dwData); -}; \ No newline at end of file +}; From 10140900fade19c08a6df539076e342a2b61b251 Mon Sep 17 00:00:00 2001 From: "Derek \"Turtle\" Roe" Date: Sat, 27 Mar 2021 00:36:03 -0500 Subject: [PATCH 03/12] Update DirectInput.cpp Fix capitalization --- Source/Project64-input/DirectInput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Project64-input/DirectInput.cpp b/Source/Project64-input/DirectInput.cpp index 327bf184b..d6692650b 100644 --- a/Source/Project64-input/DirectInput.cpp +++ b/Source/Project64-input/DirectInput.cpp @@ -100,7 +100,7 @@ BOOL CDirectInput::EnumMakeDeviceList(LPCDIDEVICEINSTANCE lpddi) uint32_t DeviceType = GET_DIDEVICE_TYPE(lpddi->dwDevType); if (DeviceType == DI8DEVTYPE_DEVICE) { - // ignore generic devices + // Ignore generic devices return DIENUM_CONTINUE; } From c820c1cdf03061dd5d761ae0653a5575cf2aef53 Mon Sep 17 00:00:00 2001 From: "Derek \"Turtle\" Roe" Date: Sat, 27 Mar 2021 00:36:16 -0500 Subject: [PATCH 04/12] Update DirectInput.h Add newline --- Source/Project64-input/DirectInput.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Project64-input/DirectInput.h b/Source/Project64-input/DirectInput.h index 7b119d544..f29c30da7 100644 --- a/Source/Project64-input/DirectInput.h +++ b/Source/Project64-input/DirectInput.h @@ -97,4 +97,4 @@ private: LPDIRECTINPUT8 m_pDIHandle; HINSTANCE m_hinst; HWND m_hWnd; -}; \ No newline at end of file +}; From a6693b25efb6080a98ed8a4ddf2b7f3b61134eed Mon Sep 17 00:00:00 2001 From: "Derek \"Turtle\" Roe" Date: Sat, 27 Mar 2021 00:36:32 -0500 Subject: [PATCH 05/12] Update InputConfigUI.cpp Fix capitalization --- Source/Project64-input/InputConfigUI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Project64-input/InputConfigUI.cpp b/Source/Project64-input/InputConfigUI.cpp index 6f4a1bc9b..4a1f76cc8 100644 --- a/Source/Project64-input/InputConfigUI.cpp +++ b/Source/Project64-input/InputConfigUI.cpp @@ -384,7 +384,7 @@ CInputConfigUI::CInputConfigUI() : m_pgController2(2), m_pgController3(3) { - m_psh.pszCaption = L"Configure Input"; + m_psh.pszCaption = L"Configure input"; AddPage(&m_pgController0.m_psp); AddPage(&m_pgController1.m_psp); AddPage(&m_pgController2.m_psp); From 1bbc070e4bda3606bf5fba0b540ed703a36b177d Mon Sep 17 00:00:00 2001 From: "Derek \"Turtle\" Roe" Date: Sat, 27 Mar 2021 00:36:44 -0500 Subject: [PATCH 06/12] Update OptionsUI.h Add newline --- Source/Project64-input/OptionsUI.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Project64-input/OptionsUI.h b/Source/Project64-input/OptionsUI.h index 03e3cec9d..2dac6ec12 100644 --- a/Source/Project64-input/OptionsUI.h +++ b/Source/Project64-input/OptionsUI.h @@ -3,4 +3,4 @@ #include "ControllerSpec1.1.h" #include "N64Controller.h" -void ConfigOption(uint32_t ControlIndex, CONTROL & ControlInfo, N64CONTROLLER & Controller); \ No newline at end of file +void ConfigOption(uint32_t ControlIndex, CONTROL & ControlInfo, N64CONTROLLER & Controller); From 6f7e19832770b59d83119028261fadecde778e1b Mon Sep 17 00:00:00 2001 From: "Derek \"Turtle\" Roe" Date: Sat, 27 Mar 2021 00:36:53 -0500 Subject: [PATCH 07/12] Update wtl-BitmapPicture.h Add newline --- Source/Project64-input/wtl-BitmapPicture.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Project64-input/wtl-BitmapPicture.h b/Source/Project64-input/wtl-BitmapPicture.h index 8f6f779f5..22820f23f 100644 --- a/Source/Project64-input/wtl-BitmapPicture.h +++ b/Source/Project64-input/wtl-BitmapPicture.h @@ -31,4 +31,4 @@ private: BITMAP m_bmInfo; CBitmap m_hBitmap; CBrush m_BackgroundBrush; -}; \ No newline at end of file +}; From e75452dab85f8992644cb16b217bb7f8a24af2a1 Mon Sep 17 00:00:00 2001 From: "Derek \"Turtle\" Roe" Date: Sat, 27 Mar 2021 00:37:21 -0500 Subject: [PATCH 08/12] Update wtl-ScanButton.cpp Fix title case --- Source/Project64-input/wtl-ScanButton.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Project64-input/wtl-ScanButton.cpp b/Source/Project64-input/wtl-ScanButton.cpp index 3fe575309..b571a49e8 100644 --- a/Source/Project64-input/wtl-ScanButton.cpp +++ b/Source/Project64-input/wtl-ScanButton.cpp @@ -90,7 +90,7 @@ void CScanButton::OnTimer(UINT_PTR nIDEvent) time_t Now = time(nullptr); if (10 - (Now - m_ScanStart) > 0) { - Dialog.SetWindowText(stdstr_f("Configure Input: Press Key ... (%d seconds)", 10 - (Now - m_ScanStart)).ToUTF16().c_str()); + Dialog.SetWindowText(stdstr_f("Configure input: Press key... (%d seconds)", 10 - (Now - m_ScanStart)).ToUTF16().c_str()); } else { @@ -116,7 +116,7 @@ void CScanButton::OnTimer(UINT_PTR nIDEvent) { m_ScanBtn.KillTimer(DETECT_KEY_TIMER); CWindow Dialog = m_ScanBtn.GetParent().GetParent(); - Dialog.SetWindowText(L"Configure Input"); + Dialog.SetWindowText(L"Configure input"); if (m_Overlay.m_hWnd != NULL) { From 7d92830910c1b18641b1d1165310032d58f2bf65 Mon Sep 17 00:00:00 2001 From: "Derek \"Turtle\" Roe" Date: Sat, 27 Mar 2021 00:37:28 -0500 Subject: [PATCH 09/12] Update wtl-ScanButton.h Add newline --- Source/Project64-input/wtl-ScanButton.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Project64-input/wtl-ScanButton.h b/Source/Project64-input/wtl-ScanButton.h index 60048cdd2..a966cdcbb 100644 --- a/Source/Project64-input/wtl-ScanButton.h +++ b/Source/Project64-input/wtl-ScanButton.h @@ -44,4 +44,4 @@ private: CWindow m_Overlay; ChangeCallback m_ChangeCallback; size_t m_ChangeCallbackData; -}; \ No newline at end of file +}; From 4de969c032773c7d1dc1a5dbe8b9448cd89f7e86 Mon Sep 17 00:00:00 2001 From: "Derek \"Turtle\" Roe" Date: Sat, 27 Mar 2021 00:37:35 -0500 Subject: [PATCH 10/12] Update wtl.h Add newline --- Source/Project64-input/wtl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Project64-input/wtl.h b/Source/Project64-input/wtl.h index 2b72d4a23..aeb9e89ea 100644 --- a/Source/Project64-input/wtl.h +++ b/Source/Project64-input/wtl.h @@ -13,4 +13,4 @@ #include #include #include -#pragma warning(pop) \ No newline at end of file +#pragma warning(pop) From e459802d9014b776d9398134390863950cf40687 Mon Sep 17 00:00:00 2001 From: "Derek \"Turtle\" Roe" Date: Sat, 27 Mar 2021 00:42:35 -0500 Subject: [PATCH 11/12] Update ControllerSpec1.1.h Fix comments --- Source/Project64-input/ControllerSpec1.1.h | 242 +++++++++++---------- 1 file changed, 127 insertions(+), 115 deletions(-) diff --git a/Source/Project64-input/ControllerSpec1.1.h b/Source/Project64-input/ControllerSpec1.1.h index 6299b8c8b..f26acbe27 100644 --- a/Source/Project64-input/ControllerSpec1.1.h +++ b/Source/Project64-input/ControllerSpec1.1.h @@ -1,6 +1,5 @@ -/********************************************************************************** -Project64 Controller plugin spec, version #1.1 -**********************************************************************************/ +// Project64 controller plugin spec, version 1.1 + #pragma once #include @@ -29,12 +28,13 @@ enum PLUGIN_RAW = 5, }; -/***** Structures *****/ +// Structures + typedef struct { - uint16_t Version; /* Should be set to 0x0101 */ - uint16_t Type; /* Set to PLUGIN_TYPE_CONTROLLER */ - char Name[100]; /* Name of the DLL */ + uint16_t Version; // Should be set to 0x0101 + uint16_t Type; // Set to PLUGIN_TYPE_CONTROLLER + char Name[100]; // Name of the DLL int32_t NormalMemory; int32_t MemoryBswaped; } PLUGIN_INFO; @@ -47,7 +47,7 @@ typedef struct } CONTROL; #pragma warning(push) -#pragma warning(disable : 4201) // warning C4201: nonstandard extension used : nameless struct/union +#pragma warning(disable : 4201) // warning C4201: nonstandard extension used: nameless struct/union typedef union { @@ -85,140 +85,152 @@ typedef struct void * hwnd; void * hinst; int32_t MemoryBswaped; // Set this to true - uint8_t * HEADER; // This is the rom header (first 40h bytes of the rom) + uint8_t * HEADER; // This is the ROM header (first 40h bytes of the ROM) CONTROL * Controls; // A pointer to an array of 4 controllers .. eg: } CONTROL_INFO; -/****************************************************************** - Function: CloseDLL - Purpose: This function is called when the emulator is closing - down allowing the dll to de-initialise. - input: none - output: none - *******************************************************************/ +/* +Function: CloseDLL +Purpose: This function is called when the emulator is closing +down allowing the DLL to de-initialize. +input: none +output: none +*/ + EXPORT void CALL CloseDLL(void); -/****************************************************************** - Function: ControllerCommand - Purpose: To process the raw data that has just been sent to a - specific controller. - input: - Controller Number (0 to 3) and -1 signalling end of - processing the pif ram. - - Pointer of data to be processed. - output: none +/* +Function: ControllerCommand +Purpose: To process the raw data that has just been sent to a +specific controller. +input: - Controller Number (0 to 3) and -1 signaling end of +processing the PIF RAM. +- Pointer of data to be processed. +output: none - note: This function is only needed if the DLL is allowing raw - data, or the plugin is set to raw +note: This function is only needed if the DLL is allowing raw +data, or the plugin is set to raw + +The data that is being processed looks like this: +Initialize controller: 01 03 00 FF FF FF +Read controller: 01 04 01 FF FF FF FF +*/ - the data that is being processed looks like this: - initilize controller: 01 03 00 FF FF FF - read controller: 01 04 01 FF FF FF FF - *******************************************************************/ EXPORT void CALL ControllerCommand(int32_t Control, uint8_t * Command); -/****************************************************************** - Function: DllAbout - Purpose: This function is optional function that is provided - to give further information about the DLL. - input: a handle to the window that calls this function - output: none - *******************************************************************/ +/* +Function: DllAbout +Purpose: This function is optional function that is provided +to give further information about the DLL. +input: a handle to the window that calls this function +output: none +*/ + EXPORT void CALL DllAbout(void * hParent); -/****************************************************************** - Function: DllConfig - Purpose: This function is optional function that is provided - to allow the user to configure the dll - input: a handle to the window that calls this function - output: none - *******************************************************************/ +/* +Function: DllConfig +Purpose: This function is optional function that is provided +to allow the user to configure the DLL +input: a handle to the window that calls this function +output: none +*/ + EXPORT void CALL DllConfig(void * hParent); -/****************************************************************** - Function: DllTest - Purpose: This function is optional function that is provided - to allow the user to test the dll - input: a handle to the window that calls this function - output: none - *******************************************************************/ +/* +Function: DllTest +Purpose: This function is optional function that is provided +to allow the user to test the DLL +input: a handle to the window that calls this function +output: none +*/ + EXPORT void CALL DllTest(void * hParent); -/****************************************************************** - Function: GetDllInfo - Purpose: This function allows the emulator to gather information - about the dll by filling in the PluginInfo structure. - input: a pointer to a PLUGIN_INFO stucture that needs to be - filled by the function. (see def above) - output: none - *******************************************************************/ +/* +Function: GetDllInfo +Purpose: This function allows the emulator to gather information +about the DLL by filling in the PluginInfo structure. +input: a pointer to a PLUGIN_INFO structure that needs to be +filled by the function. (see def above) +output: none +*/ + EXPORT void CALL GetDllInfo(PLUGIN_INFO * PluginInfo); -/****************************************************************** - Function: GetKeys - Purpose: To get the current state of the controllers buttons. - input: - Controller Number (0 to 3) - - A pointer to a BUTTONS structure to be filled with - the controller state. - output: none - *******************************************************************/ +/* +Function: GetKeys +Purpose: To get the current state of the controllers buttons. +input: - Controller Number (0 to 3) +- A pointer to a BUTTONS structure to be filled with +the controller state. +output: none +*/ + EXPORT void CALL GetKeys(int32_t Control, BUTTONS * Keys); -/****************************************************************** - Function: InitiateControllers - Purpose: This function initialises how each of the controllers - should be handled. - input: - The handle to the main window. - - A controller structure that needs to be filled for - the emulator to know how to handle each controller. - output: none - *******************************************************************/ +/* +Function: InitiateControllers +Purpose: This function initializes how each of the controllers +should be handled. +input: - The handle to the main window. +- A controller structure that needs to be filled for +the emulator to know how to handle each controller. +output: none +*/ + EXPORT void CALL InitiateControllers(CONTROL_INFO * ControlInfo); -/****************************************************************** - Function: ReadController - Purpose: To process the raw data in the pif ram that is about to - be read. - input: - Controller Number (0 to 3) and -1 signalling end of - processing the pif ram. - - Pointer of data to be processed. - output: none - note: This function is only needed if the DLL is allowing raw - data. - *******************************************************************/ +/* +Function: ReadController +Purpose: To process the raw data in the PIF RAM that is about to +be read. +input: - Controller Number (0 to 3) and -1 signaling end of +processing the PIF RAM. +- Pointer of data to be processed. +output: none +note: This function is only needed if the DLL is allowing raw +data. +*/ + EXPORT void CALL ReadController(int Control, uint8_t * Command); -/****************************************************************** - Function: RomClosed - Purpose: This function is called when a rom is closed. - input: none - output: none - *******************************************************************/ +/* +Function: RomClosed +Purpose: This function is called when a ROM is closed. +input: none +output: none +*/ + EXPORT void CALL RomClosed(void); -/****************************************************************** - Function: RomOpen - Purpose: This function is called when a rom is open. (from the - emulation thread) - input: none - output: none - *******************************************************************/ +/* +Function: RomOpen +Purpose: This function is called when a ROM is open. (from the +emulation thread) +input: none +output: none +*/ + EXPORT void CALL RomOpen(void); -/****************************************************************** - Function: WM_KeyDown - Purpose: To pass the WM_KeyDown message from the emulator to the - plugin. - input: wParam and lParam of the WM_KEYDOWN message. - output: none - *******************************************************************/ +/* +Function: WM_KeyDown +Purpose: To pass the WM_KeyDown message from the emulator to the +plugin. +input: wParam and lParam of the WM_KEYDOWN message. +output: none +*/ + EXPORT void CALL WM_KeyDown(uint32_t wParam, uint32_t lParam); -/****************************************************************** - Function: WM_KeyUp - Purpose: To pass the WM_KEYUP message from the emulator to the - plugin. - input: wParam and lParam of the WM_KEYDOWN message. - output: none - *******************************************************************/ -EXPORT void CALL WM_KeyUp(uint32_t wParam, uint32_t lParam); +/* +Function: WM_KeyUp +Purpose: To pass the WM_KEYUP message from the emulator to the +plugin. +input: wParam and lParam of the WM_KEYDOWN message. +output: none +*/ +EXPORT void CALL WM_KeyUp(uint32_t wParam, uint32_t lParam); From 7c9b7d4eb16acce641198476f7041ea5fb640bbe Mon Sep 17 00:00:00 2001 From: "Derek \"Turtle\" Roe" Date: Sat, 27 Mar 2021 00:43:03 -0500 Subject: [PATCH 12/12] Update InputMain.cpp Fix comments, fix some UI consistency issues and other errors --- Source/Project64-input/InputMain.cpp | 96 ++++++++++++++++------------ 1 file changed, 54 insertions(+), 42 deletions(-) diff --git a/Source/Project64-input/InputMain.cpp b/Source/Project64-input/InputMain.cpp index f074501a5..efa64b71f 100644 --- a/Source/Project64-input/InputMain.cpp +++ b/Source/Project64-input/InputMain.cpp @@ -5,24 +5,25 @@ #include "InputSettings.h" #include -/****************************************************************** +/* Function: CloseDLL Purpose: This function is called when the emulator is closing -down allowing the dll to de-initialise. +down allowing the DLL to de-initialize. input: none output: none -*******************************************************************/ +*/ + EXPORT void CALL CloseDLL(void) { CleanupInputSettings(); } -/****************************************************************** +/* Function: ControllerCommand Purpose: To process the raw data that has just been sent to a specific controller. -input: - Controller Number (0 to 3) and -1 signalling end of -processing the pif ram. +input: - Controller Number (0 to 3) and -1 signaling end of +processing the PIF RAM. - Pointer of data to be processed. output: none @@ -30,14 +31,15 @@ note: This function is only needed if the DLL is allowing raw data, or the plugin is set to raw the data that is being processed looks like this: -initilize controller: 01 03 00 FF FF FF -read controller: 01 04 01 FF FF FF FF -*******************************************************************/ +Initialize controller: 01 03 00 FF FF FF +Read controller: 01 04 01 FF FF FF FF +*/ + EXPORT void CALL ControllerCommand(int32_t /*Control*/, uint8_t * /*Command*/) { } -/****************************************************************** +/* Function: DllAbout Purpose: This function is optional function that is provided to give further information about the DLL. @@ -51,10 +53,11 @@ output: none /****************************************************************** Function: DllConfig Purpose: This function is optional function that is provided -to allow the user to configure the dll +to allow the user to configure the DLL input: a handle to the window that calls this function output: none -*******************************************************************/ +*/ + #ifdef _WIN32 EXPORT void CALL DllConfig(void * hParent) { @@ -62,59 +65,63 @@ EXPORT void CALL DllConfig(void * hParent) } #endif -/****************************************************************** +/* Function: DllTest Purpose: This function is optional function that is provided -to allow the user to test the dll +to allow the user to test the DLL input: a handle to the window that calls this function output: none -*******************************************************************/ +*/ + EXPORT void CALL DllTest(void * /*hParent*/) { } -/****************************************************************** +/* Function: GetDllInfo Purpose: This function allows the emulator to gather information -about the dll by filling in the PluginInfo structure. -input: a pointer to a PLUGIN_INFO stucture that needs to be +about the DLL by filling in the PluginInfo structure. +input: a pointer to a PLUGIN_INFO structure that needs to be filled by the function. (see def above) output: none -*******************************************************************/ +*/ + EXPORT void CALL GetDllInfo(PLUGIN_INFO * PluginInfo) { PluginInfo->Version = CONTROLLER_SPECS_VERSION; PluginInfo->Type = PLUGIN_TYPE_CONTROLLER; #ifdef _DEBUG - sprintf(PluginInfo->Name, "Project64 Input Plugin (Debug): %s", VER_FILE_VERSION_STR); + sprintf(PluginInfo->Name, "Project64 input plugin (Debug): %s", VER_FILE_VERSION_STR); #else - sprintf(PluginInfo->Name, "Project64 Input Plugin: %s", VER_FILE_VERSION_STR); + sprintf(PluginInfo->Name, "Project64 input plugin: %s", VER_FILE_VERSION_STR); #endif PluginInfo->MemoryBswaped = true; PluginInfo->NormalMemory = false; } -/****************************************************************** +/* Function: GetKeys Purpose: To get the current state of the controllers buttons. input: - Controller Number (0 to 3) - A pointer to a BUTTONS structure to be filled with the controller state. output: none -*******************************************************************/ +*/ + EXPORT void CALL GetKeys(int32_t Control, BUTTONS * Keys) { g_InputPlugin->GetKeys(Control, Keys); } -/****************************************************************** +/* Function: InitiateControllers - Purpose: This function initialises how each of the controllers + Purpose: This function initializes how each of the controllers should be handled. input: - A controller structure that needs to be filled for the emulator to know how to handle each controller. output: none -*******************************************************************/ +*/ + EXPORT void CALL InitiateControllers(CONTROL_INFO * ControlInfo) { if (g_InputPlugin != nullptr) @@ -123,60 +130,65 @@ EXPORT void CALL InitiateControllers(CONTROL_INFO * ControlInfo) } } -/****************************************************************** +/* Function: ReadController -Purpose: To process the raw data in the pif ram that is about to +Purpose: To process the raw data in the PIF RAM that is about to be read. -input: - Controller Number (0 to 3) and -1 signalling end of -processing the pif ram. +input: - Controller Number (0 to 3) and -1 signaling end of +processing the PIF RAM. - Pointer of data to be processed. output: none note: This function is only needed if the DLL is allowing raw data. -*******************************************************************/ +*/ + EXPORT void CALL ReadController(int /*Control*/, uint8_t * /*Command*/) { } -/****************************************************************** +/* Function: RomClosed -Purpose: This function is called when a rom is closed. +Purpose: This function is called when a ROM is closed. input: none output: none -*******************************************************************/ +*/ + EXPORT void CALL RomClosed(void) { } -/****************************************************************** +/* Function: RomOpen -Purpose: This function is called when a rom is open. (from the +Purpose: This function is called when a ROM is open. (from the emulation thread) input: none output: none -*******************************************************************/ +*/ + EXPORT void CALL RomOpen(void) { } -/****************************************************************** +/* Function: WM_KeyDown Purpose: To pass the WM_KeyDown message from the emulator to the plugin. input: wParam and lParam of the WM_KEYDOWN message. output: none -*******************************************************************/ +*/ + EXPORT void CALL WM_KeyDown(uint32_t /*wParam*/, uint32_t /*lParam*/) { } -/****************************************************************** +/* Function: WM_KeyUp Purpose: To pass the WM_KEYUP message from the emulator to the plugin. input: wParam and lParam of the WM_KEYDOWN message. output: none -*******************************************************************/ +*/ + EXPORT void CALL WM_KeyUp(uint32_t /*wParam*/, uint32_t /*lParam*/) { } @@ -200,4 +212,4 @@ extern "C" int WINAPI DllMain(HINSTANCE hinst, DWORD fdwReason, LPVOID /*lpReser g_InputPlugin = NULL; } return TRUE; -} \ No newline at end of file +}