2014-07-12 09:46:14 +02:00
|
|
|
#include "stdafx.h"
|
2015-07-29 17:39:34 +02:00
|
|
|
#include "Emu/Memory/Memory.h"
|
|
|
|
|
#include "Emu/SysCalls/Modules.h"
|
2013-09-28 04:36:57 +02:00
|
|
|
|
2015-09-08 15:53:28 +02:00
|
|
|
extern Module<> cellKey2char;
|
2013-09-28 04:36:57 +02:00
|
|
|
|
|
|
|
|
// Return Codes
|
|
|
|
|
enum
|
|
|
|
|
{
|
2014-04-04 15:25:38 +02:00
|
|
|
CELL_K2C_OK = 0x00000000,
|
|
|
|
|
CELL_K2C_ERROR_FATAL = 0x80121301,
|
|
|
|
|
CELL_K2C_ERROR_INVALID_HANDLE = 0x80121302,
|
|
|
|
|
CELL_K2C_ERROR_INVALID_PARAMETER = 0x80121303,
|
|
|
|
|
CELL_K2C_ERROR_ALREADY_INITIALIZED = 0x80121304,
|
|
|
|
|
CELL_K2C_ERROR_UNINITIALIZED = 0x80121305,
|
|
|
|
|
CELL_K2C_ERROR_OTHER = 0x80121306,
|
2013-09-28 04:36:57 +02:00
|
|
|
};
|
|
|
|
|
|
2015-07-29 17:39:34 +02:00
|
|
|
s32 cellKey2CharOpen()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellKey2char);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2015-07-29 17:39:34 +02:00
|
|
|
s32 cellKey2CharClose()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellKey2char);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2015-07-29 17:39:34 +02:00
|
|
|
s32 cellKey2CharGetChar()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellKey2char);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2015-07-29 17:39:34 +02:00
|
|
|
s32 cellKey2CharSetMode()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellKey2char);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2015-07-29 17:39:34 +02:00
|
|
|
s32 cellKey2CharSetArrangement()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellKey2char);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2015-09-08 15:53:28 +02:00
|
|
|
Module<> cellKey2char("cellKey2char", []()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
2015-02-20 14:58:40 +01:00
|
|
|
REG_FUNC(cellKey2char, cellKey2CharOpen);
|
|
|
|
|
REG_FUNC(cellKey2char, cellKey2CharClose);
|
|
|
|
|
REG_FUNC(cellKey2char, cellKey2CharGetChar);
|
|
|
|
|
REG_FUNC(cellKey2char, cellKey2CharSetMode);
|
|
|
|
|
REG_FUNC(cellKey2char, cellKey2CharSetArrangement);
|
2015-07-29 17:39:34 +02:00
|
|
|
});
|