mirror of
https://github.com/libretro/RetroArch.git
synced 2024-12-15 13:20:59 +00:00
e1db3e7a6d
Fixes these two compile errors with C89_BUILD=1 configuration.c:2028:9: error: ISO C90 forbids mixing declarations and code [-Werror,-Wdeclaration-after-statement] bool has_application_data = ^ 1 error generated. make: *** [Makefile:164: obj-unix/configuration.o] Error 1 In file included from menu/widgets/menu_osk.c:42: menu/widgets/menu_osk_utf8_pages.h:62:94: error: no newline at end of file [-Werror,-Wnewline-eof] "ヤ","ユ","ヨ","ワ","ヲ","ァ","ィ","ゥ","ェ","ォ","⊕"}; ^ 1 error generated. make: *** [Makefile:163: obj-unix/menu/widgets/menu_osk.o] Error 1
63 lines
3.5 KiB
C
63 lines
3.5 KiB
C
/* RetroArch - A frontend for libretro.
|
||
* Copyright (C) 2011-2017 - Daniel De Matteis
|
||
* Copyright (C) 2016-2017 - Brad Parker
|
||
*
|
||
* RetroArch 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 Found-
|
||
* ation, either version 3 of the License, or (at your option) any later version.
|
||
*
|
||
* RetroArch 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 RetroArch.
|
||
* If not, see <http://www.gnu.org/licenses/>.
|
||
*/
|
||
|
||
#if defined(_MSC_VER) && !defined(_XBOX)
|
||
/* https://support.microsoft.com/en-us/kb/980263 */
|
||
#pragma execution_character_set("utf-8")
|
||
#endif
|
||
|
||
static const char *symbols_page1_grid[] = {
|
||
"1","2","3","4","5","6","7","8","9","0","⇦",
|
||
"!","\"","#","$","%","&","'","*","(",")","⏎",
|
||
"+",",","-","~","/",":",";","=","<",">","⇩",
|
||
"?","@","[","\\","]","^","_","|","{","}","⊕"};
|
||
|
||
static const char *uppercase_grid[] = {
|
||
"1","2","3","4","5","6","7","8","9","0","⇦",
|
||
"Q","W","E","R","T","Y","U","I","O","P","⏎",
|
||
"A","S","D","F","G","H","J","K","L","+","⇩",
|
||
"Z","X","C","V","B","N","M"," ","_","/","⊕"};
|
||
|
||
static const char *lowercase_grid[] = {
|
||
"1","2","3","4","5","6","7","8","9","0","⇦",
|
||
"q","w","e","r","t","y","u","i","o","p","⏎",
|
||
"a","s","d","f","g","h","j","k","l","@","⇧",
|
||
"z","x","c","v","b","n","m"," ","-",".","⊕"};
|
||
|
||
static const char *hiragana_page1_grid[] = {
|
||
"あ","い","う","え","お","ら","り","る","れ","ろ","⇦",
|
||
"か","き","く","け","こ","が","ぎ","ぐ","げ","ご","⏎",
|
||
"さ","し","す","せ","そ","ざ","じ","ず","ぜ","ぞ","⇧",
|
||
"た","ち","つ","て","と","だ","ぢ","づ","で","ど","⊕"};
|
||
|
||
static const char *hiragana_page2_grid[] = {
|
||
"な","に","ぬ","ね","の","ば","び","ぶ","べ","ぼ","⇦",
|
||
"は","ひ","ふ","へ","ほ","ぱ","ぴ","ぷ","ぺ","ぽ","⏎",
|
||
"ま","み","む","め","も","ん","っ","ゃ","ゅ","ょ","⇧",
|
||
"や","ゆ","よ","わ","を","ぁ","ぃ","ぅ","ぇ","ぉ","⊕"};
|
||
|
||
static const char *katakana_page1_grid[] = {
|
||
"ア","イ","ウ","エ","オ","ラ","リ","ル","レ","ロ","⇦",
|
||
"カ","キ","ク","ケ","コ","ガ","ギ","グ","ゲ","ゴ","⏎",
|
||
"サ","シ","ス","セ","ソ","ザ","ジ","ズ","ゼ","ゾ","⇧",
|
||
"タ","チ","ツ","テ","ト","ダ","ヂ","ヅ","デ","ド","⊕"};
|
||
|
||
static const char *katakana_page2_grid[] = {
|
||
"ナ","ニ","ヌ","ネ","ノ","バ","ビ","ブ","ベ","ボ","⇦",
|
||
"ハ","ヒ","フ","ヘ","ホ","パ","ピ","プ","ペ","ポ","⏎",
|
||
"マ","ミ","ム","メ","モ","ン","ッ","ャ","ュ","ョ","⇧",
|
||
"ヤ","ユ","ヨ","ワ","ヲ","ァ","ィ","ゥ","ェ","ォ","⊕"};
|