Mercurial > mplayer.hg
comparison libvo/w32_common.c @ 16892:3470c810527b
libvo input cleanup: remove the dependency on libinput,
remove most of the crappy mappings (like O->o or ESC->q).
author | albeu |
---|---|
date | Wed, 02 Nov 2005 21:50:55 +0000 |
parents | 1cb19a114eb8 |
children | 852499addaa8 |
comparison
equal
deleted
inserted
replaced
16891:26cb0e11c9e9 | 16892:3470c810527b |
---|---|
23 static int cursor = 1; | 23 static int cursor = 1; |
24 | 24 |
25 static LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { | 25 static LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { |
26 switch (message) { | 26 switch (message) { |
27 case WM_CLOSE: | 27 case WM_CLOSE: |
28 mp_input_queue_cmd(mp_input_parse_cmd("quit")); | 28 mplayer_put_key(KEY_CLOSE_WIN); |
29 break; | 29 break; |
30 case WM_SYSCOMMAND: | 30 case WM_SYSCOMMAND: |
31 switch (wParam) { | 31 switch (wParam) { |
32 case SC_SCREENSAVE: | 32 case SC_SCREENSAVE: |
33 case SC_MONITORPOWER: | 33 case SC_MONITORPOWER: |