Skip to content

Autoconfig - udev - Nintendo Switch N64 Controller #1265

@damobeanrod

Description

@damobeanrod

Sorry I am unsure how to generate a PR for this... wasn't sure on the branching strategy. Hoping someone can review and merge...
https://github.com/libretro/retroarch-joypad-autoconfig/blob/master/udev/Nintendo%20Switch%20-%20N64%20Controller.cfg

Changes as follow

-  input_b_btn = "1" 
+ input_b_btn = "0" 

-  input_b_btn = "0"
+ input_y_btn = "1"

Input labels also reflected. This may be inaccurate the issue I resolved was for a Nintendo Switch Online N64 Controller using UDEV you must have input_y_btn defined for the "b" button to ever work. You can cross reference the "input_y_btn" existence in SDL for example. Which is what led me to this conclusion.

.config/retroarch/autoconfig/udev/

input_driver = "udev"
input_device = "N64 Controller"
input_vendor_id = "1406"
input_product_id = "8217"

input_device_display_name = "Nintendo Switch N64 Controller"

input_b_btn = "0"
input_select_btn = "5"
input_start_btn = "11"
input_up_btn = "h0up"
input_down_btn = "h0down"
input_left_btn = "h0left"
input_right_btn = "h0right"
input_y_btn = "1"
input_l_btn = "6"
input_r_btn = "7"
input_l2_btn = "8"
input_r2_btn = "9"
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_btn = "2"
input_r_x_minus_btn = "4"
input_r_y_plus_btn = "3"
input_r_y_minus_btn = "10"
input_menu_toggle_btn = "12"

input_b_btn_label = "A"
input_select_btn_label = "Screenshot"
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_y_btn_label = "B"
input_l_btn_label = "L"
input_r_btn_label = "R"
input_l2_btn_label = "Z"
input_r2_btn_label = "ZR"
input_l_x_plus_axis_label = "Joystick X+ (Right)"
input_l_x_minus_axis_label = "Joystick X- (Left)"
input_l_y_plus_axis_label = "Joystick Y+ (Down)"
input_l_y_minus_axis_label = "Joystick Y- (Up)"
input_r_x_plus_btn_label = "C-Right"
input_r_x_minus_btn_label = "C-Left"
input_r_y_plus_btn_label = "C-Down"
input_r_y_minus_btn_label = "C-Up"
input_menu_toggle_btn_label = "Home"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions