Joystick Behavior (is It Expected?)


Pickle

Mega GP Mania
Joined
May 30, 2006
Messages
5,516
Location
Detroit, Michigan
Website
Visit site
Im seeing in some my ports when i press one key and rotate in order to press another i see the following:
left pressed
upleft pressed
left released

logically I would expect the left released and upleft pressed to be reversed.
Or is it a race condition on which can get set first?
Or is it a problem with the SDL?

I make a fix to get around it, im wondering if anyone else has an experience with this problem.
 

mrsnature

Member
Joined
Jul 22, 2003
Messages
462
Pickle said:
Im seeing in some my ports when i press one key and rotate in order to press another i see the following:
left pressed
upleft pressed
left released

logically I would expect the left released and upleft pressed to be reversed.
Or is it a race condition on which can get set first?
Or is it a problem with the SDL?

I make a fix to get around it, im wondering if anyone else has an experience with this problem.

Thats right, you can press upleft and left at the same time
 
Last edited by a moderator:

Pickle

Mega GP Mania
Joined
May 30, 2006
Messages
5,516
Location
Detroit, Michigan
Website
Visit site
mrsnature said:
Pickle said:
Im seeing in some my ports when i press one key and rotate in order to press another i see the following:
left pressed
upleft pressed
left released

logically I would expect the left released and upleft pressed to be reversed.
Or is it a race condition on which can get set first?
Or is it a problem with the SDL?

I make a fix to get around it, im wondering if anyone else has an experience with this problem.

Thats right, you can press upleft and left at the same time


Thanks, I should of thought it through a little longer. It was early and im half sick... :p
 
Last edited by a moderator:
Top