Configuring an odd controller with non-zero default DPAD values

Hey guys,

I have a Retro-Bit adapter (came with an NES controller I bought off eBay). I’ve seen this one online quite a bit so I think it would be useful to commit a .cfg file for it. Especially since it’s so cheap. I looked at other configs but couldn’t find anything like this that was done before.

According to the fantastic HTML5 controller debugger I have these values:

(Start, Select, A, B, turbo are normal/binary values) No input from DPAD: axis0 = -1, axis1 = 1 DPAD UP: axis0 = -1, axis1 = -1 DPAD DOWN: axis0 = 0, axis1 = 1 DPAD LEFT: axis0 = -2, axis1 = 0 DPAD RIGHT: axis0 = 1, axis1 = 1

Here’s the current cfg file which obviously misreads DPAD input.

#1292:4643 Innomedia

input_driver = "udev"
input_device = "INNEX NES Controller USB"
input_vendor_id = "4754"
input_product_id = "17987"
input_b_btn = "1"
input_select_btn = "2"
input_start_btn = "3"
input_up_axis = "-1"
input_down_btn = "1"
input_left_axis = "+0"
input_right_axis = "-0"
input_a_btn = "0"

I’d prefer to work within the default driver if possible.