From 32c0df1b5374834145b4a373fcd560766b997c52 Mon Sep 17 00:00:00 2001 From: James Ross-Gowan Date: Mon, 20 Jan 2014 00:20:02 +1100 Subject: w32: use the w32_common keymap in terminal-win too --- osdep/w32_keyboard.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 osdep/w32_keyboard.h (limited to 'osdep/w32_keyboard.h') diff --git a/osdep/w32_keyboard.h b/osdep/w32_keyboard.h new file mode 100644 index 0000000000..b528ce5524 --- /dev/null +++ b/osdep/w32_keyboard.h @@ -0,0 +1,26 @@ +/* + * This file is part of mpv. + * + * mpv is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * mpv is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with mpv. If not, see . + */ + +#ifndef MP_W32_KEYBOARD +#define MP_W32_KEYBOARD + +#include + +/* Convert a Windows virtual key code to an mpv key */ +int mp_w32_vkey_to_mpkey(UINT vkey, bool extended); + +#endif -- cgit v1.2.3