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

Conversation

davidhedlund
Copy link
Contributor

@davidhedlund davidhedlund commented Dec 11, 2023

Generated from
* OS: Google TV 12 (it's based on Android 12, see below). Kernel version: 5.4 (Google TV: Settings -> System -> About -> Kernel version)
* RA installed via: Google Play
* Retroarch version: 1.9.12

RetroArch:
* Main Menu -> Information -> System Information -> Frontend Identifier: android [default]
* Main Menu -> Information -> System Information -> Frontend Name: Chromecast HD
* Main Menu -> Information -> System Information -> Frontend OS: Android (v12.0)
* Settings -> Drivers -> Controller -> Controller: android [default]

android/Dual Sense 5.cfg didn't work in Google TV 10. For more info see:
* libretro#940
# 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:
# * Change the the value in: Settings -> Directory -> "Controller Profiles" from
#   /data/user/0/com.retroarch/autoconfig to /storage/emulated/0/RetroArch/
# * Download the controller files: Settings -> Online Updater -> Update Controller Profiles



See libretro/RetroArch#15996 for the discussion
# 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)
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)"
"Settings -> Input -> RetroPad Binds -> Port 1 Controls -> Save Controller Profile" generates input_device = "DualSense Wireless Controller"
@davidhedlund davidhedlund changed the title Create Sony_DualSense_(Android_12).cfg Create DualSense Wireless Controller (Android 12).cfg Jan 15, 2024
…ss Controller (Android_12).cfg

Renamed the file name to match input_device
@davidhedlund davidhedlund changed the title Create DualSense Wireless Controller (Android 12).cfg Create android/DualSense Wireless Controller (Android 12).cfg Jan 17, 2024
@LibretroAdmin
Copy link
Contributor

Hi, how is this PR going? Can it be merged or does something remain to be done?

@davidhedlund
Copy link
Contributor Author

Hi, how is this PR going? Can it be merged or does something remain to be done?

I need to re-evaluate the autoconfig once and for all before we can merge it. It will take no more than 1-2 weeks since I need to reinstall Android on a test device.

@davidhedlund
Copy link
Contributor Author

@RobLoach
Copy link
Member

Feel free to make a new one when you're ready. Drafts that stay dormant are a distraction.

Copy link
Contributor Author

@davidhedlund davidhedlund left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ready

@davidhedlund
Copy link
Contributor Author

davidhedlund commented Jun 10, 2024

But should we change the file name from "DualSense Wireless Controller (Android 12).cfg" to "DualSense Wireless Controller (Chromecast HD).cfg" ?

It's a complicated to know precisely which android versions and android kernel version that are compatible (see #1087). Sometimes an autoconfig may:

  • work with android 11
  • not work with android 12
  • work with android 13

This autoconfig is maintained to work for Chromecast HD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants