mirror of
https://github.com/WinDurango/WinDurango.git
synced 2025-12-31 16:10:07 -06:00
49 lines
956 B
C++
49 lines
956 B
C++
#include "pch.h"
|
|
#include <cstdint>
|
|
#include <dxgiformat.h>
|
|
|
|
|
|
HRESULT __stdcall XFrontPanelGetButtonStates_X(uint32_t* buttons)
|
|
{
|
|
*buttons = 0;
|
|
return S_OK;
|
|
}
|
|
|
|
HRESULT __stdcall XFrontPanelGetLightStates_X(uint32_t* lights)
|
|
{
|
|
*lights = 0;
|
|
return S_OK;
|
|
}
|
|
|
|
HRESULT __stdcall XFrontPanelSetLightStates_X(uint32_t lights)
|
|
{
|
|
return S_OK;
|
|
}
|
|
|
|
HRESULT __stdcall XFrontPanelGetScreenDimensions_X(uint32_t* height, uint32_t* width)
|
|
{
|
|
// unixian: this replicates the front panel display that is on series console devkits, which is 256 x 64
|
|
*height = 64;
|
|
*width = 256;
|
|
return S_OK;
|
|
}
|
|
|
|
HRESULT __stdcall XFrontPanelGetScreenPixelFormat_X(DXGI_FORMAT* pixelFormat)
|
|
{
|
|
return E_NOTIMPL;
|
|
}
|
|
|
|
HRESULT __stdcall XFrontPanelSetDisplayName_X(const char* displayName)
|
|
{
|
|
return S_OK;
|
|
}
|
|
|
|
HRESULT __stdcall XFrontPanelPresentBuffer_X(uint32_t bufferSize, const uint8_t* buffer)
|
|
{
|
|
return E_NOTIMPL;
|
|
}
|
|
|
|
bool __stdcall XFrontPanelIsSupported_X()
|
|
{
|
|
return false;
|
|
} |