Commit Graph

819 Commits

Author SHA1 Message Date
Yoni Lerner
88ff296286 Fix an issue where the wrong action was being parsed, causing total failure in special action profile loading 2017-03-27 05:39:40 -07:00
Travis Nickles
9cfae83569 Tweak dead zone calculation 2017-03-27 03:37:05 -07:00
Travis Nickles
768e967e04 Minor property optimization 2017-03-27 02:55:53 -07:00
Travis Nickles
11cc515127 Make anti-deadzone setting persistent 2017-03-27 02:50:32 -07:00
Travis Nickles
11a7f8ca2f Slight tweak to anti-deadzone 2017-03-26 23:03:10 -07:00
Travis Nickles
fa8ba7a0ba Initial anti-deadzone feature. Minor R2 deadzone fix. 2017-03-26 20:55:05 -07:00
Travis Nickles
fc58383a82 Fix interpreting right stick values after leaving dead zone 2017-03-26 18:09:27 -07:00
Travis Nickles
a840089d59 Properly enforce dead zones and interpolate values.
Resolves issue #4.
2017-03-25 18:50:34 -07:00
Travis Nickles
2b42e327cc Minor property optimization 2017-03-25 16:42:34 -07:00
Travis Nickles
b41a669223 Interpolate L2 and R2 based on dead zone values 2017-03-25 16:32:45 -07:00
Travis Nickles
d9f618799e Version 1.4.55 2017-03-25 15:32:31 -07:00
Travis Nickles
112b550473 Fixed hanging when disconnecting a USB controller
Related to issue #3.
2017-03-25 08:49:03 -07:00
Travis Nickles
a5f51f78e9 Changed flash warning interval in settings 2017-03-25 06:31:39 -07:00
Travis Nickles
84bf4759e6 Set FlashWhenLateAt default to 20 ms 2017-03-25 03:32:59 -07:00
Travis Nickles
82c3d4beff Try getting around wait yet again 2017-03-25 01:29:25 -07:00
Travis Nickles
9ec41b207a Version 1.4.54 2017-03-24 16:26:14 -07:00
Travis Nickles
156b7103e6 Make ds4 threads background threads. Still trying to make output thread exit gracefully.
The switch to using background threads reduced input lag.
2017-03-24 08:06:01 -07:00
Travis Nickles
9d190fcaf7 Correct issue when two threads try to abort ds4Output thread simultaneously 2017-03-24 01:08:31 -07:00
Travis Nickles
4e33578686 Remove some property usage and use explicit getter methods instead.
This shouldn't have been necessary but testing with optimized
release builds has shown that the overhead of using properties
frequently introduces undesired input lag.
2017-03-23 19:32:33 -07:00
Travis Nickles
983e55a0fa Added explicit x64 build configuration 2017-03-23 08:58:26 -07:00
Travis Nickles
3e0e5bebfc Change interval used for warnings depending on protocol 2017-03-23 01:12:50 -07:00
Travis Nickles
bd73978204 More testing of threading changes. 2017-03-22 23:39:31 -07:00
Travis Nickles
ecd36237e7 Fixed issue with sleep being invoked too often
Supposedly the code was needed to help reset the color
of the lightbar. It doesn't seem like it is really needed
though. Keep an eye on this.
2017-03-22 21:45:20 -07:00
Travis Nickles
d295c1af2a Change thread priority back to AboveNormal. Change how threads are killed. 2017-03-22 19:35:18 -07:00
Travis Nickles
7f1a7485a7 Rename static property 2017-03-22 02:41:04 -07:00
Travis Nickles
5dbc193351 Reduced input lag by implementing overlapped IO and changing threading 2017-03-22 00:52:54 -07:00
Travis Nickles
0dd442f813 Use Highest thread priority
It does improve input lag slightly with
no real impact on CPU usage
2017-03-20 15:17:43 -07:00
Travis Nickles
6a3e9ff913 Merge branch 'hold-repeat-macro-fix' of https://github.com/Gorgexpress/DS4Windows into jay 2017-03-19 17:14:14 -07:00
Travis Nickles
d1d7a26a85 Merge branch 'jay' of https://github.com/akashfoss/DS4Windows into jay 2017-03-19 17:09:45 -07:00
Travis Nickles
6fda94f296 Update Xbox 360 Driver Link
Change provided by s-eam
2017-03-19 16:50:01 -07:00
Travis Nickles
419f92ee3f Update some file links to point to new server
Will need to update once a domain name is registered
2017-03-19 16:13:09 -07:00
Travis Nickles
2b00244c62 Raise thread priority.
Using AboveNormal priority for now. Test Highest priority
at some point.
2017-03-19 07:09:57 -07:00
Travis Nickles
ef779afdf2 Version 1.4.53 2017-03-19 01:31:33 -07:00
Travis Nickles
4d5b8ccb96 Raise L2Sens and R2Sens. Change default of Flush HID to false.
With some of the more recent changes, having Flush HID
enabled results in increased input lag.
2017-03-19 01:29:45 -07:00
Travis Nickles
1f42e17996 Merge tracking branch 'lag_reduce' into jay 2017-03-19 00:45:28 -07:00
Travis Nickles
3e8fc84444 Merge branch 'scale_fix' into jay 2017-03-19 00:43:00 -07:00
Travis Nickles
a6d52239e7 Merge branch 'dpad_tweaks' into jay 2017-03-19 00:39:40 -07:00
Travis Nickles
1beb275c4d Remove Prefer 32-bit from project settings 2017-03-19 00:38:30 -07:00
Travis Nickles
36cc2c5012 Add flags to reduce input lag 2017-03-09 16:07:17 -08:00
Travis Nickles
183f88ac46 Allow full XInput axis range for sticks 2017-02-19 01:20:38 -06:00
Travis Nickles
57da16278e Simplify interpreting dpad state 2017-02-18 02:58:44 -06:00
Ondrej Patrovic
2a0cc058e7 Fix disappearing audio with DS4 wireless dongle 2016-11-21 20:06:38 -05:00
akashfoss
c0b26a7a29 Fixed typo 2016-11-12 14:24:25 +05:30
Michael
6cd470c5ad fixed hold to repeat macros not working without manually editing the xml file 2016-10-21 01:43:26 -04:00
Jays2Kings
031efa2b0c Version 1.4.52
Added support for New DS4 Controller (thanks andersfischernielsen)
Fixed sensitivity for sticks, causing crashes when trying to edit a
profile
Typo fixes (thanks josevill)
Updates to German, Polish, Nederlands and more translations
2016-10-08 23:21:44 -04:00
Jays2Kings
ad0d2f8648 Fixed senstivity errors, causing crashes when editing profiles 2016-10-08 21:36:21 -04:00
Anders Fischer-Nielsen
02c0c6564b Added PID for new DS4 controller. 2016-10-05 18:18:59 +02:00
Jays2Kings
5b87490644 fixed a merge request 2016-09-21 22:42:25 -04:00
Jays2Kings
547bd7b001 Merge remote-tracking branch 'origin/jay' into jay
# Conflicts:
#	DS4Windows/DS4Control/ScpUtil.cs
2016-09-21 22:40:27 -04:00
Jays2Kings
1bfc69ee37 Version 1.4.5
Added support for the New DS4 USB Adapater (Thanks to boganhobo and
Chamilsaan)
Implemented teokp's amazing fix for hide ds4 not working on the
anniversary update of Windows 10: when a controller fails to enter
exclusive mode, DS4Windows will ask for admin privilages to fix the
issue.
Now (near)unlimited Special Actions can be made from the previous limit
of 50
Special Action Xbox Game DVR is now no longer limited to Windows 10,
renamed multi action button: Assign a macro to single tap, double tap,
and holding down a button
Added option for White DS4Windows Icon in the notification tray (While
not merged from, thanks to tehmantra)
Added option to temporarily turn off DS4Windows when using a certain
program (togglable in the Auto Profiles Tab) (Same case as above but
thanks to dedChar to bring to light)
Fixed Options crashes in certain locales where decimal points are
repesented with commas, such as German (Thanks to kiliansch)
Added/Updated translations for many languauges, now including Japanese,
Slovenian, Hungarian, Greek, Finnish, Czech, Indonesian, and Ukrainian
2016-09-21 21:38:38 -04:00
Kilian Schuster
465056fff1 Switched config seperator from comma to pipe to not collide with german comma seperated decimals 2016-03-07 18:18:03 +01:00
Jays2Kings
a06d77641f Version 1.4.401
Fixes for inverting the sticks
Updated French, German, Russian, and Vietnamese translations, and added
more credits
2015-12-18 23:11:12 -05:00
Jays2Kings
93936cf311 Version 1.4.4
Revised shift modifier: each button/control has their own independent
shift trigger instead of one universal one
Select an action window: this window now highlights what said control is
currently set to.
Removed unused images, making the exe a meg smaller
Completely revised how the code for custom mapping works
Updated all translations, added partial Dutch/Nederlands Support
2015-12-18 01:25:51 -05:00
Jays2Kings
fa639ba31c Version 1.4.321
Changed the Rainbow button to an actual button
For using the sixaxis as a mouse, changed none to Always on, also better
movement for the gyro when the sensitivity is lowered
Updated Hebrew, Chinese (Traditional), Itilian, Chinese (Simplified)
2015-12-13 16:30:54 -05:00
Jays2Kings
f567bfb0da Fixes for previously broken Updater 2015-12-05 05:38:04 -05:00
Jays2Kings
b528f3ec61 Version 1.4.32
Added Sensitivity settings for both sticks, triggers, and the gyro
Fixed the select an action window popping up after closing the profile
settings or in another tab
Fixed the lightbar button on the main tab being so long, along with some
other random ui fixes
Fixed many issues with making a new profile
When using a custom color the light now fades out based on the current
profile settings (ie. when the battery is low)
Added Hebrew and Vietnamese translations
Updated Chinese (T), Russian, German, Polish
2015-12-05 03:55:11 -05:00
Jays2Kings
2846a0389f Version 1.4.31
Revised the Profile settings UI to fit all the settings on the screen.
Fixed not being able to have a negative scroll value for the touchpad
Less lag when opening/reopening profile settings
Added Arabic Translation (Thanks K.F), updated French, Polish, and
Portuguese translations
2015-11-30 16:15:17 -05:00
Jays2Kings
8d9f69db44 Version 1.4.3
Complete rehaul of the profile settings, bigger workspace to edit
controls, and all the settings are on the side now
Added option to change the lightbar color, regardless of the profile's
lightbar setting (useful for using one profile on the same controller).
to change click the colored button beside edit in the main tab
Can now set the Gyro as an 1:1 absolute mouse, in this mode the mouse
now moves as the controller is moved
Removed the experimental exclusive connection button if on the newest
Windows 10 build (1511/TH2)
Finally updated all the translations and added some new ones (such as
Chinese and Polish, the translations sheets have been merged to one so
it's easier for me to update
2015-11-28 00:47:26 -05:00
jays2kings
3680b6b425 Version 1.4.27
(Windows 10) Thanks to another workaround found, it has been added to
DS4Windows, there is a button on the main tab, to connect your
controller exclusively, this will temporarily kill explorer (The
taskbar) and bring it back once a controller is connected
Macros: When recording with a delay, you can now add rumble and changing
the lightbar color during the macro, you can use the touchpad zones to
add rumble or lightbar options. To change how much rumble happens or the
lightbar color, just double click the item in the list
2015-08-12 23:56:39 -04:00
jays2kings
0cbcccc9ee Version 1.4.269
Fixed trying to edit actions with Xbox Game DVR
Fixed Hide DS4 crashing DS4Windows on 64-bit machines
2015-08-01 17:24:08 -04:00
jays2kings
f5c9dbff11 Version 1.4.267
Fixes for adding programs to auto profiles
2015-07-30 23:51:16 -04:00
jays2kings
86079b029e Version 1.4.266
Flash Lightbar when at high latency now has the option to choose what
you decide is high latency
Show Notifications now has the option to only show warnings, such as
when a controller cannot be grabbed exclusively
Speaking of bad news for Windows 10 users: Hide DS4 has now been
disabled, until i can figure out why this is, it will be disabled, this
means some games that rely on this may not work properly or at all,
sorry about that
As for good news for Windows 10, did you know you can press Windows + G
to open a game bar which can record games. For Windows 10 users, there's
a new special action: Xbox Game DVR. Pick a trigger (only one button)
and tapping/holding/or double tapping does various things, such as
start/stop recording, save an ongoing recording, take a screenshot (via
the xbox app's option or your own hotkey ie form steam), or just open
the gamebar
Much of the code has been updated with c# 6.0
Added manifest so DS4Windows can notice Windows 10 and high DPIs, also
reorganized files
2015-07-30 23:34:22 -04:00
jays2kings
5945185fbc Version 1.4.26
Updated German translation
Added Turkish translation (Thanks Lütfi)
When the battery is low and the controller is disconnected, The
notification tell you to charge the controller, this notification also
now shows the controller number instead of the mac address
While Double tapping to drag or left clicking the touchpad, you can use
a second finger to drag the mouse cursor (ala Mac touchpads)
In Auto Profiles, you can now add a directory/folder of programs
2015-06-01 15:04:22 -04:00
jays2kings
f70b6061e8 Version 1.4.25
Added inverted deadzones to Left and Right Sticks, set the values to
negative and pushing the stick past the red in the controller readout
will make sure the output doesn't pass the set limit
Fixed bug when trying to invert left and right stick with Shift modifier
Fixed "Fall back to" text in shift modifier
Added Romanian Translation (Thanks Vlad Giurgiu and Anonim)
Updated German (added thanks to Jan-Stefan Janetzky & An Op
Turk[DedSec]), Russian, and French translations
2015-04-21 15:00:09 -04:00
jays2kings
3da12e5048 Version 1.4.245
Fix settings tab text being blank after clicking controller/driver setup
Check if .Net 4.5 or higher is installed at the start.
Fix crash with certain macro
Option to disable flashing light when controller latency is over 10ms
Special Action Program: Added Arguments/Command Line and hold trigger
for x seconds to launch program
Bug fixes
2015-03-15 14:16:01 -04:00
jays2kings
e5a26eed47 Version 1.4.241
Fixed being unable to switch profiles when using certain language packs
Removed not yet implemented controls in options
Updated Italian Translation
2015-02-13 15:19:59 -05:00
jays2kings
b0edeb634e Version 1.4.24
New Special Action: Check Battery life, choose to see the battery via a
notification or via the lightbar with a gradient of your choice
Sixaxis tilting added to special action triggers
Added Special macros to be used by pressing the Load Presets button,
selecting Cycle Programs allows you to hold the button to cycle through
open programs, and edit the wait time to choose how long you hold the
button down to go to the next program
Can now add additional recordings between macros, click in the list
where you want to add
Can now delete actions in the macro by pressing delete
Fixed color by battery being inverted
Fixed bluetooth light being completely off when stopping/exiting
DS4Windows
Updated translation sheets (new items highlighted in 3rd column in green
for easier finding)
2015-02-12 14:36:40 -05:00
jays2kings
0cb77ad07f Version 1.4.231
Fixed charging light not saving (thanks tehmantra)
Truly finished Italian Translation
2015-02-10 16:45:56 -05:00
jays2kings
7d7d5d7391 Version 1.4.23
Extended range needed for touchpad swipes actions to register
UI adjustments in profile settings, such as a color box for flashing
color, alignment adjustments, and the Sixaxis reading dot staying in
bounds of the box
Recording a macro for special actions now open up in a new window,
allowing for ctrl+tab to be used
When controller's latency passes 10ms, the log will show and the
controller will flash red until the latency is under 10ms
Hovering over the mac address shows the latency of said controller, if
it's connected via bluetooth
Option to choose when at low battery for the light to flash or pulse
Much cleaner/neater hotkeys/about window
Option to download language packs if your PC is not set to an english
language
Finished Italian Translations (Thanks again Giulio)
Finished German Translations (Thanks Ammonjak)
Updated Italian & Russian Translations
Reorganized the the code so all cs files are under the same project
2015-02-08 16:51:52 -05:00