mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-12 17:58:29 +12:00
Add all the files
This commit is contained in:
parent
e3db07a16a
commit
d60742f52b
1445 changed files with 430238 additions and 0 deletions
23
src/Cafe/OS/libs/nsyskbd/nsyskbd.cpp
Normal file
23
src/Cafe/OS/libs/nsyskbd/nsyskbd.cpp
Normal file
|
@ -0,0 +1,23 @@
|
|||
#include "Cafe/OS/common/OSCommon.h"
|
||||
#include "Cafe/OS/libs/nn_common.h"
|
||||
|
||||
namespace nsyskbd
|
||||
{
|
||||
uint32 KBDGetChannelStatus(uint32 channel, uint32be* status)
|
||||
{
|
||||
static bool loggedError = false;
|
||||
if (loggedError == false)
|
||||
{
|
||||
forceLogDebug_printf("KBDGetChannelStatus() placeholder");
|
||||
loggedError = true;
|
||||
}
|
||||
*status = 1; // disconnected
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
void nsyskbd_load()
|
||||
{
|
||||
cafeExportRegister("nsyskbd", KBDGetChannelStatus, LogType::Placeholder);
|
||||
}
|
||||
}
|
5
src/Cafe/OS/libs/nsyskbd/nsyskbd.h
Normal file
5
src/Cafe/OS/libs/nsyskbd/nsyskbd.h
Normal file
|
@ -0,0 +1,5 @@
|
|||
namespace nsyskbd
|
||||
{
|
||||
void nsyskbd_load();
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue