I think uqlx supports paste as emulated key presses. I really don't know what sqlux should do with a paste event.tofro wrote: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.
My "from PACKAGE import *" (Python) simulation project (reflection)
- XorA
- Site Admin
- Posts: 1667
- Joined: Thu Jun 02, 2011 11:31 am
- Location: Shotts, North Lanarkshire, Scotland, UK
Re: My
Re: My
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.XorA wrote: Tue Jul 15, 2025 9:18 amI think uqlx supports paste as emulated key presses. I really don't know what sqlux should do with a paste event.tofro wrote: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.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.
![]()
ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO