Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create android/DualSense Wireless Controller (Android 12).cfg #1067

Closed
wants to merge 11 commits into from
74 changes: 74 additions & 0 deletions android/DualSense Wireless Controller (Android_12).cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# [This version is disabled by default to prevent conflict with the older version.]
#
# How to use: Unless your phone is rooted, you need to access the autoconfig files
# outside the root file system so you can uncomment the input_vendor* variables,
# in order to enable the controller. To do this:
# * Create the directory /storage/emulated/0/RetroArch/autoconfig/
# * Change the the value in: Settings -> Directory -> "Controller Profiles" from
# /data/user/0/com.retroarch/autoconfig to /storage/emulated/0/RetroArch/autoconfig/
# * Download the controller files: Settings -> Online Updater -> Update Controller Profiles
#
# Successful evaluation of DualSense (Model number. DualSense firmware version) + hardware + OS:
# DualSense (Model number: CFI-ZCT1W A. DualSense firmware version: 0402) + Chromecast with Google TV (HD) (Hardware model number: G454V. OS: Google TV 12 (OS build: STK.230808.004). Kernel version: 5.4.210-android12-9-g88f9012e845a)
#
# Updated controller mapping for Android 12
# Use the older DualSense autoconfig for Android 11
# or earlier.

input_driver = "android"
input_device = "DualSense Wireless Controller"
input_device_display_name = "Sony DualSense (Android 12)"
# input_vendor_id = "1356"
# input_product_id = "3302"

input_b_btn = "96"
input_y_btn = "99"
input_select_btn = "109"
input_start_btn = "108"
input_up_btn = "h0up"
input_down_btn = "h0down"
input_left_btn = "h0left"
input_right_btn = "h0right"
input_a_btn = "97"
input_x_btn = "100"
input_l_btn = "102"
input_r_btn = "103"
input_l2_btn = "104"
input_r2_btn = "105"
input_l3_btn = "106"
input_r3_btn = "107"
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 = "110"

input_b_btn_label = "Cross"
input_y_btn_label = "Square"
input_select_btn_label = "Create"
input_start_btn_label = "Options"
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 = "Circle"
input_x_btn_label = "Triangle"
input_l_btn_label = "L1"
input_r_btn_label = "R1"
input_l2_btn_label = "L2"
input_r2_btn_label = "R2"
input_l3_btn_label = "L3"
input_r3_btn_label = "R3"
input_l_x_plus_axis_label = "Left Analog X+ (right)"
input_l_x_minus_axis_label = "Left Analog X- (left)"
input_l_y_plus_axis_label = "Left Analog Y+ (down)"
input_l_y_minus_axis_label = "Left Analog Y- (up)"
input_r_x_plus_axis_label = "Right Analog X+ (right)"
input_r_x_minus_axis_label = "Right Analog X- (left)"
input_r_y_plus_axis_label = "Right Analog Y+ (down)"
input_r_y_minus_axis_label = "Right Analog Y- (up)"
input_menu_toggle_btn_label = "PS"