[QUOTE=rsn8887;25326]Thank you. I tried this route on my Nvidia shield with OTG cable and controller connected.
- My controller DPAD and right analog stick cannot be bound (no reaction, it acts as if I am not pressing anything).
- I know the controller DPAD data and right analog stick are submitted as POV hat data and rx/ry axes. That is how it shows up under Windows.
- Maybe I should try “HID” Driver? Can I switch drivers from within Retroarch between Android and HID?
- I have full control over how the controller is submitting data, so I could fix things on the controller side, too. I suspect android detects the controller, does some internal remapping, and decides to ignore the POV hat and the rx/ry axes for some reason.
- This is a minor problem: When I saved the autoconfig, the device name and file name was still “Nvidia Corp…” instead of Mojo Retropad Adapter Mod. However in Retroarch, the device name showed up correctly after bind all.[/QUOTE]
Yes, you can change the drivers from Android to HID, which would help you in this case, I think, I have a Bluetooth controller and I would assume it needs to be HID as well.
Edit: Using the Key Test app on my phone and my Classic Controller, I came up with the right key IDs for the corresponding buttons and made a new auto_config file. Just to be sure, I change the location for that on the Nexus 7 and have it load it up?
I want to be sure that I got this correctly, so here’s what I did with Notepad++
input_device = "Wii Classic Controller"
input_driver = "hid"
input_b_btn = "34"
input_y_btn = "33"
input_select_btn = "41"
input_start_btn = "44"
input_up_btn = "10"
input_down_btn = "11"
input_left_btn = "12"
input_right_btn = "13"
input_a_btn = "35"
input_x_btn = "30"
input_l_btn = "31"
input_r_btn = "54"
input_l2_axis = "+6"
input_r2_axis = "+7"
input_l2_btn = "71"
input_r2_btn = "72"
input_l_x_plus_axis = "+0"
input_l_x_minus_axis = "-0"
input_l_y_plus_axis = "+1"
input_l_y_minus_axis = "-1"
input_r_x_plus_axis = "+2"
input_r_x_minus_axis = "-2"
input_r_y_plus_axis = "+3"
input_r_y_minus_axis = "-3"
input_menu_toggle_btn = "82"
input_b_btn_label = "A"
input_y_btn_label = "X"
input_select_btn_label = "Back"
input_start_btn_label = "Start"
input_up_btn_label = "D-Pad Up"
input_down_btn_label = "D-Pad Down"
input_left_btn_label = "D-Pad Left"
input_right_btn_label = "D-Pad Right"
input_a_btn_label = "B"
input_x_btn_label = "Y"
input_l_btn_label = "LB"
input_r_btn_label = "RB"
input_l2_axis_label = "LT"
input_r2_axis_label = "RT"
input_l3_btn_label = "Left Thumb"
input_r3_btn_label = "Right Thumb"
input_l_x_plus_axis_label = "Left Analog X+"
input_l_x_minus_axis_label = "Left Analog X-"
input_l_y_plus_axis_label = "Left Analog Y+"
input_l_y_minus_axis_label = "Left Analog Y-"
input_r_x_plus_axis_label = "Right Analog X+"
input_r_x_minus_axis_label = "Right Analog X-"
input_r_y_plus_axis_label = "Right Analog Y+"
input_r_y_minus_axis_label = "Right Analog Y-"
input_menu_toggle_btn_label = "Guide"
The key labels are unchanged as I used the Xbox 360 controller template to go off of, I’m not entirely sure if I need to change those or what, or if’d be too risky, I don’t know. Do I need to change it back to Android or HID? And is the controller name correct?