mika-n
5bd4906521
Fine tunes. synced with upstream changes
2018-12-10 20:29:49 +02:00
mika-n
f795e08f8a
Merge branch 'jay' of https://github.com/Ryochan7/DS4Windows into jay
2018-12-10 20:25:59 +02:00
Travis Nickles
bc8e6ebd0e
Remove component use for ScpVBus classes
2018-12-09 04:05:26 -06:00
Travis Nickles
7c2b653163
Loosened enhanced precision curves
2018-12-07 17:43:40 -06:00
mika-n
94d5f83db1
Added config options of sixaxis steering wheel emulation and calibration btn to config GUI form (Options). If controller is calibrated via this config screen then there is no need to define "calibrate" special action key. Improved >360 turn range calculation. Added possibility to map SA steering values to L2+R2 trigger axis (Z-axis). For example in ETS2/ATS game controller settings it is possible to use that axis for steering if triggers are not used for throttling and braking (this would leave all axis of L and R thumbstick available for other purposes).
2018-12-07 00:09:09 +02:00
mika-n
4359bb082b
Merge branch 'jay' of https://github.com/Ryochan7/DS4Windows into jay
2018-12-06 15:22:23 +02:00
Travis Nickles
397814c244
Fixed typo
2018-12-05 17:57:01 -06:00
Travis Nickles
38faadfcd2
Added comment about intent
2018-12-05 13:59:57 -06:00
Travis Nickles
63829a1eb9
Use local data for InputMethods method calls
...
Removes lots of locking when emulating KB+M
2018-12-05 06:12:05 -06:00
Travis Nickles
ea3787eef2
Change udp port opening routine for some scenarios
...
Experimental
2018-12-05 05:16:54 -06:00
mika-n
3ab55d102e
Merge remote-tracking branch 'upstream/jay' into jay
2018-12-04 00:54:20 +02:00
mika-n
1eed418022
Added support for 180/360/720/900/1440 turn range (or any other turn range between 90-3240 degrees). New SASteeringWheelEmulationRange profile option with int32 value (default 360).
2018-12-04 00:50:37 +02:00
Travis Nickles
81d08099a7
Make sure to enforce actual wait time
2018-12-01 00:58:50 -06:00
Travis Nickles
26bbfdbf98
Remove unneeded udp start call
2018-11-30 22:00:13 -06:00
Travis Nickles
c02230265c
More changes to UDP
2018-11-27 04:38:41 -06:00
Travis Nickles
773a7a0423
Temporary change to UDP server
...
Don't want to lose these changes but more has to be done
2018-11-27 04:30:42 -06:00
mika-n
1cb04d03ad
Changed precision of angle values sent to x360 virtual controller from 1 degree to 1/10th degree precision. Also, minimized "center deadzone" gap (the previous optimization of angle calculation was too aggressive in wheel center position).
2018-11-19 13:32:48 +02:00
mika-n
a933eae0a9
New "360 degree gyro steering wheel emulation" functionality. This works best if the DS4 controller is mounted on a "DoItYourself steering wheel rig" (ie. controller attached at a tip of a plastic or wooden pipe which acts as a "steering shaft". This way the controller turns around like a steering wheel and gyro sensor values are more consistent).
...
At this point there is no GUI to enable this, so you should edit a profile XML file (fex default.xml profile) with Notepad and add <SASteeringWheelEmulationAxis>LXPos</SASteeringWheelEmulationAxis> entry.
Accepted values are None, LXPos, LYPos, RXPos, RYPos) which indicates which X360 axis is used for steering wheel values (ie. gyro tilt converted as steering wheel turning range values). The normal behaviour of this axis should be set as "unmapped" to avoid conflicting values. If steering wheel axis is LX then LY axis is still available for other purposes.
2018-11-17 01:41:21 +02:00
Travis Nickles
1fafd0d375
Removed a couple unused methods
2018-11-06 03:11:16 -06:00
Travis Nickles
ccdfd8cfe5
Purge HidGuardian utilities
2018-11-06 02:47:31 -06:00
Travis Nickles
ad7bbe7ea9
Use ReadWriteLockSlim instance instead of lock
2018-11-02 18:20:27 -05:00
Travis Nickles
79377ced7f
Added locking and volatile usage for UdpServer
...
Related to issue #454 .
2018-11-02 13:03:08 -05:00
Travis Nickles
b9b89be554
Renamed method to make meaning more clear
2018-11-01 14:13:10 -05:00
Travis Nickles
4c1ef2b63c
Don't persist current blank state. Method should probably be renamed
...
Related to issue #474
2018-11-01 14:11:53 -05:00
Travis Nickles
dfcc3250cf
Changed index increment placement
...
Seems to solve #454 on my machine
2018-10-24 04:17:01 -05:00
Travis Nickles
03b3acb209
Lowered mouse stick offset a bit
2018-10-19 03:33:03 -05:00
Travis Nickles
d8aab22051
Raised mouse stick offset
2018-10-19 02:37:50 -05:00
Travis Nickles
2029cc5531
Register for more specific device change events
...
This should make the WndProc method execution leaner
2018-10-16 14:35:41 -05:00
Travis Nickles
722bdf9670
Loosened enhanced precision curves further
...
This seems to be as loose as it can be with the
DS4 analog stick and still be usable.
2018-10-16 12:56:51 -05:00
Travis Nickles
e317c6e84a
Loosen enhanced precision curves
2018-10-15 17:20:05 -05:00
Travis Nickles
6474346f11
Replace stack with simple array in UdpServer
2018-10-13 02:13:42 -05:00
Travis Nickles
3697848b58
Loosened enhanced precision curves
2018-10-09 15:49:45 -05:00
Travis Nickles
5efe6b556e
Fixed issue with useDInput variable not being in correct state
2018-10-08 05:51:27 -05:00
Travis Nickles
3bbdbe3a0f
Attempt to reset KB+M controls after unplugging controller
...
Related to issue #438 .
2018-10-01 19:18:52 -05:00
Travis Nickles
3aa558c85f
Version of different gyro trigger conditional
...
Related to issue #431
2018-09-29 21:54:25 -05:00
Travis Nickles
1019499612
Resolve name collision with Log class and Diagnostics namespace
...
Makes app snappier
2018-09-29 04:42:22 -05:00
Travis Nickles
53ec1e2eef
Test using stack of SocketAsyncEventArgs
2018-09-14 03:35:54 -05:00
Travis Nickles
0896f044e8
Fixed problem with unplugging controllers causing cross thread problems
2018-08-24 17:35:57 -05:00
Travis Nickles
6f5b17ac37
Remove ui thread from unplug routine
...
Hotplug routine was starting before removal routine
was being started. No blocking was happening anyway
2018-08-20 04:35:41 -05:00
Travis Nickles
3df7f24a7b
Move code out of main form ctor
2018-08-17 02:20:53 -05:00
Travis Nickles
0358002e72
Remove some older unnecessary variables
2018-08-16 17:42:03 -05:00
Travis Nickles
3353b803c3
Quick fix for UDP server memory leak
...
Related to issue #388 .
2018-08-12 01:06:02 -05:00
Travis Nickles
a86d8deb4a
Some minor tweaks and fixes
2018-08-08 03:54:19 -05:00
Travis Nickles
5c52cead54
UDP server management changes, UDP server options
...
Related to issue #228
2018-08-06 05:00:37 -05:00
Travis Nickles
f3c64143e2
Added unchecked block
2018-08-04 01:39:46 -05:00
Travis Nickles
c3b4190b02
Use SendToAsync in another place
2018-08-04 00:48:28 -05:00
Travis Nickles
57af817c00
Use SendToAsync and uncheck to improve UDP server performance
2018-08-03 20:01:00 -05:00
Travis Nickles
28f3414a05
Merge branch 'jay' into udpserver
2018-08-03 00:46:19 -05:00
Travis Nickles
0fc4cb1e32
Added unchecked blocks
2018-07-30 23:43:10 -05:00
Travis Nickles
0f6eaed317
Merge branch 'jay' into udpserver
2018-07-29 10:59:02 -05:00