[AD] [ alleg-Bugs-2824081 ] Keyboard repeat events not generated under Linux |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: noreply@xxxxxxxxxx
- Subject: [AD] [ alleg-Bugs-2824081 ] Keyboard repeat events not generated under Linux
- From: "SourceForge.net" <noreply@xxxxxxxxxx>
- Date: Fri, 24 Jul 2009 23:47:29 +0000
Bugs item #2824081, was opened at 2009-07-20 00:30
Message generated for change (Comment added) made by siegelord
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=2824081&group_id=5665
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core Library
Group: 4.9
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: SiegeLord (siegelord)
Assigned to: Nobody/Anonymous (nobody)
Summary: Keyboard repeat events not generated under Linux
Initial Comment:
ALLEGRO_EVENT_KEY_REPEAT is never generated for me under Linux when a key is pressed and held down. In ex_keyboard_events just shows alternating pressed/release events.
This is on Ubuntu 9.04. My x.org version is 7.4.
Looking online seems to suggest that this is because of a bug in XkbSetDetectableAutoRepeat, which makes it not work. Irrlicht (an OSS 3D engine) had an issue with this too and fixed it using the patch in this thread: https://sourceforge.net/tracker/index.php?func=detail&aid=2795321&group_id=74339&atid=540676
So, can anyone reproduce this bug? If so, any qualms about implementing a workabout similar to the one I linked to?
----------------------------------------------------------------------
>Comment By: SiegeLord (siegelord)
Date: 2009-07-24 19:47
Message:
I attached a fix that worked for me on my system. I'd appreciate people
testing this to see if it works satisfactorily on systems where this bug
could and couldn't be reproduced.
----------------------------------------------------------------------
Comment By: Peter Wang (tjaden)
Date: 2009-07-20 03:39
Message:
That's exactly the technique we used to use (actually, I thought we were
still using that). I can't reproduce it on this machine, which I think has
x.org 7.1. I don't have any qualms about a workaround, but I remember the
old technique wasn't completely reliable either.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=2824081&group_id=5665