Re: Bypass events and get the physical keyboard state directly
Pekka Paalanen <[email protected]>
| Newsgroups | gmane.linux.xdg.devel |
|---|---|
| Message-ID | <20170221095936.7284252e@eldfell> |
On Tue, 21 Feb 2017 12:19:27 +1300 Bryan Baldwin <[email protected]> wrote: > Yup, the encryption was an automagickal client mistake. > > And I understand all your points, and don't disagree with the > security model. I just don't think that the people and the software > that are assuming responsibility for system security should be. I'm > not afraid to go and look, then tear it up and write my own thing if > its a good use of time. I think its going to be a very good use of > time these days ;) > > For posterity, the input problem I had is a bug in SDL2. Pressing and > holding down a key was not producing events with the repeat flag set. > It produced pairs of keydown & pressed - keyup & released events > without the repeat flag set. These events continued to be send long > after the key was physically released. It is an untenable expectation > for the application to track key state with garbage input. > > This is a known SDL2 bug affecting at least verisons 2.0.4 > https://bugzilla.libsdl.org/show_bug.cgi?id=3472 and 2.0.5. > > There is a patch I've tested locally on my own system, and it works. > https://bugzilla-attachments.libsdl.org/attachment.cgi?id=2594 Hi Bryan, I am glad you found the culprit and told us what it is. I would have never guessed it to be an SDL bug caused by such subtle interactions. Happy hacking! Thanks, pq _______________________________________________ xdg mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/xdg
signature.asc
(application/pgp-signature, 801 B)
-----BEGIN PGP SIGNATURE----- iQIcBAEBCAAGBQJYq/NoAAoJECNf5bQRqqqnVvAP/0Rgdkl7kAEPnudrYGNGScz7 OIwKPkDqK4m8H9pIbSmZ3Am4lBXsg5azDB75O4cLkbm/eHxwpGyJpwFyRbqrF84L qsO6oushb598YSDoLKvP7slFP2pLZpjeXOvCcuRRiZGaJyEApCsSvGlMzpf5dDzn PClePx2Q3jBeUe1UT2N0pcGOOHujoS4dQNkjUaLBli8FRBcWmJUmDPUoEoVyVbEF N+tpr1/BZ3hU4BK1zDnKpfLM5okFezgJbAp06VvQ5KDNpvrHY+nzykVyYhoWU7J7 2OHrTXKcQ0Oex2w+hJWaQ6B4OODzW2QJ6EZIiilZJK4kwUnSfTqHS5WfZK2G5hod e4mPWEMikLKPFJmR/IhO4eJ73eH43HAKmsoEugebCGpw3s+2i7plcWSgorK5Rhi+ m5iUrLPnCku6FqYZVd+ULuYd+WC9ouKA7XAJQqqCDQqyQPffa2/VT7tGnTRtD3Th K3ScENZZsqteGK2IHJ3MWU1WUDAZrjk2+NmbZXuIDMCKayPELH0izA8to2uVZDIK NKkF/ybi6FzZJ4ULztigc6qfl0NY5yK06yrhNiGnDBcMPVxgBSZ4l9a1zB367nwN NVw2nOwGz9A8iBwhE8KEHNmuBgqj8tjY5fdFkmqf/OMJIrKR55PUwwiWGflF1Rgv 6UWfJEANQg4n0Tves11T =cZOi -----END PGP SIGNATURE-----