1 /*  RetroArch - A frontend for libretro.
2  *  Copyright (C) 2011-2017 - Daniel De Matteis
3  *  Copyright (C) 2016-2019 - Brad Parker
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 #if defined(_MSC_VER) && !defined(_XBOX) && (_MSC_VER >= 1500 && _MSC_VER < 1900)
18 #if (_MSC_VER >= 1700)
19 /* https://support.microsoft.com/en-us/kb/980263 */
20 #pragma execution_character_set("utf-8")
21 #endif
22 #pragma warning(disable:4566)
23 #endif
24 
25 static const char *symbols_page1_grid[] = {
26                           "1","2","3","4","5","6","7","8","9","0","⇦",
27                           "!","\"","#","$","%","&","'","*","(",")","⏎",
28                           "+",",","-","~","/",":",";","=","<",">","⇩",
29                           "?","@","[","\\","]","^","_","|","{","}","⊕"};
30 
31 static const char *uppercase_grid[] = {
32                           "1","2","3","4","5","6","7","8","9","0","⇦",
33                           "Q","W","E","R","T","Y","U","I","O","P","⏎",
34                           "A","S","D","F","G","H","J","K","L","+","⇩",
35                           "Z","X","C","V","B","N","M"," ","_","/","⊕"};
36 
37 static const char *lowercase_grid[] = {
38                           "1","2","3","4","5","6","7","8","9","0","⇦",
39                           "q","w","e","r","t","y","u","i","o","p","⏎",
40                           "a","s","d","f","g","h","j","k","l","@","⇧",
41                           "z","x","c","v","b","n","m"," ","-",".","⊕"};
42 
43 static const char *hiragana_page1_grid[] = {
44                           "あ","い","う","え","お","ら","り","る","れ","ろ","⇦",
45                           "か","き","く","け","こ","が","ぎ","ぐ","げ","ご","⏎",
46                           "さ","し","す","せ","そ","ざ","じ","ず","ぜ","ぞ","⇧",
47                           "た","ち","つ","て","と","だ","ぢ","づ","で","ど","⊕"};
48 
49 static const char *hiragana_page2_grid[] = {
50                           "な","に","ぬ","ね","の","ば","び","ぶ","べ","ぼ","⇦",
51                           "は","ひ","ふ","へ","ほ","ぱ","ぴ","ぷ","ぺ","ぽ","⏎",
52                           "ま","み","む","め","も","ん","っ","ゃ","ゅ","ょ","⇧",
53                           "や","ゆ","よ","わ","を","ぁ","ぃ","ぅ","ぇ","ぉ","⊕"};
54 
55 static const char *katakana_page1_grid[] = {
56                           "ア","イ","ウ","エ","オ","ラ","リ","ル","レ","ロ","⇦",
57                           "カ","キ","ク","ケ","コ","ガ","ギ","グ","ゲ","ゴ","⏎",
58                           "サ","シ","ス","セ","ソ","ザ","ジ","ズ","ゼ","ゾ","⇧",
59                           "タ","チ","ツ","テ","ト","ダ","ヂ","ヅ","デ","ド","⊕"};
60 
61 static const char *katakana_page2_grid[] = {
62                           "ナ","ニ","ヌ","ネ","ノ","バ","ビ","ブ","ベ","ボ","⇦",
63                           "ハ","ヒ","フ","ヘ","ホ","パ","ピ","プ","ペ","ポ","⏎",
64                           "マ","ミ","ム","メ","モ","ン","ッ","ャ","ュ","ョ","⇧",
65                           "ヤ","ユ","ヨ","ワ","ヲ","ァ","ィ","ゥ","ェ","ォ","⊕"};
66