• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Android v
« Previous 1 ... 5 6 7 8 9 ... 126 Next »

Advanced controller mapping
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Advanced controller mapping
11-12-2021, 04:51 PM
#1
ssmith Offline
Junior Member
**
Posts: 12
Threads: 2
Joined: Feb 2019
I'm trying to do some advanced controller mapping, beyond what's supported in the GUI. I'm trying to make it so when you hold down a certain button, the main joystick will instead control the c-stick.

The problem is, when I go into the ini files and change them, nothing happens. I can go into the GUI and change something and the ini file updates with the change, but any changes I make don't do anything. It's as if dolphin is loading the game settings from somewhere else, but still updating the ini files with what's changed in the GUI.

Does anyone have any direction on this, or know what might be causing it?
Find
Reply
11-12-2021, 11:39 PM (This post was last modified: 11-12-2021, 11:41 PM by MayImilae.)
#2
MayImilae Offline
Chronically Distracted
**********
Administrators
Posts: 4,576
Threads: 119
Joined: Mar 2011
You don't need the INI files for that, you can set that up in the GUI. It's really easy in fact. Just make sure you are using the latest dev build.

So just set up the C-Stick as normal, so I'm assuming you have it set to the right stick. Then for the first direction (let's say UP), right click it and go into the advanced controls. There, add |OR, select your control button, then use AND and add your Left Stick UP. So to trigger up on the C-Stick, you can press up on the Right Stick, or hold the button and press up on the left stick.

There might be a little bit of weirdness with making sure the emulated control stick isn't also picking up the stick movements, but I don't have the time to sort that out for you atm. This Progress Report is a mean one. Hopefully someone else can pitch in if you encounter this. Otherwise I'll help in a few days.

EDIT: Oh. oh. Android. Well you can set this up on a desktop and pass the INI over. But if you want to do this entirely on your phone then things are going to be harder.
[Image: RPvlSEt.png]
AMD Threadripper Pro 5975WX PBO+200 | Asrock WRX80 Creator | NVIDIA GeForce RTX 4090 FE | 64GB DDR4-3600 Octo-Channel | Windows 11 22H2
MacBook Pro 14in | M1 Max (32 GPU Cores) | 64GB LPDDR5 6400 | macOS 12
Find
Reply
11-13-2021, 12:00 AM (This post was last modified: 11-13-2021, 12:00 AM by JosJuice.)
#3
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 8,849
Threads: 7
Joined: Oct 2014
(11-12-2021, 11:39 PM)MayImilae Wrote: EDIT: Oh. oh. Android. Well you can set this up on a desktop and pass the INI over. But if you want to do this entirely on your phone then things are going to be harder.

No, I'm afraid you can't. The controller system on Android is completely bonkers compared to on PC, and this kind of use is not officially supported.
Find
Reply
11-13-2021, 01:38 AM
#4
MayImilae Offline
Chronically Distracted
**********
Administrators
Posts: 4,576
Threads: 119
Joined: Mar 2011
Ah, thanks. Oh well then.
[Image: RPvlSEt.png]
AMD Threadripper Pro 5975WX PBO+200 | Asrock WRX80 Creator | NVIDIA GeForce RTX 4090 FE | 64GB DDR4-3600 Octo-Channel | Windows 11 22H2
MacBook Pro 14in | M1 Max (32 GPU Cores) | 64GB LPDDR5 6400 | macOS 12
Find
Reply
11-13-2021, 06:58 AM
#5
ssmith Offline
Junior Member
**
Posts: 12
Threads: 2
Joined: Feb 2019
So just to confirm, if you create it on desktop and then pass it over, it should work? The controller syntax isn't different?
Find
Reply
11-13-2021, 07:04 AM
#6
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 8,849
Threads: 7
Joined: Oct 2014
(11-13-2021, 06:58 AM)ssmith Wrote: So just to confirm, if you create it on desktop and then pass it over, it should work? The controller syntax isn't different?

Technically the syntax is the same, but Android has an extra layer of indirection and an extra second way of storing controller mappings that PC doesn't have. Simply copying over settings from the PC version of Dolphin won't work.
Find
Reply
01-19-2022, 06:20 AM
#7
ssmith Offline
Junior Member
**
Posts: 12
Threads: 2
Joined: Feb 2019
Hmm, does that mean there's no way to do advanced mappings on Android at the moment?
Find
Reply
01-19-2022, 06:27 AM
#8
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 8,849
Threads: 7
Joined: Oct 2014
There's no reasonable way to do advanced mappings on Android, at least. If you dig around enough you might find a horrible mess that technically can be tricked into doing things it was never supposed to do, but it's such a mess that I don't want to try to describe how to do it.

Hopefully it won't take too long until I've made some more progress on rewriting the controller code we use on Android...
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode