00001 /* 00002 * This file is part of libbluray 00003 * Copyright (C) 2010 hpi1 00004 * 00005 * This library is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU Lesser General Public 00007 * License as published by the Free Software Foundation; either 00008 * version 2.1 of the License, or (at your option) any later version. 00009 * 00010 * This library is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 * Lesser General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU Lesser General Public 00016 * License along with this library. If not, see 00017 * <http://www.gnu.org/licenses/>. 00018 */ 00019 00020 #ifdef __cplusplus 00021 extern "C" { 00022 #endif 00023 00024 #if !defined(_BD_KEYS_H_) 00025 #define _BD_KEYS_H_ 00026 00027 /* 00028 * User input 00029 */ 00030 00031 typedef enum { 00032 BD_VK_NONE = 0xffff, 00033 00034 /* numeric key events */ 00035 BD_VK_0 = 0, 00036 BD_VK_1 = 1, 00037 BD_VK_2 = 2, 00038 BD_VK_3 = 3, 00039 BD_VK_4 = 4, 00040 BD_VK_5 = 5, 00041 BD_VK_6 = 6, 00042 BD_VK_7 = 7, 00043 BD_VK_8 = 8, 00044 BD_VK_9 = 9, 00045 00046 /* */ 00047 BD_VK_ROOT_MENU = 10, /* open root menu */ 00048 BD_VK_POPUP = 11, /* toggle popup menu */ 00049 00050 /* interactive key events */ 00051 BD_VK_UP = 12, 00052 BD_VK_DOWN = 13, 00053 BD_VK_LEFT = 14, 00054 BD_VK_RIGHT = 15, 00055 BD_VK_ENTER = 16, 00056 00057 /* Mouse click */ 00058 /* Translated to BD_VK_ENTER if mouse is over valid button */ 00059 BD_VK_MOUSE_ACTIVATE = 17, 00060 00061 } bd_vk_key_e; 00062 00063 #ifdef __cplusplus 00064 }; 00065 #endif 00066 00067 #endif // _BD_KEYS_H_
1.6.3