• 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 ... 93 94 95 96 97 ... 111 Next »

Wiimote and nJoy > Gamepad changes (revision 4534)
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Wiimote and nJoy > Gamepad changes (revision 4534)
11-26-2009, 05:51 AM
#1
John Peterson Offline
Member
***
Posts: 110
Threads: 14
Joined: May 2009
There was some skepticism about my changes in revision 4534 so I'll try to explain the changes here.

"2. Removed the 'Nintendo RVL-CNT-01' device from the device list, and other SDL devices with no axes/buttons"

Most of the changes were to accomplish this. It was previously assumed that for example the drop-down list ID was the same as the device ID so this required more than just a one-line change.

"1. Added LiveUpdates, while the configuration window is open nJoy and Wiimote"

The UpdateDeviceList function and other changes were to allow an update of the device list at any time. Although it turned out that hotswapping/LiveUpdates didn't work with SDL (primarily because the Wiimote and nJoy plugin shared the same DInput 7 COM interface) these changes are just as useful since they allow hotswapping to work if a DInput or XInput backend is added so that the device list can be refreshed in a stable way. Which I plan to add at some point.

I've posted all the changes in the patch file for bug testing. Possible bugs are forgotten saves or other things.


Attached Files
.patch   4566.patch (Size: 99.07 KB / Downloads: 88)
Find
Reply
11-26-2009, 06:45 AM
#2
StripTheSoul Offline
YouKittenMe?
*******
Posts: 4,617
Threads: 37
Joined: Oct 2009
Ah, liveupdates...I guess those would resolve the issue of button mapping not working after changing a controller until the plugin has been closed first...?
Intel i5-4690k (Devil's Canyon) @ 3.5 GHz (+Scythe Mugen) / Gainward GTX 1070 Phoenix (OC'd) / ASUS Z97 PRO GAMER / 16GB G.Skill DDR3-2400 CL10 TridentX / X-Fi XtremeMusic / Win10 Pro 64bit / Dell S2716DG Monitor / 3x original WiiMote+MotionPlus+Nunchuk
Find
Reply
11-26-2009, 07:21 AM
#3
John Peterson Offline
Member
***
Posts: 110
Threads: 14
Joined: May 2009
(11-26-2009, 06:45 AM)StripTheSoul Wrote: Ah, liveupdates...I guess those would resolve the issue of button mapping not working after changing a controller until the plugin has been closed first...?

Yes. Currently the plugin has to be restarted for the device list to be refreshed. Wish means the game has to be restarted. It should not take much time to create a DirectInput and XInput backend in addition to the SDL backend so that hotswapping works in Windows at least.
Find
Reply
11-26-2009, 07:23 AM
#4
extreme64 Offline
Senior Member
****
Posts: 319
Threads: 1
Joined: Oct 2009
go for it
"[signature removed]
love, Daco"

drop dead Tongue
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