Commit Graph

17 Commits

Author SHA1 Message Date
pcca-matrix da734b552a Fix savestate and rumble
* When you switch from mempak to rumble , rumble pack is never initialized.

* Rumble stops working after loading a savestate.

* No shortcut working when you have 4 xinput controller plugged.

There is a performance hit when you check for a controller that wasn't attached last time you called it.
This fix minimizes a performance issue with XInput on Windows when checking for a disconnected controller.

If you get ERROR_DEVICE_NOT_CONNECTED from XInputGetState, you shouldn't call that slot for a little while.
2020-06-14 11:19:49 +02:00
zilmar 366c0c69ae Force CharacterSet to be Unicode in the Property Sheets 2020-06-09 22:34:38 +09:30
oddMLan b393d7c91c [Nrage-input] Misc cleanup 2020-02-10 03:01:14 -07:00
oddMLan 2b15003e77 [Nrage-input] Tabs -> spaces 2020-02-09 04:36:49 -07:00
Kimberly J Ortega 9315c31fb2
Fix C-buttons and DPad button bindings 2019-06-08 07:19:35 -07:00
zilmar a228a9d1f9 line ends ? 2016-01-27 20:11:59 +11:00
unknown 5af1cfd3c2 [N-Rage] only need WBEM dependency in 1 .cpp, not a .h 2015-11-16 18:47:26 -05:00
unknown fa8f78028c Use the standard library method sscanf(), not sscanf_s(). 2015-10-27 17:03:19 -04:00
unknown 7f5f64e00f Use the standard library method wscanf(), not wscanf_s(). 2015-10-27 16:51:50 -04:00
unknown a247ffe6b1 [PJ64 NRage] some scope and spacing formatting clean-ups 2015-03-17 18:47:32 -04:00
Emmet Young 2cd859640f We need to set the id for XInput controllers separate from the controller number where handed.
This is to stop XInput controller one from having to be used in first player.

Also remove the need for the bconnected variable, allows controllers that are connected at game start to be disconnected and reconnected for XInput.
2015-02-25 15:48:38 +11:00
Emmet Young 7b52fe10b9 Change XInput to be loaded into memory at startup rather than every time InitiateXInputControllers is called. 2015-02-24 22:52:32 +11:00
Emmet Young 6b1a88d3a4 Change to how NRage is dynamically linking XInput, rather than loading it every time functions such as GetXInputControllerKeys is called. Do it on initiate of controllers. Still not the best way to handle it.
Need to rethink the way NRage handles the different API's rather than just tacking it on the side
2015-02-22 21:11:20 +11:00
zilmar 194761fe66 Dynamic link XInputSetState 2015-02-22 16:50:16 +11:00
Nicholas c07497e96a Dynamically link XInputGetState 2015-02-21 12:00:01 +11:00
zilmar 9d607af14f Nrage: Update version and change location of log and config dir 2015-02-18 20:52:23 +11:00
zilmar e58fc5ab78 nRage: Add ability to compile version 2.3c 2013-04-30 15:56:41 +10:00