View Single Post
Old 26 May 2014, 17:38   #10
Computer Nerd

Thorham's Avatar
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 43
Posts: 3,088
Originally Posted by Mrs Beanbag View Post
Indeed! Although better still to use this as output to drive a multiplexer, and get double the number of inputs, like the Megadrive does.
That's a good idea. The simplest thing you can do is to use the third button pin to double the other two:

- Button 1 = button 1.
- Button 2 = button 2.
- Button 1 + button 3 = button 3.
- Button 2 + button 3 = button 4.

Should be VERY simple to do. You can also make other combinations. If you combine all buttons, you can have seven buttons.

This method has the obvious drawback of the buttons not working at the same time.

Originally Posted by Mrs Beanbag View Post
I've also pondered the possibility of more buttons to generate "impossible" combinations such as UP+DOWN.
Certainly possible, but will interfere with normal movement, because that up+down button won't work properly with up or down movement.
Thorham is offline  
Page generated in 0.04580 seconds with 11 queries