Pandora Pandora Sdl Joystick Button Mappings


Pickle

Mega GP Mania
Joined
May 30, 2006
Messages
5,518
Location
Detroit, Michigan
Website
Visit site
Code:
    0 PND_RIGHTBUTTON
    1 PND_LOWBUTTON
    2 PND_TOPBUTTON
    3 PND_LEFTBUTTON
    4 PND_L
    5 PND_R
    6 PND_L2 (not supported)
    7 PND_R2 (not supported)
    8 PND_SELECT
    9 PND_START
    10 PND_PANDORA

Dpad is generates the keyboard SDL key defines, as do all the other keys.
 
The game buttons should be PND_TOPBUTTON, PND_LEFTBUTTON, PND_RIGHTBUTTON and PND_LOWBUTTON as people plan to move the ABXY around.
 
Pickle said:
Code:
    0 PND_RIGHTBUTTON
    1 PND_LOWBUTTON
    2 PND_TOPBUTTON
    3 PND_LEFTBUTTON
    4 PND_L
    5 PND_R
    6 PND_L2 (not supported)
    7 PND_R2 (not supported)
    8 PND_SELECT
    9 PND_START
    10 PND_PANDORA

Dpad is generates the keyboard SDL key defines, as do all the other keys.
No longer true on the latest firmware, changed because ABXY keycodes were removed. Dpad simulates 2 axis, as various gamepads do, so you can read it over joydev too. Current order is:

TOP, RIGHT, BOTTOM, LEFT, SELECT, START, PANDORA, L, R, L2, R2, HOLD
 
Last edited by a moderator:
notaz said:
Pickle said:
Code:
     0 PND_RIGHTBUTTON
     1 PND_LOWBUTTON
     2 PND_TOPBUTTON
     3 PND_LEFTBUTTON
     4 PND_L
     5 PND_R
     6 PND_L2 (not supported)
     7 PND_R2 (not supported)
     8 PND_SELECT
     9 PND_START
     10 PND_PANDORA

Dpad is generates the keyboard SDL key defines, as do all the other keys.
No longer true on the latest firmware, changed because ABXY keycodes were removed. Dpad simulates 2 axis, as various gamepads do, so you can read it over joydev too. Current order is:

TOP, RIGHT, BOTTOM, LEFT, SELECT, START, PANDORA, L, R, L2, R2, HOLD

What is hold?
 
Last edited by a moderator:
I wish we had actually labeled the buttons like that on the unit, much easier to know which to press then without looking and no possible issues with using ABXY.

Ah well. MK2?
 
Pickle said:
notaz said:
Pickle said:
Code:
     0 PND_RIGHTBUTTON
     1 PND_LOWBUTTON
     2 PND_TOPBUTTON
     3 PND_LEFTBUTTON
     4 PND_L
     5 PND_R
     6 PND_L2 (not supported)
     7 PND_R2 (not supported)
     8 PND_SELECT
     9 PND_START
     10 PND_PANDORA

Dpad is generates the keyboard SDL key defines, as do all the other keys.
No longer true on the latest firmware, changed because ABXY keycodes were removed. Dpad simulates 2 axis, as various gamepads do, so you can read it over joydev too. Current order is:

TOP, RIGHT, BOTTOM, LEFT, SELECT, START, PANDORA, L, R, L2, R2, HOLD

What is hold?

It's part of the 3 way power switch ;) Hold - On - Off

Craig, are you checking out the Musical Strings thread? You need to if you haven't yet! ;)
 
Last edited by a moderator:
notaz said:
Pickle said:
Code:
     0 PND_RIGHTBUTTON
     1 PND_LOWBUTTON
     2 PND_TOPBUTTON
     3 PND_LEFTBUTTON
     4 PND_L
     5 PND_R
     6 PND_L2 (not supported)
     7 PND_R2 (not supported)
     8 PND_SELECT
     9 PND_START
     10 PND_PANDORA

Dpad is generates the keyboard SDL key defines, as do all the other keys.
No longer true on the latest firmware, changed because ABXY keycodes were removed. Dpad simulates 2 axis, as various gamepads do, so you can read it over joydev too. Current order is:

TOP, RIGHT, BOTTOM, LEFT, SELECT, START, PANDORA, L, R, L2, R2, HOLD
Does the Dpad still double up as the cursor keys?
Are these button numbers going to stay like this now?
 
Last edited by a moderator:
PokeParadox said:
Does the Dpad still double up as the cursor keys?
yes, and game buttons also trigger as keypad 1-4, select/start as ctrl/alt, L/R as additional mouse buttons (not sure about those 2, DjWillis is doing keymap for them).

PokeParadox said:
Are these button numbers going to stay like this now?
I hope so, we'll obviously freeze those after release.
 
Last edited by a moderator:
Back
Top