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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Controllers v
« Previous 1 ... 30 31 32 33 34 ... 319 Next »

Is it possible to remap D-PAD for sideway mode only?
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Is it possible to remap D-PAD for sideway mode only?
05-24-2020, 05:20 AM
#1
MAD_SLAV
Unregistered
 
Hi,

I'm trying to configure right joy-con as emulated wiimote but have a problem when controller switches to sideway mode its like wiimote would rotate with the d-pad to the left side and as right joy-con have analog stick on the bottom I would prefer to have it rotate to the right side with SL SR buttons facing up.

Is it possible to change wiimote rotate side in sideways mode to the right or somehow remap D-PAD in sideways mode only?

Thanks
Reply
05-24-2020, 06:35 AM
#2
ExtremeDude2 Online
Gotta post fast
*******
Posts: 9,306
Threads: 273
Joined: Dec 2010
Do you have sideways wiimote set in dolphin?
Check out my videos (dead)
[Image: sig-22354.png]
Website Find
Reply
05-24-2020, 10:11 PM
#3
MAD_SLAV
Unregistered
 
Sorry I've probably confused you with buttons description by shoulder buttons I meant SL SR on the joy con facing up.
So what I'm trying to achive is being able to automatically switch in game from upright wiimote to sideways wiimote to the right side. Like for ex. in mario party from upright wiimote when using it as pointer to sideways wiimote to the right in mini games that are using sideways mode.

So on joy-con it would look like that
from upright
https://imgur.com/g1c8fVk

to the sideways to the right
https://imgur.com/FPH9kqk

Hope that clarifies it.
Reply
05-26-2020, 12:23 PM
#4
Rusty Potato Offline
Junior Member
**
Posts: 34
Threads: 1
Joined: Feb 2019
(05-24-2020, 10:11 PM)MAD_SLAV Wrote: Sorry I've probably confused you with buttons description by shoulder buttons I meant SL SR on the joy con facing up.
So what I'm trying to achive is being able to automatically switch in game from upright wiimote to sideways wiimote to the right side. Like for ex. in mario party from upright wiimote when using it as pointer to sideways wiimote to the right in mini games that are using sideways mode.

So on joy-con it would look like that
from upright
https://imgur.com/g1c8fVk

to the sideways to the right
https://imgur.com/FPH9kqk

Hope that clarifies it.

From what I can tell, I think that Dolphin's toggle() and if() functions are probably your best bet. I don't know how you're binding Joy-Con buttons, so just assume that the below inputs are stand-ins for whatever your inputs are.

Basically, using something similar to what I've listed below, you can toggle between a sideways and upright mode by (for example) pressing SL:
if( toggle(`SL`), `Sideways Input`, `Upright Input` )

In your case, since you probably just need to rotate the control stick inputs, so just flipping the control stick inputs after the toggle should do the trick. For example:
if( toggle(`SL`), `Axis Y+`, `Axis Y-` )

Hopefully this is what you need.
Find
Reply
05-27-2020, 01:38 AM
#5
MAD_SLAV
Unregistered
 
Thanks for showing the way how to play around with that Big Grin by modifying your method I've managed to set it up to automatically rotate/remap d-pad without toggling in/out by button Smile.
Never thought that I will learn things like that playing mario lol.

If anyone would look for solution, after setting up wiimote d-pad buttons right click mouse on each button and after your regular button/axis name add

,if(`Sideways Wiimote = True`,`your regular button/axis `,`your reversed button/axis`)

so in my ex. function looks like that

`Right Y+`,if(`Sideways Wiimote = True`,`Right Y+`,`Right Y-`)

Thanks once more : )

EDIT:

It didn't work as i thought after all lol, it did remap axis but on both upright and sideways mode.
Still your function with remaping by toggle works

'your regular button/axis',if(toggle(`your toggle button`),`your regular button/axis`,`your reversed button/axis`)

However if anyone would know how to setup that function to automatically remap when game switches from upright to sideways mode please share.
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