overlays/osk: fix full width characters

This commit is contained in:
Megamouse 2020-03-15 13:53:15 +01:00
parent a1f70bf96e
commit c63f77e3b0
2 changed files with 6 additions and 1 deletions

View File

@ -66,6 +66,11 @@ namespace rsx
{ {
return language_class::hangul; return language_class::hangul;
} }
case 0xFF: // Halfwidth and Fullwidth Forms
{
// Found in SCE-PS3-SR-R-JPN.TTF, so we'll use cjk_base for now
return language_class::cjk_base;
}
default: default:
{ {
if (codepage_id >= 0xAC && codepage_id <= 0xD7) if (codepage_id >= 0xAC && codepage_id <= 0xD7)

View File

@ -164,7 +164,7 @@ namespace rsx
{{{U"", U""}, {U"", U""}, {U"", U""}, {U""}}, default_bg, 1}, {{{U"", U""}, {U"", U""}, {U"", U""}, {U""}}, default_bg, 1},
// Special // Special
{{{U"あ/ア"}, {U"A/a"}, {U"全/半"}, {U""}}, special2_bg, 2, button_flags::_shift, shift_cb }, {{{U"あ/ア"}, {U"A/a"}, {U"/"}, {U""}}, special2_bg, 2, button_flags::_shift, shift_cb },
{{{U"abc"}, {U"全半"}, {U""}, {U"あア"}}, special2_bg, 2, button_flags::_layer, layer_cb}, {{{U"abc"}, {U"全半"}, {U""}, {U"あア"}}, special2_bg, 2, button_flags::_layer, layer_cb},
{{{U"Space"}, {U"Space"}, {U"Space"}, {U"Space"}}, special_bg, 2, button_flags::_space, space_cb}, {{{U"Space"}, {U"Space"}, {U"Space"}, {U"Space"}}, special_bg, 2, button_flags::_space, space_cb},
{{{U"Backspace"}, {U"Backspace"}, {U"Backspace"}, {U"Backspace"}}, special_bg, 2, button_flags::_default, delete_cb }, {{{U"Backspace"}, {U"Backspace"}, {U"Backspace"}, {U"Backspace"}}, special_bg, 2, button_flags::_default, delete_cb },