PSPSDK 1.0+beta2
Loading...
Searching...
No Matches
pspsyscon.h
Go to the documentation of this file.
1/*
2 * PSP Software Development Kit - https://github.com/pspdev
3 * -----------------------------------------------------------------------
4 * Licensed under the BSD license, see LICENSE in PSPSDK root for details.
5 *
6 * pspsyscon.h - Interface to sceSyscon_driver.
7 *
8 * Copyright (c) 2006 James F
9 *
10 */
11
12#ifndef PSPSYSCON_H
13#define PSPSYSCON_H
14
15#include <pspkerneltypes.h>
16
20#ifdef __cplusplus
21extern "C" {
22#endif
23
31
38void sceSysconResetDevice(int unk1, int unk2);
39
40#define SCE_LED_POWER 1
41#define LED_ON 1
42#define LED_OFF 0
49int sceSysconCtrlLED(int SceLED, int state);
50
59
60
62
63int sceSysconSetHPConnectCallback( void (*)(int), int unk0 );
64
65int sceSysconSetHRPowerCallback( void (*)(int), int unk0 );
66
72
78
81#ifdef __cplusplus
82}
83#endif
84
85#endif
int sceSysconGetBaryonVersion(int *version)
Get the PSP's Baryon version.
void sceSysconPowerStandby(void)
Force the PSP to go into standby.
int sceSysconSetHRPowerCallback(void(*)(int), int unk0)
int sceSysconGetHPConnect(void)
int sceSysconCtrlHRPower(int power)
Control the remote control power.
void sceSysconResetDevice(int unk1, int unk2)
Reset the PSP.
int sceSysconSetHPConnectCallback(void(*)(int), int unk0)
int sceSysconGetPommelVersion(int *version)
Get the PSP's Pommel version.
int sceSysconCtrlLED(int SceLED, int state)
Control an LED.
unsigned char version[2]
Definition psploadcore.h:2
float x
Definition psptypes.h:0