| njPrintPeripheralInfo | Japanese |
|---|---|
<-|INDEX|-- | |
| Displays peripheral condition. | |
#include <NinjaWin.h> void njPrintPeripheralInfo(Int loc, Uint32 port) Int loc Uint32 port
| NJD_PORT_SYSKEYBOARD | System keyboard |
| NJD_PORT_SYSMOUSE | System mouse |
| NJD_PORT_JOYSTICK1 | Joystick port 1 |
| : | |
|---|---|
| NJD_PORT_JOYSTICK16 | Joystick port 16 |
Sint32 njUserMain(void)
{
njPrintPeripheralInfo(NJM_LOCATION( 0, 0), NJD_PORT_SYSKEYBOARD);
njPrintPeripheralInfo(NJM_LOCATION(20, 0), NJD_PORT_SYSMOUSE);
njPrintPeripheralInfo(NJM_LOCATION(40, 0), NJD_PORT_JOYSTICK1);
njPrintPeripheralInfo(NJM_LOCATION(60, 0), NJD_PORT_JOYSTICK2);
return NJS_USER_CONTINUE;
}
| njPrintPeripheralInfo | <-|INDEX|-- |
|---|