PSPSDK 2024-12-16
Loading...
Searching...
No Matches
psputility_osk.h
Go to the documentation of this file.
1/*
2 * PSP Software Development Kit - https://github.com/pspdev
3 * -----------------------------------------------------------------------
4 * Licensed under the BSD license, see LICENSE in PSPSDK root for details.
5 *
6 * psputility_osk.h - Definitions and Functions for OSK section of
7 * the pspUtility library
8 *
9 * Copyright (c) 2006 McZonk
10 * Copyright (c) 2008 InsertWittyName <tias_dp@hotmail.com>
11 *
12 */
13#ifndef PSPOSK_H
14#define PSPOSK_H
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
20#include <psptypes.h>
21
39
52
62
90
94typedef struct _SceUtilityOskData
95{
97 int unk_00;
99 int unk_04;
107 int lines;
111 unsigned short* desc;
113 unsigned short* intext;
117 unsigned short* outtext;
122
124
141
150
159
168
175
176#ifdef __cplusplus
177}
178#endif
179
180#endif
float x
Definition psptypes.h:0
struct _SceUtilityOskData SceUtilityOskData
OSK Field data.
int sceUtilityOskGetStatus(void)
Get the status of a on-screen keyboard currently active.
int sceUtilityOskShutdownStart(void)
Remove a currently active keyboard.
int sceUtilityOskUpdate(int n)
Refresh the GUI for a keyboard currently active.
struct _SceUtilityOskParams SceUtilityOskParams
OSK parameters.
SceUtilityOskResult
Enumeration for OSK field results.
Definition psputility_osk.h:57
@ PSP_UTILITY_OSK_RESULT_CANCELLED
Definition psputility_osk.h:59
@ PSP_UTILITY_OSK_RESULT_UNCHANGED
Definition psputility_osk.h:58
@ PSP_UTILITY_OSK_RESULT_CHANGED
Definition psputility_osk.h:60
int sceUtilityOskInitStart(SceUtilityOskParams *params)
Create an on-screen keyboard.
SceUtilityOskInputType
Enumeration for input types (these are limited by initial choice of language)
Definition psputility_osk.h:67
@ PSP_UTILITY_OSK_INPUTTYPE_JAPANESE_LOWERCASE
Definition psputility_osk.h:75
@ PSP_UTILITY_OSK_INPUTTYPE_RUSSIAN_LOWERCASE
Definition psputility_osk.h:85
@ PSP_UTILITY_OSK_INPUTTYPE_LATIN_DIGIT
Definition psputility_osk.h:69
@ PSP_UTILITY_OSK_INPUTTYPE_KOREAN
Definition psputility_osk.h:87
@ PSP_UTILITY_OSK_INPUTTYPE_JAPANESE_HIRAGANA
Definition psputility_osk.h:78
@ PSP_UTILITY_OSK_INPUTTYPE_JAPANESE_KATAKANA
Definition psputility_osk.h:82
@ PSP_UTILITY_OSK_INPUTTYPE_ALL
Definition psputility_osk.h:68
@ PSP_UTILITY_OSK_INPUTTYPE_LATIN_UPPERCASE
Definition psputility_osk.h:72
@ PSP_UTILITY_OSK_INPUTTYPE_RUSSIAN_UPPERCASE
Definition psputility_osk.h:86
@ PSP_UTILITY_OSK_INPUTTYPE_JAPANESE_DIGIT
Definition psputility_osk.h:73
@ PSP_UTILITY_OSK_INPUTTYPE_URL
Definition psputility_osk.h:88
@ PSP_UTILITY_OSK_INPUTTYPE_LATIN_LOWERCASE
Definition psputility_osk.h:71
@ PSP_UTILITY_OSK_INPUTTYPE_JAPANESE_HALF_KATAKANA
Definition psputility_osk.h:81
@ PSP_UTILITY_OSK_INPUTTYPE_LATIN_SYMBOL
Definition psputility_osk.h:70
@ PSP_UTILITY_OSK_INPUTTYPE_JAPANESE_KANJI
Definition psputility_osk.h:84
@ PSP_UTILITY_OSK_INPUTTYPE_JAPANESE_SYMBOL
Definition psputility_osk.h:74
@ PSP_UTILITY_OSK_INPUTTYPE_JAPANESE_UPPERCASE
Definition psputility_osk.h:76
SceUtilityOskState
Enumeration for OSK internal state.
Definition psputility_osk.h:44
@ PSP_UTILITY_OSK_DIALOG_INITED
The OSK is initialised.
Definition psputility_osk.h:47
@ PSP_UTILITY_OSK_DIALOG_VISIBLE
The OSK is visible and ready for use.
Definition psputility_osk.h:48
@ PSP_UTILITY_OSK_DIALOG_INITING
The OSK is currently being initialized.
Definition psputility_osk.h:46
@ PSP_UTILITY_OSK_DIALOG_NONE
No OSK is currently active.
Definition psputility_osk.h:45
@ PSP_UTILITY_OSK_DIALOG_FINISHED
The OSK has successfully shut down.
Definition psputility_osk.h:50
@ PSP_UTILITY_OSK_DIALOG_QUIT
The OSK has been cancelled and should be shut down.
Definition psputility_osk.h:49
SceUtilityOskInputLanguage
Enumeration for input language.
Definition psputility_osk.h:26
@ PSP_UTILITY_OSK_LANGUAGE_ENGLISH
Definition psputility_osk.h:29
@ PSP_UTILITY_OSK_LANGUAGE_FRENCH
Definition psputility_osk.h:30
@ PSP_UTILITY_OSK_LANGUAGE_PORTUGESE
Definition psputility_osk.h:35
@ PSP_UTILITY_OSK_LANGUAGE_SPANISH
Definition psputility_osk.h:31
@ PSP_UTILITY_OSK_LANGUAGE_JAPANESE
Definition psputility_osk.h:28
@ PSP_UTILITY_OSK_LANGUAGE_ITALIAN
Definition psputility_osk.h:33
@ PSP_UTILITY_OSK_LANGUAGE_DUTCH
Definition psputility_osk.h:34
@ PSP_UTILITY_OSK_LANGUAGE_DEFAULT
Definition psputility_osk.h:27
@ PSP_UTILITY_OSK_LANGUAGE_KOREAN
Definition psputility_osk.h:37
@ PSP_UTILITY_OSK_LANGUAGE_RUSSIAN
Definition psputility_osk.h:36
@ PSP_UTILITY_OSK_LANGUAGE_GERMAN
Definition psputility_osk.h:32
OSK Field data.
Definition psputility_osk.h:95
int unk_04
Unknown.
Definition psputility_osk.h:99
unsigned short * outtext
Pointer to the output text.
Definition psputility_osk.h:117
int unk_24
Unknown.
Definition psputility_osk.h:109
int outtextlimit
The max text that can be input.
Definition psputility_osk.h:121
int outtextlength
Length of output text.
Definition psputility_osk.h:115
int lines
Number of lines.
Definition psputility_osk.h:107
int unk_00
Unknown.
Definition psputility_osk.h:97
unsigned short * desc
Description text.
Definition psputility_osk.h:111
int inputtype
One or more of SceUtilityOskInputType (types that are selectable by pressing SELECT)
Definition psputility_osk.h:105
int unk_12
Unknown.
Definition psputility_osk.h:103
unsigned short * intext
Initial text.
Definition psputility_osk.h:113
int language
One of SceUtilityOskInputLanguage.
Definition psputility_osk.h:101
int result
Result.
Definition psputility_osk.h:119
OSK parameters.
Definition psputility_osk.h:129
int state
The local OSK state, one of SceUtilityOskState.
Definition psputility_osk.h:136
int unk_60
Unknown.
Definition psputility_osk.h:138
int datacount
Number of input fields.
Definition psputility_osk.h:132
pspUtilityDialogCommon base
Definition psputility_osk.h:130
SceUtilityOskData * data
Pointer to the start of the data for the input fields.
Definition psputility_osk.h:134
Definition psputility.h:15