They are key presses, are you looking for the actual codes?arrrgh posted on May 16 2009 at 07:33 AM said:Just a quick question, how are the shoulder buttons and ABXY buttons recognised as in SDL?
All of the buttons are detected as keyboard presses.Dimacus posted on May 16 2009 at 09:57 AM said:I'm guessing that he is asking if they are keyboard or joystick key preses.
Now that I think about it, how do you get the values from the analog controls, are they separate joysticks?
This is what I meant in the first place, sorry for not being clear enough.PokeParadox posted on May 16 2009 at 11:36 PM) It would be nice if someone that knows could report the SDL_Keys used for each button (obviously not the keyboard. said:. I'm still unsure of this myself.
the event was triggered, just the sym was 0, which is unknown key, sounds like an SDL issuearrrgh posted on May 16 2009 at 10:37 AM said::huh: Perhaps it's not seeing them as keypresses? Maybe it's seen as a joystick button or something.
http://pandorawiki.org/Kernel_interfaceJayFoxRox posted on May 16 2009 at 11:47 AM said:Could you still tell us how to use them directly?
Just a little off topic, but maybe this is what is causing the arithmetic error in PPanic! ?Pickle posted on May 16 2009 at 03:35 PM said:hmm, i just tried them and Event.key.keysym.sym is always 0
the float exception? if so not sure yetPokeParadox posted on May 16 2009 at 12:01 PM said:Just a little off topic, but maybe this is what is causing the arithmetic error in PPanic! ?Pickle posted on May 16 2009 at 03:35 PM said:hmm, i just tried them and Event.key.keysym.sym is always 0
q1 ans q2 are using code I wrote that looks at kernel interface, q3 uses X for input, which probably uses the kernel correctly tooarrrgh posted on May 16 2009 at 08:51 PM said:If the keys in SDL aren't working, how was the version of Quake that Craig was playing receive input? Was it using the kernel interface?