diff --git a/miadore wired N64 controller.ini b/miadore wired N64 controller.ini new file mode 100644 index 0000000..7c89e40 --- /dev/null +++ b/miadore wired N64 controller.ini @@ -0,0 +1,38 @@ +#miadore wired N64 controller I got cheap in a bundle with some USB NES controllers +#for some UNHOLY reason, this controller has the same VID and PID as the Horipad Switch. They ARE really similar in terms of inputs, but not the same. If you poor soul find yourself using this cheap controller and having the buttons not work, either delete the Horipad Switch one or copy the code from this into it. +[vid=0x0F0D,pid=0x00C1] + +#dpad +DPAD_MODE = DPAD_HAT +DPAD_MASK = 0x0F +VPAD_BUTTON_DPAD_N = 0x02,0x00 +VPAD_BUTTON_DPAD_NE = 0x02,0x01 +VPAD_BUTTON_DPAD_E = 0x02,0x02 +VPAD_BUTTON_DPAD_SE = 0x02,0x03 +VPAD_BUTTON_DPAD_S = 0x02,0x04 +VPAD_BUTTON_DPAD_SW = 0x02,0x05 +VPAD_BUTTON_DPAD_W = 0x02,0x06 +VPAD_BUTTON_DPAD_NW = 0x02,0x07 +VPAD_BUTTON_DPAD_NEUTRAL = 0x02,0x0F + +#buttons +#they used lower byte of 00 all four times, then the upper byte only three times, the lower byte of 01 twice, and the upper byte of 01 only once. why +#like it's so close zlr are the three and start is the one, just swap A and B with CU and CR like come on. +VPAD_R_STICK_LEFT = 0x00,0x01 +VPAD_BUTTON_B = 0x00,0x02 +VPAD_BUTTON_A = 0x00,0x04 +VPAD_R_STICK_DOWN = 0x00,0x08 +VPAD_BUTTON_L = 0x00,0x10 +VPAD_BUTTON_R = 0x00,0x20 +VPAD_BUTTON_ZL = 0x00,0x40 +VPAD_R_STICK_RIGHT = 0x01,0x01 +VPAD_R_STICK_UP = 0x01,0x02 +VPAD_BUTTON_PLUS = 0x01,0x10 + +#analog +#simple values. hopefully doesn't cause issues for anybody. +VPAD_L_STICK_X = 0x03,0x80 +VPAD_L_STICK_X_MINMAX = 0x00,0xFF +VPAD_L_STICK_Y = 0x04,0x80 +VPAD_L_STICK_Y_MINMAX = 0x00,0xFF +VPAD_L_STICK_Y_INVERT = TRUE diff --git a/miadore wired NES controller.ini b/miadore wired NES controller.ini new file mode 100644 index 0000000..c8dbc67 --- /dev/null +++ b/miadore wired NES controller.ini @@ -0,0 +1,15 @@ +#miadore wired NES controller I got cheap in a bundle with some USB N64 controllers +[vid=0x0079,pid=0x0011] + +#buttons +VPAD_BUTTON_A = 0x05,0x2F +VPAD_BUTTON_B = 0x05,0x4F +VPAD_BUTTON_PLUS = 0x06,0x20 +VPAD_BUTTON_MINUS = 0x06,0x10 + +#dpad +DPAD_MODE = DPAD_NORMAL +VPAD_BUTTON_RIGHT = 0x03,0xFF +VPAD_BUTTON_LEFT = 0x03,0x00 +VPAD_BUTTON_DOWN = 0x04,0xFF +VPAD_BUTTON_UP = 0x04,0x00