Welcome, Guest. Please login or register.

Author Topic: Game supporting multiple buttons  (Read 5067 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Mrs Beanbag

  • Sr. Member
  • ****
  • Join Date: Sep 2011
  • Posts: 455
    • Show all replies
Re: Game supporting multiple buttons
« on: May 09, 2013, 12:53:03 PM »
I still need to get round to making that Megadrive pad adapter... in theory it should be possible to program to use all the buttons if only two wires are swapped round. Not that that will help with existing games, but I hope to be able to take advantage of it in future.
Signature intentionally left blank
 

Offline Mrs Beanbag

  • Sr. Member
  • ****
  • Join Date: Sep 2011
  • Posts: 455
    • Show all replies
Re: Game supporting multiple buttons
« Reply #1 on: May 10, 2013, 12:16:33 PM »
Quote from: matthey;734332
The ADoom manual recommends swapping pins 5 & 7 and putting a 470 ohm resistor between them. Hired Guns and ADoom support 3 buttons then. I recall some emulators did also. None of the buttons map to other CD32 buttons so different code has to be used to read a 3 or 6 button Sega controller than a CD32 controller.
I read elsewhere it's recommended to use diodes as well because the Sega pad pulls lines up to +5V whereas the Amiga only expects connections to ground.

The code is much simpler than reading a CD32 pad, the extra buttons are simply multiplexed. Unlike the CD32 which uses some kind of serial protocol.
Signature intentionally left blank
 

Offline Mrs Beanbag

  • Sr. Member
  • ****
  • Join Date: Sep 2011
  • Posts: 455
    • Show all replies
Re: Game supporting multiple buttons
« Reply #2 on: May 10, 2013, 06:48:30 PM »
Quote from: paul1981;734367
How's Mr Beanbag doing? Has there been any recent updates? :)
I've made it so you can load in special levels from the main menu, and fixed a couple of bugs, but not uploaded anything lately, really should upload something soon.
Signature intentionally left blank