38 lines
674 B
C
38 lines
674 B
C
#pragma once
|
|
|
|
enum System_State
|
|
{
|
|
Suspend = 0x8004000,
|
|
Shutdown = 0x4000,
|
|
Reboot = 0x0,
|
|
};
|
|
|
|
enum ConsoleLEDColours
|
|
{
|
|
white,
|
|
white_Blinking,
|
|
Blue_Blinking,
|
|
};
|
|
|
|
enum Console_Types
|
|
{
|
|
CT_UNK,
|
|
CT_DIAG, //0x80
|
|
CT_DEVKIT, //0x81
|
|
CT_TESTKIT, //0x82
|
|
CT_RETAIL, //0x83 -> 0x8F
|
|
CT_KRATOS, //0xA0 IMPOSSIBLE??
|
|
};
|
|
|
|
int ChangeSystemState(System_State State);
|
|
void SetConsoleLED(ConsoleLEDColours Colour);
|
|
void SetControllerLED();
|
|
void RingBuzzer(BuzzerType Type);
|
|
int32_t GetCPUTemp();
|
|
int32_t GetSOCTemp();
|
|
int GetSDKVersion();
|
|
int GetUpdateVersion();
|
|
bool GetConsoleName(char* Out, size_t len);
|
|
int GetIDPS(char* Out);
|
|
int GetPSID(char* Out);
|
|
Console_Types GetConsoleType(); |