summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoSoftware
diff options
context:
space:
mode:
authorayuanx <ayuanx@gmail.com>2010-01-04 03:11:31 +0000
committerayuanx <ayuanx@gmail.com>2010-01-04 03:11:31 +0000
commit430f44cb1eba66fa4af44e1c1f89265e5d2204f0 (patch)
treefaa4b455ca92e6087cfaa0b1a6a542bf1e7585f6 /Source/Plugins/Plugin_VideoSoftware
parentcbf592927605ce25975150bdbc5e8c0af39fed74 (diff)
Added hotkey Alt+F1/F2/F3/F4 for connect/disconnect wiimote with OSD display
(But there is still a little problem with DX9 fullscreen toggling) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4782 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Plugins/Plugin_VideoSoftware')
-rw-r--r--Source/Plugins/Plugin_VideoSoftware/Src/Win32.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Plugins/Plugin_VideoSoftware/Src/Win32.cpp b/Source/Plugins/Plugin_VideoSoftware/Src/Win32.cpp
index 325a941c78..bc7e60fe32 100644
--- a/Source/Plugins/Plugin_VideoSoftware/Src/Win32.cpp
+++ b/Source/Plugins/Plugin_VideoSoftware/Src/Win32.cpp
@@ -148,6 +148,9 @@ LRESULT CALLBACK WndProc( HWND hWnd, UINT iMsg, WPARAM wParam, LPARAM lParam )
return 0;
}
break;
+ case VK_F1: case VK_F2: case VK_F3: case VK_F4:
+ PostMessage(m_hMain, WM_SYSKEYDOWN, wParam, lParam);
+ return 0;
}
break;