[SDL] Keys LEFT UP and SPACE
Micah Brening
micah.brening at gmail.com
Tue Oct 30 14:55:00 PDT 2007
Hello all,
I've been running into an annoying "bug". In most of my projects/experiments
I commonly use the arrow keys for movement, and the space bar for action.
They all work seperately, but with the combination of Up, Left, and Space; it
will drop one or the other depending on which is pressed last, usually space.
I've tried two different ways of accessing the keys (pumpkeys+getkeystate and
pollevents+event.key.keysym.sym)
But other combinations (eg. (Up,Right,Space),(Up,Left,s)) do work. This is
consistant on Windows 2000, XPpro, Vista Ultimate. I believe it did the same
on Linux (debian, gentoo, ubuntu) but I'd have to double check on that.
Is there a reason for this?
I have no problem using a different button other than space since other keys
will work with the UP+LEFT combination. But it is an annoyance and I just
simply want to know why it is.
Anyone else have this problem?
Anyone have a solution for it?
Is it system based? Or is it SDL based?
Thanks!
Micah
More information about the SDL
mailing list