• 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 … 45 46 47 48 49 … 322 Next »

Explanation - BT Passthrough mode
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
Explanation - BT Passthrough mode
06-07-2019, 05:10 PM
#1
Brian Fordhamm Offline
Junior Member
**
Posts: 6
Threads: 2
Joined: Dec 2018
So hello everyone.
Since I'm quite interested in Wii and Wiimotes specifically I want to ask: how exactly this mode works? I get that libusb is used to take the BT adapter out of OS control, but what happens after that when I start the game? What sets the adapter up, what's parsing the input from actual Wiimote? Can anyone describe the process?
And why controller sync can only be triggered when there is the game (or WAD app) running?

Where can I read about this?

Sorry if posting in the wrong forum section.
Find
Reply
06-07-2019, 08:40 PM
#2
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 9,023
Threads: 7
Joined: Oct 2014
(06-07-2019, 05:10 PM)Brian Fordhamm Wrote: What sets the adapter up, what's parsing the input from actual Wiimote?

It's all handled by the code running on the emulated Wii. Or in other words, the game code.

(06-07-2019, 05:10 PM)Brian Fordhamm Wrote: And why controller sync can only be triggered when there is the game (or WAD app) running?

Since everything related to Wii Remotes is handled by the emulated console when using Bluetooth passthrough, you can't sync controllers when the console isn't being emulated.
Find
Reply
06-08-2019, 04:58 AM
#3
Brian Fordhamm Offline
Junior Member
**
Posts: 6
Threads: 2
Joined: Dec 2018
(06-07-2019, 08:40 PM)JosJuice Wrote: It's all handled by the code running on the emulated Wii. Or in other words, the game code.

So when I hit "Start", the console's OS unloads itself and loads disc content, right? That's how 6th gen consoles worked?
Find
Reply
06-08-2019, 05:06 AM
#4
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 9,023
Threads: 7
Joined: Oct 2014
(06-08-2019, 04:58 AM)Brian Fordhamm Wrote: So when I hit "Start", the console's OS unloads itself and loads disc content, right? That's how 6th gen consoles worked?

I wouldn't exactly call the system menu an OS, since it gets unloaded when the game starts just like you say, but yes, that's how it works on the Wii. The other 6th gen consoles don't work that way as far as I know, though.
Find
Reply
06-08-2019, 07:03 AM
#5
Brian Fordhamm Offline
Junior Member
**
Posts: 6
Threads: 2
Joined: Dec 2018
(06-08-2019, 05:06 AM)JosJuice Wrote: I wouldn't exactly call the system menu an OS, since it gets unloaded when the game starts just like you say, but yes, that's how it works on the Wii. The other 6th gen consoles don't work that way as far as I know, though.

Do I understand right that the game once booted actually handles all the connections since there is no actual OS and drivers? BT, Wi-Fi, Ethernet - all by the loaded game?...
Find
Reply
06-08-2019, 07:44 AM
#6
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 9,023
Threads: 7
Joined: Oct 2014
(06-08-2019, 07:03 AM)Brian Fordhamm Wrote: Do I understand right that the game once booted actually handles all the connections since there is no actual OS and drivers? BT, Wi-Fi, Ethernet - all by the loaded game?...

Well... In practice it's a bit more complicated than that, because there is also second helper CPU that runs software called IOS (which I suppose can be described as a mini OS). IOS handles network connections and has the Wi-Fi drivers and such, but it doesn't parse the Wii Remote Bluetooth data.
Find
Reply
06-08-2019, 04:52 PM
#7
Brian Fordhamm Offline
Junior Member
**
Posts: 6
Threads: 2
Joined: Dec 2018
(06-08-2019, 07:44 AM)JosJuice Wrote: Well... In practice it's a bit more complicated than that, because there is also second helper CPU that runs software called IOS (which I suppose can be described as a mini OS). IOS handles network connections and has the Wi-Fi drivers and such, but it doesn't parse the Wii Remote Bluetooth data.

Yes, ARM CPU if I'm correct. So some functionality is in the game, some relies on the IOS...
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma