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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 57 58 59 60 61 ... 116 Next »

Who/what is responsible for initing wiimote extensions and changing the report mode?
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Who/what is responsible for initing wiimote extensions and changing the report mode?
09-25-2011, 10:05 PM (This post was last modified: 09-25-2011, 10:06 PM by pholklore.)
#1
pholklore Offline
Junior Member
**
Posts: 12
Threads: 4
Joined: Sep 2011
Hi guys,

Who or what is responsible for initializing wiimote extensions (such a nunchuk) and changing the wiimote's Data Reporting mode after the initial setup dolphin does that includes just the base buttons? Is it dolphin, the game, something else?

I've added logging to Wiimote::IOWrite and Wiimote::IORead to hopefully see all traffic between dolphin and my wiimote clone, and all I see when I start a game such as Mario Kart is,

Code:
IOWrite: a1 15 00
IOWrite: a2 17 00 00 17 70 00 01

Apart from the

Code:
IORead: a1 30 XX XX

that are caused by me pressing buttons.

"a1 15 00" is sent by dolphin itself, while the "a2 17..." appears be triggered by the emulation.
But I never see any response for these. What's supposed to happen? I can't figure out what
sort of command "a2 17 ..." is either.
Find
Reply
09-25-2011, 11:19 PM
#2
neobrain Offline
"Wow, I made my code 1000x faster! That means I can make it 2048x slower now!"
**********
Developers (Some Administrators and Super Moderators)
Posts: 3,208
Threads: 50
Joined: Jun 2009
Erm, you should prolly come to IRC for this kind of question.. Prolly won't get an answer immediately but eventually someone who has a clue should be there as well
My blog
Me on Twitter
My wishlist on Amazon.de
Find
Reply
09-27-2011, 07:08 AM (This post was last modified: 09-27-2011, 07:09 AM by Billiard26.)
#3
Billiard26 Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 2,661
Threads: 8
Joined: Feb 2010
The game handles query/enable/disable of attached extensions and changes of reporting mode.
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