1 /*  RetroArch - A frontend for libretro.
2  *  Copyright (C) 2010-2014 - Hans-Kristian Arntzen
3  *  Copyright (C) 2011-2017 - Daniel De Matteis
4  *
5  *  RetroArch is free software: you can redistribute it and/or modify it under the terms
6  *  of the GNU General Public License as published by the Free Software Found-
7  *  ation, either version 3 of the License, or (at your option) any later version.
8  *
9  *  RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
10  *  without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  *  PURPOSE.  See the GNU General Public License for more details.
12  *
13  *  You should have received a copy of the GNU General Public License along with RetroArch.
14  *  If not, see <http://www.gnu.org/licenses/>.
15  */
16 
17 #ifndef _INPUT_OSK_H
18 #define _INPUT_OSK_H
19 
20 #include <stdint.h>
21 #include <stdlib.h>
22 
23 #include <boolean.h>
24 
25 #include <retro_common_api.h>
26 
27 #ifdef HAVE_CONFIG_H
28 #include "../../config.h"
29 #endif
30 
31 #define OSK_CHARS_PER_LINE 11
32 
33 RETRO_BEGIN_DECLS
34 
35 enum osk_type
36 {
37    OSK_TYPE_UNKNOWN    = 0U,
38    OSK_LOWERCASE_LATIN,
39    OSK_UPPERCASE_LATIN,
40    OSK_SYMBOLS_PAGE1,
41 #ifdef HAVE_LANGEXTRA
42    OSK_HIRAGANA_PAGE1,
43    OSK_HIRAGANA_PAGE2,
44    OSK_KATAKANA_PAGE1,
45    OSK_KATAKANA_PAGE2,
46 #endif
47    OSK_TYPE_LAST
48 };
49 
50 int input_event_get_osk_ptr(void);
51 
52 char **input_event_get_osk_grid(void);
53 
54 RETRO_END_DECLS
55 
56 #endif
57