aboutsummaryrefslogtreecommitdiffhomepage
path: root/libvo/vo_directx.c
diff options
context:
space:
mode:
authorGravatar joey <joey@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-11-23 16:59:57 +0000
committerGravatar joey <joey@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-11-23 16:59:57 +0000
commit86889fd4ebe1c78550a54da7ee92cbd307ab4671 (patch)
tree03998318c1aeb71d7aa2624bae4166aa46bb3362 /libvo/vo_directx.c
parent62a51cc48a011aea151d4f2c7a836c84fd98aaa1 (diff)
send quit command instead of key 'q'.
catch backspace key instead of ctrl key. keycodes.h says CTRL and BS are the same. this is not true for windows keycodes. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11511 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_directx.c')
-rw-r--r--libvo/vo_directx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libvo/vo_directx.c b/libvo/vo_directx.c
index fc6e261b1a..6e3e5192ea 100644
--- a/libvo/vo_directx.c
+++ b/libvo/vo_directx.c
@@ -741,7 +741,7 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM l
}
case WM_CLOSE:
{
- mplayer_put_key('q');
+ mp_input_queue_cmd(mp_input_parse_cmd("quit"));
return 0;
}
case WM_WINDOWPOSCHANGED:
@@ -780,8 +780,8 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM l
{mplayer_put_key(KEY_DOWN);break;}
case VK_TAB:
{mplayer_put_key(KEY_TAB);break;}
- case VK_CONTROL:
- {mplayer_put_key(KEY_CTRL);break;}
+ case VK_BACK:
+ {mplayer_put_key(KEY_BS);break;}
case VK_DELETE:
{mplayer_put_key(KEY_DELETE);break;}
case VK_INSERT: