nn::swkbd::CTR::InitializeConfig Function

Syntax

void InitializeConfig(
     Config * pConfig
);

Arguments

Name Description
out pConfig The Config structure, initialized to default values.

Return Values

None.

Description

Initializes the Config structure to default values.

Before using the nn::swkbd::CTR::Config structure, you must always initialize it with this function.

This function sets the member variables of the nn::swkbd::CTR::Config structure as follows.



    keyboardType                            = KEYBOARD_TYPE_FULL
    bottomButtonType                        = BOTTOM_BUTTON_TYPE_2BUTTON
    finishableCondition                     = FINISHABLE_CONDITION_NONE
    maskMode                                = MASK_MODE_DISABLE
    parentalControlsMode                    = PARENTAL_CONTROLS_MODE_DISABLE
    upperScreenFlag                         = UPPER_SCREEN_NORMAL
    textCheckFlag                           = TEXT_CHECK_DISABLE
    extOutputDataFlag                       = EXT_OUTPUT_DATA_NONE
    textLengthMax                           = TEXT_LENGTH_MAX_MAX
    numUserWords                            = 0
    numNumbersMax                           = 0
    bottomButtonText                        = 0(fill)
    tenkeyExtKeyChar                        = 0(fill)
    guideText                               = 0(fill)
    prediction                              = false
    lineFeed                                = true
    fixedWidthMode                          = false
    homeButton                              = true
    softwareReset                           = false
    powerButton                             = true
    communicateWithOtherRegions             = false
    bootWithQwerty                          = false
    bottomButtonToFinish[BOTTOM_BUTTON_0]   = false
    bottomButtonToFinish[BOTTOM_BUTTON_1]   = false
    bottomButtonToFinish[BOTTOM_BUTTON_2]   = true

    initialInputText                        = -1
    userWordArray                           = -1
    initialStatusData                       = -1
    initialLearningData                     = -1
    sharedMemorySize                        = 0
    versionNumber                           = 0

    returnCode                              = RETURN_CODE_UNKNOWN
    statusData                              = -1
    learningData                            = -1
    inputText                               = -1
    inputTextLength                         = 0

    appTextCheckResult                      = APP_TEXT_CHECK_RESULT_OK
    appTextCheckDialogText                  = 0(fill)

            

Revision History

2011/03/18
Added specific information on settings.
2011/03/01
Initial version.

CONFIDENTIAL