| Main > Main Forum |
| A newbie question |
| (1/2) > >> |
| diego313:
Hi all, Could someone explain me how to map the keyboard (hacked) to the controls. I mean , I'm planning to have 2 joysticks and six button per joystick so basically I want the mapping that I've to do , something like Joystick 1 -UP Movement -> Up Arrow Joystick 1 -Diagonal up-right movement -> ??? and so on. Thansk all! |
| Zathras:
Diagonals are a combination of keypresses so pressing up and right = up right diagonal. |
| diego313:
that means that I've to wire both key to the same contact in the joystick? |
| Mugzilla:
--- Quote from: diego313 on March 23, 2004, 03:47:17 pm ---that means that I've to wire both key to the same contact in the joystick? --- End quote --- No, when you push up on a j-stick, it closes the UP contact. When you push right on a j-stick, it closes the RIGHT contact. when you push UP AND RIGHT on a j-stick, it closes the UP and RIGHT contact. |
| Stingray:
Or to put it another way, an eight-way stick only has four switches. Diagonals are when two switches are pressed at once. -S |
| Navigation |
| Message Index |
| Next page |