Homebrew Question Joycon vibration support in homebrew (Can we do that yet?)

DaniPoo

Well-Known Member
OP
Member
Joined
Jan 2, 2013
Messages
926
Trophies
1
Age
35
XP
2,302
Country
Hi, I have been enjoying RetroArch for quite some time now and mostly the Playstation core.
I just realized that Retroarch on PC does support vibration for controllers, How come the Switch version doesn't.
Is it that this feature has not been implemented in LibNX yet? Or is it just that the developers are hard at work doing things that they feel are more important?
 

DaniPoo

Well-Known Member
OP
Member
Joined
Jan 2, 2013
Messages
926
Trophies
1
Age
35
XP
2,302
Country

AdamFX990

Confused Humanoid
Member
Joined
Jan 22, 2017
Messages
238
Trophies
0
Age
29
Location
Santraginus V
XP
359
Country
United Kingdom
Ok, cool, so then I guess it's up to the RetroArch devs to implement it whenever they have time and energy :D
I'm quite surprised its not already in tbh. The only thing with the joycons is that they have two motors rather than one. So perhaps they had trouble getting it to feel right.
 

DaniPoo

Well-Known Member
OP
Member
Joined
Jan 2, 2013
Messages
926
Trophies
1
Age
35
XP
2,302
Country
I'm quite surprised its not already in tbh. The only thing with the joycons is that they have two motors rather than one. So perhaps they had trouble getting it to feel right.

Well the dualshock has two motors as well, but they are different, one is more powerful and vibrates at a lower frequenzy and one vibrates at a higher frequenzy. Im sure the switch vibrators could do something decent enough to simulate those two motors? I don't have too much knowlege about the 3D rumble but it seams pretty versetile.
 

AdamFX990

Confused Humanoid
Member
Joined
Jan 22, 2017
Messages
238
Trophies
0
Age
29
Location
Santraginus V
XP
359
Country
United Kingdom
Well the dualshock has two motors as well, but they are different, one is more powerful and vibrates at a lower frequenzy and one vibrates at a higher frequenzy. Im sure the switch vibrators could do something decent enough to simulate those two motors? I don't have too much knowlege about the 3D rumble but it seams pretty versetile.

You've got two per joycon with variable amplitude and frequency. In a dualshock, its just two servos with two slightly different sized weights on that occilate. You can't control them independently like you can with a joycon.

Put very simply, each joycon has 4 different variables for controlling the rumble. That's a total of 8 between two joycons. The playstation likely has 1 (amplitude), maybe two but I don't think you can control the frequency.

From a developers point of view, you have a few options. You could translate the rumble from the game and apply it to both the joycons at a set frequency. Or you could try to replicate it a bit more accurately by creating adding code that trys to replicate the dualshock feel by manipulating all the motors independently based on the one or two parameters that a dualshock would expect. I'm sure there's many more ways you could think of to implement it.

All that being said, its probably not a very big task in its simplist form. So I imagine that it'll be implemented in some way pretty soon. It may already be in the latest nightly, who knows? :D
 

DaniPoo

Well-Known Member
OP
Member
Joined
Jan 2, 2013
Messages
926
Trophies
1
Age
35
XP
2,302
Country
You've got two per joycon with variable amplitude and frequency. In a dualshock, its just two servos with two slightly different sized weights on that occilate. You can't control them independently like you can with a joycon.

Put very simply, each joycon has 4 different variables for controlling the rumble. That's a total of 8 between two joycons. The playstation likely has 1 (amplitude), maybe two but I don't think you can control the frequency.

From a developers point of view, you have a few options. You could translate the rumble from the game and apply it to both the joycons at a set frequency. Or you could try to replicate it a bit more accurately by creating adding code that trys to replicate the dualshock feel by manipulating all the motors independently based on the one or two parameters that a dualshock would expect. I'm sure there's many more ways you could think of to implement it.

All that being said, its probably not a very big task in its simplist form. So I imagine that it'll be implemented in some way pretty soon. It may already be in the latest nightly, who knows? :D

Hmm, thats pretty interesting. lets hope that a lot of developers will implement this in their projects then.
I like the idea of kinda simulating the two dualshock motors as closely as possible. :)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Veho @ Veho:
    Oh God no :ohnoes:
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Pineapple is the safe word?
  • Psionic Roshambo @ Psionic Roshambo:
    But you said pine apple...
  • Psionic Roshambo @ Psionic Roshambo:
    Ughh gonna be bored today, class for new job has a lot of networking material and I'm certified in that already...
  • Veho @ Veho:
    Peen apple.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    "pine unf apple" doesn't count! Lol
  • Psionic Roshambo @ Psionic Roshambo:
    Employee code of conduct videos are awesome!!! Did you know eating the other employees is bad? I didn't know... Lol
    +1
  • AncientBoi @ AncientBoi:
    Anymore males there? :blush:
  • Psionic Roshambo @ Psionic Roshambo:
    All of us lol
  • Psionic Roshambo @ Psionic Roshambo:
    I got free every channel so that's awesome lol
    +1
  • AncientBoi @ AncientBoi:
    Give me ALL the gay pron channels, since you won't be watching them :blush::D
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Lol they exist?
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Hmmm so Mario Does Luigi's plumbing is a bad movie? Lol
  • Psionic Roshambo @ Psionic Roshambo:
    These videos are soooo dry
  • Psionic Roshambo @ Psionic Roshambo:
    Please click all suspicious links sent your email
  • BigOnYa @ BigOnYa:
    What to do today? Cut grass for 3-4 hours, or just get drunk and play video games... Hmm
  • BigOnYa @ BigOnYa:
    I need a remote controlled mower, so I can sit on the couch and do both.
  • BigOnYa @ BigOnYa:
    Sounds good to me, video games and booze it is then.
    +1
  • denpafan @ denpafan:
    Good choice
    +1
  • BigOnYa @ BigOnYa:
    Now what to play, Starfield or Fallout4. And what to drink, beer or Whiskey and Coke. Such tough decisions.
  • BigOnYa @ BigOnYa:
    Looks like its whiskey & coke, only 4 beers left. And think ill start with Falllout. :grog:
    BigOnYa @ BigOnYa: Looks like its whiskey & coke, only 4 beers left. And think ill start with Falllout. :grog: