Page 9 of 9

Re: My

Posted: Tue Jul 15, 2025 9:18 am
by XorA
tofro wrote:
RalfR wrote: Tue Jul 15, 2025 8:53 am
XorA wrote: Tue Jul 15, 2025 8:15 amsqlux doesn't have clipboard support.
Ideally, sqLux should support both the Unix/Linux clipboard and the Windows clipboard. I doubt XorA will ever implement this.

:D
I'm not so sure: One of the advantages of having switched to SDL2 ist that there is multi-platform support for the system clipboard and drag&drop. It shouldn't be a monster task to implement this.
I think uqlx supports paste as emulated key presses. I really don't know what sqlux should do with a paste event.

Re: My

Posted: Tue Jul 15, 2025 11:57 am
by tofro
XorA wrote: Tue Jul 15, 2025 9:18 am
tofro wrote:
RalfR wrote: Tue Jul 15, 2025 8:53 am Ideally, sqLux should support both the Unix/Linux clipboard and the Windows clipboard. I doubt XorA will ever implement this.

:D
I'm not so sure: One of the advantages of having switched to SDL2 ist that there is multi-platform support for the system clipboard and drag&drop. It shouldn't be a monster task to implement this.
I think uqlx supports paste as emulated key presses. I really don't know what sqlux should do with a paste event.
Well, the "proper" way to handle paste would probably be to put the stuff pasted into the scratch. But that would assume the scratch Thing is present and active on the QL side, which is probably a bit much asked in terms of insight into the guest - I think, I'd simply just inject the key presses with a bit of appropriate delay in-between. "Copy" (from guest to host) is likely much harder to implement.