Updated the input plugins reference of hwnd on game start. Fixes the emu wiimotes mouse IR when rendering the game to a separate window.

This commit is contained in:
skidau 2015-03-19 21:31:05 +11:00
parent 27619e613f
commit 98dce11f8c
6 changed files with 21 additions and 8 deletions

View file

@ -117,10 +117,11 @@ const int num_hotkeys = (sizeof(hotkey_labels) / sizeof(hotkey_labels[0]));
namespace HotkeyManagerEmu
{
static u32 hotkeyDown[3];
static HotkeyStatus hotkey;
u32 hotkeyDown[3];
HotkeyStatus hotkey;
bool enabled;
static InputConfig s_config("Hotkeys", _trans("Hotkeys"), "Hotkeys");
InputConfig s_config("Hotkeys", _trans("Hotkeys"), "Hotkeys");
InputConfig* GetConfig()
{