Re: [Atari800-users] Atari800-users Digest, Vol 126, Issue 5
Brought to you by:
joy
From: Steve B. <st...@at...> - 2024-05-12 00:54:45
|
This has made the lag completely go away and has fixed the caps lock issue! Apple are catching the keypresses and trying to action them as well, I get this when I put caps on.  And I get this is I hold down key repeat (this is holding down O ,  The caps thing happened before the fix, the repeat thing is new. I don’t care about either, it's just interesting to note. Thanks for the fix! > On May 11, 2024, at 4:01 PM, Miro Kropáček <mir...@gm...> wrote: > > Steve, Bill, Chris: if you can compile atari800 by yourself, please pull the latest commit and try it out. It should fix the input lag for good. > > Chris was right, the breaking change appeared in 4.0.0, ironically it was caused by this commit: https://github.com/atari800/atari800/commit/dbf343b174bc2d28dec1f3d5cfbe4032a3bcbcfe which was supposed to fix ... keyboard input lag. > > If I understand the intention / code of that commit properly, mouse/joystick movement generated more SDL events, we took only the first one, threw it away and waited for the next frame (which could again just process a non-keyboard event). But the fix was wrong, it just looped over all events and noticed only the last pressed key. That explains the missing keys, you basically pressed two keys within one frame and the first one was thrown away. > > So that should be fixed now, thanks for reporting it. > > Steve: about the CAPSLOCK issue I have no clue, it works on Linux and Atari Falcon at least. I have reopened https://github.com/atari800/atari800/issues/177 and ask the original reporter to confirm whether it is fixed on his side or not. > > On Sat, 11 May 2024 at 16:02, Steve Boswell <st...@at... <mailto:st...@at...>> wrote: >> I’m on v5.2.0 installed via homebrew, I’ve got sdl12-compat installed, again via homebrew and everything is up to date, I did an update/upgrade this morning just to make sure. >> >> The skipping seems to be somehow tied to the keyclick sound, I know this is anecdotal but it seems to be skipping if I’m typing too fast for the sound to play, with the sound turned down it doesn’t seem so bad even though the sound is still playing, I just can’t hear it. >> >> I was typing in a listing from Atari User magazine a few days ago (with the sound up) and it was pretty OK, I had to edit the listing with a hex editor to get the few lower case characters correct due to the caps thing, but there were almost no other errors in the listing when I ran the checksum routine. The few that there were, were all due to missed characters and the few lines I had to retype as I was typing were also missed characters. That could be me, I am a part of the feedback loop after all, and I wonder if the sound was making it feel like something wasn’t going right and that was spoiling my rhythm so I would stumble. >> >> There is _something_ going on though, I tried to do the same thing in Altirra and I didn’t have the same issues. >> >> On the caps thing, I even plugged a PC keyboard in to make sure it wasn’t just the Mac keyboard and I still couldn’t get it to type lower case at all. >> >> >>> On May 11, 2024, at 3:25 AM, Miro Kropáček <mir...@gm... <mailto:mir...@gm...>> wrote: >>> >>> On Sat, 11 May 2024 at 01:41, Steve Boswell <st...@at... <mailto:st...@at...>> wrote: >>>> I also notice skipped keypresses. >>> Ok, that should give me something to look into, perhaps worth delaying the release (which has already been delayed anyway ;-)). >>> >>>> While we are discussing keyboards I have also noticed that on Mac the caps lock key doesn’t appear to do anything at all >>> Oh. There was an issue reported with CONTROL and CAPSLOCK keys: https://github.com/atari800/atari800/issues/177 and fixed afterwards: https://github.com/atari800/atari800/pull/205 and it was reported, tested and fixed on Mac. Do you have the latest Atari800 release? >>> >>> There is one *slight* possibility that the problem is caused by the same issue I had on Atari Falcon -- where I still use the original SDL 1.2 library and not SDL12-compact wrapper. If you are using the latest release, can you check whether you have libsdl12 in your system or libsdl12-compat installed? >>> >>> -- >>> http://mikro.atari.org <http://mikro.atari.org/> >>> >>> _______________________________________________ >>> Atari800-users mailing list >>> Ata...@li... <mailto:Ata...@li...> >>> https://lists.sourceforge.net/lists/listinfo/atari800-users >> >> >> >> _______________________________________________ >> Atari800-users mailing list >> Ata...@li... <mailto:Ata...@li...> >> https://lists.sourceforge.net/lists/listinfo/atari800-users > > > -- > http://mikro.atari.org <http://mikro.atari.org/> > > _______________________________________________ > Atari800-users mailing list > Ata...@li... > https://lists.sourceforge.net/lists/listinfo/atari800-users |