From bfc2234658606e333f1c5e7888a0dfb93dfbf6d9 Mon Sep 17 00:00:00 2001 From: BeyBladey <77808151+BeyBladey@users.noreply.github.com> Date: Sun, 30 Apr 2023 07:50:43 -0300 Subject: [PATCH] RedragonSaturn config (#45) * Create RedragonSaturn Greetings, this is just my config for a popular brand (Argentina) that makes joysticks, this one is for "Saturn". Couldn't test it properly (for some reason my Wii U thinks any input from HIDtoVPAD is a Wii Mote), but it works just fine in HIDtoVPAD test. Sorry for my bad english and i hope it saves time to someone. * Update RedragonSaturn --------- Co-authored-by: Maschell --- RedragonSaturn | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 RedragonSaturn diff --git a/RedragonSaturn b/RedragonSaturn new file mode 100644 index 0000000..f1a445c --- /dev/null +++ b/RedragonSaturn @@ -0,0 +1,43 @@ +[vid=0x2563,pid=0x0973] +//Redragon Saturn config + +//Right side buttons +VPAD_BUTTON_A =0x00,0x04 +VPAD_BUTTON_B =0x00,0x02 +VPAD_BUTTON_X =0x00,0x08 +VPAD_BUTTON_Y =0x00,0x01 +VPAD_BUTTON_PLUS =0x01,0x02 +VPAD_BUTTON_MINUS =0x01,0x01 + +//Front buttons +VPAD_BUTTON_L =0x00,0x10 +VPAD_BUTTON_ZL =0x00,0x40 +VPAD_BUTTON_R =0x00,0x20 +VPAD_BUTTON_ZR =0x00,0x80 + +//Left side buttons +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_DPAD_Neutral =0x02,0x0F + +//Analogs +VPAD_BUTTON_STICK_L =0x01,0x04 +VPAD_BUTTON_STICK_R =0x01,0x08 +VPad_R_Stick_X =0x05,0x80 +VPad_R_Stick_Y =0x06,0x80 +VPad_L_Stick_X =0x03,0x80 +VPad_L_Stick_Y =0x04,0x80 +VPad_L_Stick_X_MinMax =0x00,0xFF +VPad_L_Stick_Y_MinMax =0x00,0xFF +VPad_R_Stick_X_MinMax =0x00,0xFF +VPad_R_Stick_Y_MinMax =0x00,0xFF +VPad_R_Stick_Y_Invert =true +VPad_L_Stick_Y_Invert =true