Polling order of keys

Asked by Cannon

I have problem with the polling order when using two keys at once. I like to use the joy stick on mt n50 as a state shifter (i.e. push stick down and press button 1 to switch to weapon 1). The problem is the button are read first then the joystick. So if I press down and then button 1 I get the unshifted results for button 1. If I press button 1 then push the joystick down I get the unshifted output immediately followed by the shifted stated.

Is there anyway to change the polling order?

Thanks,
Randy

Question information

Language:
English Edit question
Status:
Solved
For:
Pystromo Edit question
Assignee:
No assignee Edit question
Solved by:
Cannon
Solved:
Last query:
Last reply:
Revision history for this message
Raumkraut (raumkraut) said :
#1

The problem lies not in polling order, but in the implementation of chording.
Alas, I never got chording with absolute (joystick) input fully working - to do so requires significant refactoring of some of the fundamental implementation details of Pystromo.

TBF, the whole thing is about due a rewrite anyway...

Revision history for this message
Cannon (randybancroft) said :
#2

Appreciate the reply. I'll keep looking for your updates.

Thanks,
Randy