Commit Graph

181 Commits

Author SHA1 Message Date
Travis Nickles
1f9cf16397 Minor control search optimization 2019-01-24 03:38:21 -06:00
Travis Nickles
bf3f10d0ae Apply proposed changes for HG v.1 support 2019-01-18 15:38:13 -06:00
mika-n
5b49a8ed47 SA steering wheel emulation can now feed VJoy virtual joystick device (analog axies there). This leaves all original X360/DS4 analog axies for other purposes. Useful in games which support mapping controls to more than one controller (for example EurotruckSimulator/AmericalTruckSimulator). 2019-01-02 21:44:15 +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
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
d449f1df7f Merge branch 'jay' into vigem-udpserver 2018-10-08 05:52:57 -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
1215d32ae5 Merge branch 'jay' into vigem-udpserver
# Conflicts:
#	DS4Windows/DS4Control/ScpUtil.cs
2018-10-03 16:38:20 -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
098bfef33c Merge branch 'jay' into vigem-udpserver 2018-08-18 02:21:18 -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
8750d6ea08 Merge branch 'jay' into vigem-udpserver
# Conflicts:
#	DS4Windows/DS4Control/ControlService.cs
2018-08-06 05:57:53 -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
cb8ffee055 Merge branch 'jay' into vigem-udpserver 2018-07-23 00:17:08 -05:00
Travis Nickles
3fa9d2f2b5 Added alt min to taskbar fix 2018-07-22 01:51:58 -05:00
Travis Nickles
7229fee556 Merge branch 'jay' into vigem-udpserver 2018-06-04 14:12:58 -05:00
Travis Nickles
6c822e5968 Add minimize to taskbar as a setting
Related to issue #287.
2018-06-01 16:45:58 -05:00
Travis Nickles
241bee82a0 Merge branch 'jay' into vigem-udpserver 2018-05-24 14:49:26 -05:00
Travis Nickles
ffc2e45854 Fixed failed to unplug message from appearing when switching profiles using SONYWA 2018-05-13 12:59:13 -05:00
Travis Nickles
5e30393647 Initial commit with ViGEm and UdpServer support 2018-05-06 02:13:11 -05:00
Travis Nickles
99c812301d Take result status for virtual bus plugin events back into account 2018-04-01 03:01:45 -05:00
Travis Nickles
a1d0836091 Tweaks to improve hotplug detection
Check status of first output report before adding
device to the list
2018-03-25 23:36:46 -05:00
Travis Nickles
981e7afc22 Increased XINPUT_UNPLUG_SETTLE_TIME 2018-03-25 07:43:36 -05:00
Travis Nickles
3b33caf247 Remove reliance on plug return status
Plug change can be delayed but still be successful.
Possibly related to issue #147.
2018-03-21 17:43:30 -05:00
Travis Nickles
4fe6fc6660 Attempt to allow language preference to work across instances
Related to issue #205.
2018-01-30 22:20:46 -06:00
Travis Nickles
90e2e73dca Removed query by all classes 2018-01-29 13:22:56 -06:00
Travis Nickles
13e48f835f Changed argument for function call 2018-01-29 02:53:16 -06:00
Travis Nickles
a1e99344d2 Allow ScpVBus device to be found even when disabled. Reset device rumble state on next poll when loading a profile. 2018-01-28 23:21:49 -06:00
Travis Nickles
618c139607 First step to change how ScpVBus installation is checked
Related to issue #147.
2018-01-28 02:00:29 -06:00
Travis Nickles
84f1e7caae Merge branch 'language-switch' of https://github.com/czukowski/DS4Windows into czukowski-language-switch 2018-01-18 00:03:55 -06:00
Travis Nickles
55f3e5ef66 Change sixaxis dead zone defaults to reflect recent changes 2018-01-12 22:48:20 -06:00
Travis Nickles
42a67143ea Fix for device plugin changes while switching profiles 2018-01-07 11:44:04 -06:00
Travis Nickles
4bb6b08f72 Initial implementation of trackball mode
Related to issue #85
2018-01-01 12:21:35 -06:00
Korney Czukowski
babb48ac51 Add UseLang key to settings 2017-12-12 21:49:44 +01:00
Travis Nickles
c073e721fc Update custom led color from main Controllers tab
Related to issue #153.
2017-11-22 19:23:23 -06:00
Travis Nickles
76136c71a9 Correct window location saving to take window state into account (negative values)
Related to issue #157.
2017-11-22 02:00:51 -06:00
Travis Nickles
c5c56cf78c Trim ScpUtil.cs. Do not create new instances of DS4StateFieldMapping each frame 2017-11-17 02:50:37 -06:00
Travis Nickles
e88f19ff1f Minor tweak 2017-11-10 11:22:26 -06:00
Travis Nickles
112e6ab232 Add delay before executing program linked to a profile 2017-11-09 22:14:49 -06:00
Travis Nickles
5df02aafa7 Save form position
Related to issue #142.
2017-11-05 20:18:36 -06:00
Travis Nickles
debbb23530 Remove unused method 2017-10-20 20:48:48 -05:00
Travis Nickles
ad2b6eea25 Different implementation of linked profile support
Related to issue #84.
2017-10-19 14:16:09 -05:00
Travis Nickles
2e8aee10e0 Default touchpad jitter compensation to true again
The current settings work pretty well and
would probably be preferred
2017-09-20 21:44:31 -05:00
Travis Nickles
0817da3864 Minor tweaks. Use different timer class for some timers.
Take some routines out of the main thread
2017-08-22 17:37:39 -05:00
Travis Nickles
cb599a984f Make touchpad jitter compensation default to false 2017-08-06 19:50:49 -05:00
Travis Nickles
8ae6e062e3 Add experimental touchpad invert disable routine. Raise mouse stick offset 2017-08-04 22:36:46 -05:00
Travis Nickles
5a84f8b2e3 Added sixaxis output curve options 2017-07-19 18:17:11 -05:00
Travis Nickles
fd1479f09f Added output curve options for L2 and R2 2017-07-19 15:15:59 -05:00
Travis Nickles
ec130f6156 Add sixaxis anti-deadzone settings 2017-07-18 19:44:55 -05:00
Travis Nickles
7ddd2c1bf5 Add sixaxis max zone setting 2017-07-18 17:28:16 -05:00
Travis Nickles
53b0de087c Allow gyro roll to control mouse x axis. Related to issue #90. 2017-07-14 07:46:45 -05:00
Travis Nickles
c0403fa7ab Add touchpad mouse axis inverting. Related to issue #83. 2017-07-12 22:39:46 -05:00
Travis Nickles
6f069482a2 Minor optimizations 2017-07-12 08:04:37 -05:00
Travis Nickles
b62b490ff1 Allow Disconnect BT special action to work with Sony dongle connections
This might be temporary
2017-06-30 21:29:20 -07:00
Travis Nickles
d74820dbf5 Add rotation routine for LS and RS 2017-06-30 01:42:19 -07:00
Travis Nickles
484337f42f Add gyro mouse smoothing routine 2017-06-28 21:42:16 -07:00
Travis Nickles
588c2d4385 Add vertical scale for gyro mouse mode 2017-06-24 02:52:39 -07:00
Travis Nickles
2d58034415 Allow gyro button triggers to disable gyro 2017-06-22 00:43:44 -07:00
Travis Nickles
63dddf4373 Changes to fix Quick Charge option 2017-06-08 13:52:47 -07:00
Travis Nickles
751e4f4e7a Add initial output curve options 2017-06-08 00:37:04 -07:00
Travis Nickles
c781082425 Add DateTime fields to SpecialAction 2017-05-26 18:57:46 -07:00
Travis Nickles
5a0fb09291 Update serial for Sony dongle connection upon sync event
Related to issue #44.
2017-05-25 02:51:28 -07:00
Travis Nickles
1c6add01eb Change to allow multiple multi-action button actions to work
Related to issue #34
2017-05-22 08:06:20 -07:00
Travis Nickles
aa0e0fce50 Fix index out of bounds error 2017-05-20 18:56:11 -07:00
Travis Nickles
1e2c57a08a Minor optimizations 2017-05-18 17:51:01 -07:00
Travis Nickles
1ef0b04dbc Fixed bug with code executing with no user input
This should not be happening in the first place
2017-05-17 10:59:49 -07:00
Travis Nickles
84fdb26d18 Reset old backstore profile values before loading new profile values 2017-05-17 06:11:32 -07:00
Travis Nickles
2b741533bb Minor optimizations 2017-05-17 01:59:09 -07:00
Travis Nickles
1958f082c5 Change battery status change reporting 2017-05-17 00:57:06 -07:00
Travis Nickles
ac23921978 Allow BT poll rate to be specified. Use thread action queue now. Some bug fixes 2017-05-16 23:02:12 -07:00
Travis Nickles
edeaa30b59 Code clean up. Reset xinput mapping for more bound actions. 2017-05-12 07:48:58 -07:00
Travis Nickles
81b54a7dd9 Change plugin and unplug routines with ScpVBus 2017-05-11 06:41:18 -07:00
Travis Nickles
7e61f52dd1 Launch new task for Launch Program with Profile 2017-05-09 16:34:56 -07:00
Travis Nickles
0e6514a072 Fixed reverse 360 button mapping generation
Share and Options were not being mapped properly.
Resolves issue #33.
2017-05-09 07:53:10 -07:00
Travis Nickles
8b42562aec Alter how Launch Program with Profile works 2017-05-08 22:12:39 -07:00
Travis Nickles
22ebca3e01 Make sure extra flags are populated in more places for special actions 2017-05-08 07:29:38 -07:00
Travis Nickles
5bfd6df2d3 Added max zone settings 2017-05-05 09:13:12 -07:00
Travis Nickles
be27af50d3 Some optimizations. Use reverse mapping array. Skip xinput report in dinput mode. 2017-05-04 08:42:27 -07:00
Travis Nickles
3f68c9bcb8 Removed usage of some unused namespaces
The only real import one is remove System.Windows.Forms
for non GUI items
2017-04-30 06:42:09 -07:00
Travis Nickles
83c7bb7740 Minor optimization for device refreshing and profile switching 2017-04-29 01:19:45 -07:00
Travis Nickles
2cfaee50e5 Corrects problem with old profiles with duplicate actions
Related to issue #24.
2017-04-28 17:19:05 -07:00
Travis Nickles
508c2b2067 Rename new hotkey option. Some optimizations for Options form. 2017-04-26 14:51:15 -07:00
Travis Nickles
4a159d4216 Make hotkey execution an optional profile setting.
Related to issue #21
2017-04-26 12:43:01 -07:00
Travis Nickles
de0e9a88cb Change device removal event to only hide one device rather than refresh a list 2017-04-26 01:00:05 -07:00
Travis Nickles
2a20350b6b Some minor changes 2017-04-25 20:07:02 -07:00
Travis Nickles
ea3b1401f0 Only update battery status for one controller instead of entire controller list
Event is also executed async now.
2017-04-25 02:24:14 -07:00
Travis Nickles
e34e8115ad Fix some button mapping issues. Style changes. Change runStartupPanel 2017-04-24 02:43:56 -07:00
Travis Nickles
3c7aa0d477 Make sure lightbar rainbow mode works properly with multiple devices 2017-04-22 03:31:53 -07:00
Travis Nickles
23ee6f9d8a Minor style changes and excess removed 2017-04-22 00:26:44 -07:00
Travis Nickles
8c02cb7309 Some changes made for lightbar modes 2017-04-21 19:58:27 -07:00
Travis Nickles
03029b32c0 More usage of cached data 2017-04-21 06:29:25 -07:00
Travis Nickles
32cbd77708 Minor edits to improve readability 2017-04-20 20:09:08 -07:00
Travis Nickles
92b4e2da24 Trim more property usage 2017-04-15 23:22:04 -07:00
Travis Nickles
babed4eaf1 Speed up event detection for options window. Use angle for stick dirs controls instead of using an extra dead zone. 2017-04-14 20:11:48 -07:00
Travis Nickles
9de2f436e5 Make sure remainder is used for mouse movement. Minor changes to mouse movement routine. 2017-04-14 00:55:22 -07:00
Travis Nickles
4ea9289a0d Make sure profile loading and saving works for X360Controls actions 2017-04-11 14:56:37 -07:00
Travis Nickles
24865da04b Insert some more DS4Controls ids 2017-04-11 14:02:32 -07:00
Travis Nickles
31303fbb4d Change default DS4 to X360 binding to not use an explicit action 2017-04-11 13:57:39 -07:00