djtulan / nunchuk64

A Nintendo (Nunchuk) Controller Adapter for Commodore 64.
GNU General Public License v3.0
54 stars 12 forks source link

Add c64 paddle mode ? #12

Open penfold42 opened 4 years ago

penfold42 commented 4 years ago

Loving the nunchuk but was trying to test the paddle function and I think we need a fifth mode So I can play 2 player pong style games with 2 nunchuk controllers.

Nunchuk1 stick is mapped to c64 port 1 paddle x Nunchuk1 fire is mapped to c64 port 1 left

Nunchuk2 stick is mapped to c64 port 1 paddle y Nunchuk2 fire is mapped to c64 port 1 right

The nunchuk stick would take the maximum of the x and y axes

The port swap function would move all this to c64 port 2

Is this something you can do easily ?

If not, would you accept a pull request ?

djtulan commented 4 years ago

I will think about it. If you like to implement something send me a pull request.

penfold42 commented 4 years ago

I’ve started on it - I’ve got blink3 done and have the max(axes) working.

Now just need to map them and the buttons to a single 64 port