diff --git a/Core/Dialog/PSPOskDialog.cpp b/Core/Dialog/PSPOskDialog.cpp index 640376c2e..b61daddf5 100644 --- a/Core/Dialog/PSPOskDialog.cpp +++ b/Core/Dialog/PSPOskDialog.cpp @@ -143,6 +143,17 @@ std::string oskIntext; std::string oskOuttext; int oskParamsAddr; +#define NUMKEYROWS 4 +#define KEYSPERROW 11 +const char oskKeys[NUMKEYROWS][KEYSPERROW] = +{ + {'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',}, +}; + + PSPOskDialog::PSPOskDialog() : PSPDialog() { } @@ -201,12 +212,16 @@ int PSPOskDialog::Init(u32 oskPtr) void PSPOskDialog::RenderKeyboard() { - //First render the characters + PPGeDrawText(oskDesc.c_str(), 480/2, 20, PPGE_ALIGN_CENTER, 0.5f, 0xFFFFFFFF); for (int i=0; i