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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Support v
« Previous 1 ... 1124 1125 1126 1127 1128 ... 1190 Next »

Ading support for multiple Wii remotes
View New Posts | View Today's Posts

Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Ading support for multiple Wii remotes
11-02-2009, 06:35 PM
#1
Nikolica Offline
Junior Member
**
Posts: 12
Threads: 2
Joined: Aug 2009
How would one approach adding support for multiple Wii remotes?
I have looked the source code but I don't know where to start?
Find
Reply
11-02-2009, 09:34 PM
#2
dstruct2k Offline
Ex-Dev
***
Posts: 109
Threads: 3
Joined: Aug 2009
The easiest way would probably be to convert the existing code into a class, then create a Wiimote handler that would dynamically assign each connected Wiimote to an instance of the class. (I'm mostly a PHP guy; C++ is a bit of an adventure for me. That's how I'd do it in PHP though. Smile)

As an added bonus, the class handler could also turn Wiimotes off if the game sent a shutdown command (for instance if a Wiimote hasn't been used in 5 minutes or whatever) instead of Dolphin just popping up a msgbox saying that it's not supported. Smile
System Specs:
[Image: 670320.png]
Find
Reply
11-03-2009, 05:46 AM
#3
James333 Offline
Above and Beyond
*******
Posts: 1,520
Threads: 8
Joined: Jul 2009
Wiiuse is the wiimote C library, It is in dolphin-emu-read-only\Externals
MB : MSI Z68A-GD80
CPU : Intel Core i7 2600k @ 3.4 GHz (stock clock)
Gfx : ATI Raedon HD 6850
Ram : 4 GB DDR3-1333
OS : Windows XP x86

I speak Spanish Big Grin ( And a little English )
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