2014-03-28 02:50:40 +01:00
|
|
|
|
using System;
|
|
|
|
|
using System.Windows.Forms;
|
2015-02-08 22:51:52 +01:00
|
|
|
|
|
Shift modifier: Hold an action to use another set of controls, if nothing is set to the shifted control, in falls back to the default action
View input of controls in profiles, see exactly when a deadzone is passed and check the input delay for controllers (special thanks to jhebbel), click the on sixaxis panel
Click the Empty text on in the lightbar box to copy the lightbar color from full to empty.
While opened, option to keep the window size after closing the profile's settings
Old profiles are automatically upgraded if it's missing new settings, such as how colors are now saved, sixaxis deadzones, and shift controls
Other UI changes for profile settings, flipped touchpad and other settings boxes
Others:
Fix for when clicking the semicolon in the select an action screen
Fix assigning Sixaxis action to a key
minor UI changes and bug fixes, such as auto resize of the log listview
DS4Updater: Also now works for the new numbering system, can read the version number right from the exe instead of in profiles.xml, UI additions to better notify users of errors, Bug fixes for non-portable users
2014-07-07 21:22:42 +02:00
|
|
|
|
using System.Reflection;
|
|
|
|
|
using System.Diagnostics;
|
2015-12-05 09:55:11 +01:00
|
|
|
|
using System.Drawing;
|
2014-03-28 02:50:40 +01:00
|
|
|
|
|
2019-04-30 21:29:50 +02:00
|
|
|
|
namespace DS4Windows.Forms
|
2014-03-28 02:50:40 +01:00
|
|
|
|
{
|
|
|
|
|
public partial class Hotkeys : Form
|
|
|
|
|
{
|
Shift modifier: Hold an action to use another set of controls, if nothing is set to the shifted control, in falls back to the default action
View input of controls in profiles, see exactly when a deadzone is passed and check the input delay for controllers (special thanks to jhebbel), click the on sixaxis panel
Click the Empty text on in the lightbar box to copy the lightbar color from full to empty.
While opened, option to keep the window size after closing the profile's settings
Old profiles are automatically upgraded if it's missing new settings, such as how colors are now saved, sixaxis deadzones, and shift controls
Other UI changes for profile settings, flipped touchpad and other settings boxes
Others:
Fix for when clicking the semicolon in the select an action screen
Fix assigning Sixaxis action to a key
minor UI changes and bug fixes, such as auto resize of the log listview
DS4Updater: Also now works for the new numbering system, can read the version number right from the exe instead of in profiles.xml, UI additions to better notify users of errors, Bug fixes for non-portable users
2014-07-07 21:22:42 +02:00
|
|
|
|
public Hotkeys()
|
2014-03-28 02:50:40 +01:00
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
2017-05-20 02:53:57 +02:00
|
|
|
|
|
Shift modifier: Hold an action to use another set of controls, if nothing is set to the shifted control, in falls back to the default action
View input of controls in profiles, see exactly when a deadzone is passed and check the input delay for controllers (special thanks to jhebbel), click the on sixaxis panel
Click the Empty text on in the lightbar box to copy the lightbar color from full to empty.
While opened, option to keep the window size after closing the profile's settings
Old profiles are automatically upgraded if it's missing new settings, such as how colors are now saved, sixaxis deadzones, and shift controls
Other UI changes for profile settings, flipped touchpad and other settings boxes
Others:
Fix for when clicking the semicolon in the select an action screen
Fix assigning Sixaxis action to a key
minor UI changes and bug fixes, such as auto resize of the log listview
DS4Updater: Also now works for the new numbering system, can read the version number right from the exe instead of in profiles.xml, UI additions to better notify users of errors, Bug fixes for non-portable users
2014-07-07 21:22:42 +02:00
|
|
|
|
FileVersionInfo fvi = FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location);
|
|
|
|
|
string version = fvi.FileVersion;
|
|
|
|
|
lbAbout.Text += version + ")";
|
2015-02-08 22:51:52 +01:00
|
|
|
|
if (tPCredits.HasChildren)
|
2017-05-20 02:53:57 +02:00
|
|
|
|
{
|
|
|
|
|
foreach (Control ctrl in tPCredits.Controls)
|
2015-02-08 22:51:52 +01:00
|
|
|
|
{
|
|
|
|
|
if (ctrl.HasChildren)
|
2017-05-20 02:53:57 +02:00
|
|
|
|
{
|
|
|
|
|
foreach (Control ctrl2 in ctrl.Controls)
|
2015-02-08 22:51:52 +01:00
|
|
|
|
ctrl2.MouseHover += Items_MouseHover;
|
2017-05-20 02:53:57 +02:00
|
|
|
|
}
|
|
|
|
|
|
2015-02-08 22:51:52 +01:00
|
|
|
|
ctrl.MouseHover += Items_MouseHover;
|
|
|
|
|
}
|
2017-05-20 02:53:57 +02:00
|
|
|
|
}
|
|
|
|
|
|
2015-02-08 22:51:52 +01:00
|
|
|
|
tPCredits.MouseHover += Items_MouseHover;
|
|
|
|
|
lbLinkText.Text = string.Empty;
|
2014-03-28 02:50:40 +01:00
|
|
|
|
}
|
|
|
|
|
|
2015-02-08 22:51:52 +01:00
|
|
|
|
private void Items_MouseHover(object sender, EventArgs e)
|
2014-03-28 02:50:40 +01:00
|
|
|
|
{
|
2017-05-20 02:53:57 +02:00
|
|
|
|
switch (((Control)sender).Name)
|
2015-02-08 22:51:52 +01:00
|
|
|
|
{
|
|
|
|
|
case "linkJays2Kings": lbLinkText.Text = "http://ds4windows.com"; break;
|
|
|
|
|
case "linkElectro": lbLinkText.Text = "https://code.google.com/r/brianfundakowskifeldman-ds4windows/"; break;
|
|
|
|
|
case "linkInhexSTER": lbLinkText.Text = "https://code.google.com/p/ds4-tool/"; break;
|
|
|
|
|
case "linkJhebbel": lbLinkText.Text = "http://dsdcs.com/index.php/portfolio/software-development/4-ds4windows"; break;
|
2018-03-22 07:24:33 +01:00
|
|
|
|
case "linkCurrentSite": lbLinkText.Text = "https://ryochan7.github.io/ds4windows-site/"; break;
|
2017-05-20 02:53:57 +02:00
|
|
|
|
case "linkSourceCode": lbLinkText.Text = "https://github.com/Ryochan7/DS4Windows"; break;
|
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-22 03:38:38 +02:00
|
|
|
|
case "linkBoganhobo": lbLinkText.Text = "https://github.com/boganhobo"; break;
|
|
|
|
|
case "linkChamilsaan": lbLinkText.Text = "https://github.com/Chamilsaan"; break;
|
|
|
|
|
case "linkKiliansch": lbLinkText.Text = "https://github.com/kiliansch"; break;
|
|
|
|
|
case "linkTeokp": lbLinkText.Text = "https://github.com/teokp"; break;
|
2015-02-08 22:51:52 +01:00
|
|
|
|
default: lbLinkText.Text = string.Empty; break;
|
|
|
|
|
}
|
2014-03-28 02:50:40 +01:00
|
|
|
|
}
|
2014-05-16 00:10:17 +02:00
|
|
|
|
|
2018-02-19 09:57:29 +01:00
|
|
|
|
private void LinkJays2Kings_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
2014-05-16 00:10:17 +02:00
|
|
|
|
{
|
2017-08-05 05:25:03 +02:00
|
|
|
|
Process.Start("https://github.com/Jays2Kings/");
|
2014-05-16 00:10:17 +02:00
|
|
|
|
}
|
|
|
|
|
|
2015-02-08 22:51:52 +01:00
|
|
|
|
private void linkElectro_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
2014-05-16 00:10:17 +02:00
|
|
|
|
{
|
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-22 03:38:38 +02:00
|
|
|
|
Process.Start("https://code.google.com/r/brianfundakowskifeldman-ds4windows/");
|
2014-05-16 00:10:17 +02:00
|
|
|
|
}
|
2014-05-21 07:36:05 +02:00
|
|
|
|
|
|
|
|
|
private void linkInhexSTER_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
|
|
|
|
{
|
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-22 03:38:38 +02:00
|
|
|
|
Process.Start("https://code.google.com/p/ds4-tool/");
|
2014-05-21 07:36:05 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void linkJhebbel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
|
|
|
|
{
|
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-22 03:38:38 +02:00
|
|
|
|
Process.Start("http://dsdcs.com/index.php/portfolio/software-development/4-ds4windows");
|
2014-05-21 07:36:05 +02:00
|
|
|
|
}
|
|
|
|
|
|
2018-02-19 09:57:29 +01:00
|
|
|
|
private void LLChangelog_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
2014-06-17 01:43:01 +02:00
|
|
|
|
{
|
2017-03-29 16:26:07 +02:00
|
|
|
|
Process.Start("https://docs.google.com/document/d/1CovpH08fbPSXrC6TmEprzgPwCe0tTjQ_HTFfDotpmxk/edit?usp=sharing");
|
2014-06-17 01:43:01 +02:00
|
|
|
|
}
|
|
|
|
|
|
2018-02-19 09:57:29 +01:00
|
|
|
|
private void LinkDonate_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
2014-06-24 00:27:14 +02:00
|
|
|
|
{
|
2017-05-20 02:53:57 +02:00
|
|
|
|
Process.Start("https://paypal.me/ryochan7");
|
2014-06-24 00:27:14 +02:00
|
|
|
|
}
|
|
|
|
|
|
2018-03-22 07:24:33 +01:00
|
|
|
|
private void LinkSourceCode_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
2015-02-08 22:51:52 +01:00
|
|
|
|
{
|
2017-05-20 02:53:57 +02:00
|
|
|
|
Process.Start("https://github.com/Ryochan7/DS4Windows");
|
2015-02-08 22:51:52 +01:00
|
|
|
|
}
|
|
|
|
|
|
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-22 03:38:38 +02:00
|
|
|
|
private void linkBoganhobo_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
|
|
|
|
{
|
|
|
|
|
Process.Start("https://github.com/boganhobo");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void linkChamilsaan_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
|
|
|
|
{
|
|
|
|
|
Process.Start("https://github.com/Chamilsaan");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void linkKiliansch_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
|
|
|
|
{
|
|
|
|
|
Process.Start("https://github.com/kiliansch");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void linkTeokp_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
|
|
|
|
{
|
|
|
|
|
Process.Start("https://github.com/teokp");
|
|
|
|
|
}
|
2018-01-27 03:32:31 +01:00
|
|
|
|
|
2018-03-22 07:24:33 +01:00
|
|
|
|
private void LinkCurrentSite_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
|
|
|
|
{
|
|
|
|
|
Process.Start("https://ryochan7.github.io/ds4windows-site/");
|
|
|
|
|
}
|
2019-04-19 11:10:29 +02:00
|
|
|
|
|
|
|
|
|
private void LinkPatreon_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
|
|
|
|
{
|
|
|
|
|
Process.Start("https://patreon.com/user?u=501036");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void LinkSubStar_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
|
|
|
|
{
|
|
|
|
|
Process.Start("https://subscribestar.com/ryochan7");
|
|
|
|
|
}
|
2014-03-28 02:50:40 +01:00
|
|
|
|
}
|
|
|
|
|
}
|