Files
Chimera GFX release export a6037502d7
phase0-ci / build-and-audit (push) Successful in 2m14s
Publish Chimera GFX source
2026-09-03 03:27:14 +02:00

58 lines
1.8 KiB
Diff

diff --git a/src/video/ps5/SDL_ps5video.c b/src/video/ps5/SDL_ps5video.c
--- a/src/video/ps5/SDL_ps5video.c
+++ b/src/video/ps5/SDL_ps5video.c
@@ -29,6 +29,5 @@
#include "SDL_ps5tilemap.inc"
#include "SDL_ps5video.h"
-#include "SDL_ps5keyboard.h"
#include "SDL_ps5osmesa.h"
#define PS5_THREAD_COUNT 12
@@ -305,46 +304,33 @@ static void PS5_DestroyDevice(SDL_VideoDevice *device)
static void PS5_DestroyWindow(_THIS, SDL_Window *window)
{
}
-static void PS5_PumpEvents(_THIS)
-{
- PS5_Keyboard_PumpEvents();
-}
-
static SDL_VideoDevice *PS5_CreateDevice(void)
{
SDL_VideoDevice *device;
device = (SDL_VideoDevice *)SDL_calloc(1, sizeof(SDL_VideoDevice));
if (device == NULL) {
SDL_OutOfMemory();
return NULL;
}
device->driverdata = SDL_calloc(1, sizeof(PS5_DeviceData));
if (device->driverdata == NULL) {
SDL_free(device);
SDL_OutOfMemory();
return NULL;
}
- PS5_Keyboard_Init();
- PS5_Keyboard_Open();
-
device->VideoInit = PS5_VideoInit;
device->VideoQuit = PS5_VideoQuit;
device->GetDisplayModes = PS5_GetDisplayModes;
device->SetDisplayMode = PS5_SetDisplayMode;
- device->PumpEvents = PS5_PumpEvents;
device->CreateSDLWindow = PS5_CreateWindow;
device->DestroyWindow = PS5_DestroyWindow;
device->CreateWindowFramebuffer = PS5_CreateWindowFramebuffer;
device->UpdateWindowFramebuffer = PS5_UpdateWindowFramebuffer;
device->DestroyWindowFramebuffer = PS5_DestroyWindowFramebuffer;
- device->HasScreenKeyboardSupport = PS5_HasScreenKeyboardSupport;
- device->ShowScreenKeyboard = PS5_ShowScreenKeyboard;
- device->HideScreenKeyboard = PS5_HideScreenKeyboard;
- device->IsScreenKeyboardShown = PS5_IsScreenKeyboardShown;
device->free = PS5_DestroyDevice;
#ifdef SDL_VIDEO_OPENGL_OSMESA