Dragonsentinel / nintendon-t

Automatically exported from code.google.com/p/nintendon-t
0 stars 0 forks source link

Controller issue - RaphNet SNES to USB adapter #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. create a controller.ini for the adapter/controller using HIDtest
2. test the created controller.ini in HIDtest or play a game

What is the expected output? What do you see instead?
I want all buttons to work properly.
Instead pressing LEFT on the SNES' DPad acts is if I'd push in all directions 
simultaneously.

What version of the product are you using? On what operating system?
nintendont r86 on vWii (Wii U)

Please provide any additional information below.
The SNES controller uses offsets 0 and 1 for the DPad. If nothing is pressed, 
they're both 08. If you press LEFT or UP, offsets 0 or 1 change to 00. If you 
press RIGHT or DOWN, offsets 0 or 1 change to FF.
Because of this, I put the following lines in my controller.ini:

Left=0,00
Down=1,FF
Right=0,FF
Up=1,00

All directions work just fine, only LEFT is making problems. Even combining 
directions (UP+RIGHT, DOWN+RIGHT) works. But pressing LEFT (thus setting the 
0,00) makes nintendont act as if all directions were pressed.

The full controller.ini is attached.
The adapter has been ordered here (remove the link if inappropriate): 
http://raphnet.com/products/snes_to_usb_cable/index.php

Original issue reported on code.google.com by enting1...@gmail.com on 27 Apr 2014 at 2:55

Attachments:

GoogleCodeExporter commented 8 years ago
Though this a bug in a way, it's also because you didn't read the instructions 
correctly.

If you use DPAD=1 you MUST fill all values:
Left Down Right Up RightUp DownRight DownLeft UpLeft

You left out the last four which then default to 0 and since Left is 0 when you 
press Left "RightUp DownRight DownLeft UpLeft" get triggered hence you get that 
all buttons pressed when pressing Left.

Original comment by urt...@gmail.com on 18 May 2014 at 6:26