|
From: | Björn Victor |
Subject: | Re: sdl2 insert/delete and F14 |
Date: | Tue, 26 Nov 2024 08:00:24 +0100 |
User-agent: | Mozilla Thunderbird |
On 2024-11-25 22:31, Alfred M. Szmidt wrote:
I still use X11. And prefer it slightly over SDL2 (it is faster ...). SDL1 can probobly be flushed, but it helped weed out "backend" issues, so might be worth keeping it because of that ... Sorry I keep asking about this, was there a particular reason for having SDL2 (or SDL1) backend, something missing in x11 and easier to do with SDL ? SDL2 works better on some platforms, X11 works better on others. Not much more to it than that. X11 was the first backend for graphics, BV added SDL1 which I used as a basis for SDL2. SDL (1 and 2) is slightly "wonky" when it comes to keyboard.
SDL works better on macOS. SDL1 and SDL2 are supported on LambdaDelta. SDL also has audio support, which can be used to support the BEEP instruction. SDL also supports scaling easily (which works in usim).
It seems SDL2 is now considered "old and unsupported", so moving to SDL3 would probably make sense.
It seems X11 is being deprecated for Wayland, so building on it doesn't seem like The Future? Also it's "slightly wonky when it comes to keyboard", in my mind. ;-)
I think it would be better to have proper SDL support (but perhaps based on scancodes rather than keycodes, but I'm not sure) without involving X11, and proper X11/Wayland support without involving SDL.
-- Björn
[Prev in Thread] | Current Thread | [Next in Thread] |