![]() The deadzone area is calculated like a square, not a circle. There are some theoretical disadvantages to this approach, but they are not likely to be an issue in the real world.Īnother issue is the deadzone correction in XInputController.cpp. If we divide the analog stick into 8 equal size sectors:Īnd the sectors, starting from the top going clockwise, correspond to pressing C-UP, C-UP + C-RIGHT, C-RIGHT etc, the correct "button is pressed" threshold value for this behavior (without introducing magnitude + angle calculation) would be 127 * sin(pi/8), which is about 48.6, which is 49 since stick values are integers. For games that use the C buttons for movement (Goldeneye and Perfect Dark when using controller style 1.2, Turok, etc), being able to press two C Buttons at once is a necessity.Īfter a bit of experimentation, I found that values of 50 feel ideal to me.įun fact about your experimental value: I modified the plugin much like you, but without experimentation, and I got 49. This keeps you from being able to press two C buttons at once when using analog sticks for the C buttons. I suggest changing BUTTON_ANALOG_VALUE in XInputController.h and THRESHOLD in DirectInput.h to much lower values.įor controllers with circular ranges of motion for the analog sticks, the current values can't be hit in the diagonals. ![]() The change I made to get it to work is at /libertyernie/nrage-input/commit/826bb1c7cd70e6deabcbef0e72e21d64219f1e0b. I don't know why data is getting written once with the old code in WriteCartMBC5 and twice with the new code.ĮDIT 2: I think I figured it out - the switch/case statements in WriteCartMBC5 didn't match the comments next to them. Copied the whole WriteCart method over to the new version, and it worked there too, same thing. Also, the very old 1.82a version works fine for me (except it writes 64K instead of 32K), but I can't find the source code for that.ĮDIT: I added the same debug print statements to 1.82a (found the source!), and there things are only getting written once, as they should be. Silver works fine, so it's probably an MBC5-specific problem. I can send you the save file, compiled DLL, and/or PJ64 build if you'd like. (Or rather, from what I can tell with adding a bunch of printouts to the code, they're getting written but then the old values are immediately written back?) I can read my list of pokemon just fine, but any changes aren't getting saved. Pokemon Yellow isn't working for me with the newest version from the svn (r76). InstanceName would change depending on the order which the controls are plugged into the system, making them useless if you have controllers you prefer as second, third or fourth, and would break the automatic defaulting system for new pads. Specifying Joy1/Joy2 isn't as easy as it sounds, since Windows does not store HID Devices in that way - You even have the Preferred Controller setting affecting which device is exposed first to applications lacking an input device selection list. ![]() Nrage actually stores both the GUID and DirectInput Name in the config file.ĭInputGUID= Instance(Guid) is more reliable from a implementation point of view, and most emulators don't use InstanceName either. It would be handy to be able to use InstanceName(User friendly) rather than Instance(GUID), so that I can just use the first enabled gamepad as Player 1, rather than a specific gamepad as player 1, that might not even be enabled for my other emulators. Most emulators use something along the lines of: It might install a security update to a version if its found installed, but all that stuff is installed during games and application install processesĢ0 were nasty, as like you saw, it installed thousands of different instances of it - 2010 and 12 are much nicer in that regards, a service pack replaces the old version.Īny plans to do away with GUIDs? This is my favourite plugin for MotionInJoy PS3 controllers, but I've got 4 that could be grabbed at any time, or they all end up in use in one night. Now I need to make a double post because my original precise way of saying it was wrong. *oxymoronically cusses you out in a pleasurable way* :rolleyes:ĭidn't make me use bold letters over it, because I'm a FAT cat!! :cool: You Googled VLA's and saw C11 as the top result on Wikipedia and thought that meant that was when VLA's were invented. I saw all these "Redistributable" entries in my install list and was like, wtf? That means it's time to use BOLD LETTERS!1!!1!Īnyway, whatever the hell kept putting them on my Vista machine, it sure wasn't me.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |