Exemple #1
0
DllExport s32 CALLBACK PADclose() // PAD CLOSE
{
	DebugFunc();

	Input::Pause(true);
	KeyboardClose();
	KeepAwake(KEEPAWAKE_CLOSE);

	return emupro::pad::ERR_SUCCESS;
}
Exemple #2
0
/*---------------------------------------------------------------------------*
 * Routine:     IKeyboardHandleCancel
 *---------------------------------------------------------------------------*
 * Description:
 *      Exit the dialog and do not pass current string back.
 * Inputs:
 *      WM_MESSAGE *pMsg -- message structure for current dialog.
 *      int aNCode -- Type of event recived to process.
 *      int aID    -- not used.
 * Outputs:
 *      TBool -- EFalse is not problems, else ETrue.
 *---------------------------------------------------------------------------*/
static TBool IKeyboardHandleCancel(WM_MESSAGE * pMsg, int aNCode, int aID)
{
    KeyboardClose();
    return ETrue;
}