wut
1.0.0-beta9
Wii U Toolchain
|
Go to the documentation of this file.
66 memset(
this, 0,
sizeof(*
this));
83 WUT_UNKNOWN_BYTES(0x9C - 0x18);
88 WUT_CHECK_OFFSET(
ConfigArg, 0x00, languageType);
89 WUT_CHECK_OFFSET(
ConfigArg, 0x04, unk_0x04);
90 WUT_CHECK_OFFSET(
ConfigArg, 0x08, unk_0x08);
91 WUT_CHECK_OFFSET(
ConfigArg, 0x0C, unk_0x0C);
92 WUT_CHECK_OFFSET(
ConfigArg, 0x10, unk_0x10);
93 WUT_CHECK_OFFSET(
ConfigArg, 0x14, unk_0x14);
94 WUT_CHECK_OFFSET(
ConfigArg, 0x9C, unk_0x9C);
95 WUT_CHECK_OFFSET(
ConfigArg, 0xA4, unk_0xA4);
138 WUT_PADDING_BYTES(1);
173 WUT_CHECK_OFFSET(
CreateArg, 0x00, workMemory);
174 WUT_CHECK_OFFSET(
CreateArg, 0x04, regionType);
175 WUT_CHECK_OFFSET(
CreateArg, 0x08, unk_0x08);
176 WUT_CHECK_OFFSET(
CreateArg, 0x0C, fsClient);
187 WUT_CHECK_OFFSET(ControllerInfo, 0x00, vpad);
188 WUT_CHECK_OFFSET(ControllerInfo, 0x04, kpad);
189 WUT_CHECK_SIZE(ControllerInfo, 0x14);
195 memset(
this, 0,
sizeof(*
this));
198 WUT_UNKNOWN_BYTES(0x1C);
200 WUT_CHECK_SIZE(DrawStringInfo, 0x1C);
211 struct IEventReceiver;
212 struct IControllerEventObj;
549 #endif // ifdef __cplusplus
bool IsNeedCalcSubThreadFont()
Determines whether the font data needs calculating.
LanguageType languageType
The language to use for input.
bool IsDecideOkButton(bool *outIsSelected)
Gets the current status of the OK button on the keyboard.
KeyboardArg keyboardArg
Arguments for the virtual keyboard.
bool AppearKeyboard(const KeyboardArg &args)
Show a keyboard with the given configuration.
int32_t maxTextLength
The maximum number of characters that can be entered, -1 for unlimited.
void DrawDRC()
Draw the keyboard to the DRC.
void SetUserSoundObj(ISoundObj *soundObj)
void Calc(const ControllerInfo &controllerInfo)
Respond to user inputs and calculate the state of input buffers and graphics.
void * workMemory
A pointer to a work memory buffer; see GetWorkMemorySize.
bool Create(const CreateArg &args)
Initialise the swkbd library and create the keyboard and input form.
VPADStatus * vpad
DRC input information, see VPADRead.
InputFormArg inputFormArg
Arguments for the input form (text area)
Configuration options for the virtual keyboard.
ConfigArg configArg
Configuration for the keyboard itself.
void SetInputFormString(const char16_t *str)
Sets the text in the input form.
bool IsNeedCalcSubThreadPredict()
Determines whether the prediction data needs calculating.
Arguments for the swkbd input form and keyboard.
void SetUserControllerEventObj(IControllerEventObj *controllerEventObj)
RegionType regionType
The swkbd region to use.
void GetKeyboardCondition(KeyboardCondition *keyboardCondition)
void SetReceiver(const ReceiverArg &receiver)
void CalcSubThreadFont()
Calculate font data.
bool InitLearnDic(void *dictionary)
void SetCursorPos(int pos)
Set the character at which the cursor is positioned.
State GetStateInputForm()
bool IsDecideCancelButton(bool *outIsSelected)
Gets the current status of the Cancel button on the keyboard.
uint32_t GetWorkMemorySize(uint32_t unk)
Get the required size for swkbd's work memory buffer.
void SetControllerRemo(ControllerType type)
bool IsSelectCursorActive()
Determines whether the selection cursor is active.
bool IsCoveredWithSubWindow()
void CalcSubThreadPredict()
Calculate word prediction data.
const char16_t * GetInputFormString()
Get the string the user typed into the input form.
FSClient * fsClient
An FSClient for swkbd to use while loading resources.
void GetDrawStringInfo(DrawStringInfo *drawStringInfo)
bool IsKeyboardTarget(IEventReceiver *eventReceiver)
void Destroy()
Clean up and shut down the swkbd library.
The arguments used to initialise swkbd and pass in its required resources.
bool DisappearKeyboard()
Hide a previously shown keyboard.
KPADStatus * kpad[4]
Wiimote and extension controller inputs, see KPADRead.
Input and controller information for swkbd.
bool AppearInputForm(const AppearArg &args)
Show an input form (keyboard with text area) with the given configuration.
void InactivateSelectCursor()
void DrawTV()
Draw the keyboard to the TV.
Arguments for the swkbd keyboard.
void MuteAllSound(bool muted)
Mutes or unmutes the sounds generated by the keyboard.
bool DisappearInputForm()
Hide a previously shown input form.
void SetEnableOkButton(bool enable)
Enables and disables the OK button on the keyboard.