Skip to content

Commit

Permalink
Version 1.4.2
Browse files Browse the repository at this point in the history
Special Actions: press a control or a set of controls to perform a
macro, launch a program/file, or load a different profile. Create new
actions in profile options, and check which ones you want the selected
profile to use.
Set an analog curve for the left and right stick, see the changes live
in the controller readout
Option to set the close button to minimize DS4Windows, and truly close
it by the notification icon
Added Spanish Translations (added credits to the translations sheets so
users can be properly thanked if wanted to be)
Sticks Deadzone reworked from being a square to radial as the controller
readout actually shows
Fix pressing keyboard not setting an action for controls
Fix Tilts and Swipes controls not showing text in the control list
Fix program crashing when uses x360 macros with shift controls
Fix for trying to edit a profile from the context menu after never
restoring DS4Windows form start.
Fix for settings low flash color
Now running with startup will always start minimized, even if start
minimized is unchecked
  • Loading branch information
Jays2Kings committed Dec 13, 2014
1 parent 7929e12 commit 7673d63
Show file tree
Hide file tree
Showing 45 changed files with 18,725 additions and 8,893 deletions.
12 changes: 6 additions & 6 deletions DS4Control/Control.cs
Original file line number Diff line number Diff line change
Expand Up @@ -407,17 +407,17 @@ protected virtual void On_Report(object sender, EventArgs e)
Global.ControllerStatusChanged(this);
CheckForHotkeys(ind, cState, pState);
GetInputkeys(ind);

if (Global.getHasCustomKeysorButtons(ind) || Global.getHasShiftCustomKeysorButtons(ind))
if (Global.getLSCurve(ind) + Global.getRSCurve(ind) + Global.getLSDeadzone(ind) + Global.getRSDeadzone(ind) +
Global.getL2Deadzone(ind) + Global.getR2Deadzone(ind) > 0) //if a curve or deadzone is in place
cState = Mapping.SetCurveAndDeadzone(ind, cState);
if (!recordingMacro && (!string.IsNullOrEmpty(Global.tempprofilename[ind]) ||
Global.getHasCustomKeysorButtons(ind) || Global.getHasShiftCustomKeysorButtons(ind)))
{
if (!recordingMacro)
Mapping.MapCustom(ind, cState, MappedState[ind], ExposedState[ind], touchPad[ind]);
Mapping.MapCustom(ind, cState, MappedState[ind], ExposedState[ind], touchPad[ind], this);
cState = MappedState[ind];
}
if (Global.getHasCustomExtras(ind))
{
DoExtras(ind);
}

// Update the GUI/whatever.
DS4LightBar.updateLightBar(device, ind, cState, ExposedState[ind], touchPad[ind]);
Expand Down
1 change: 1 addition & 0 deletions DS4Control/DS4Control.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.fr-FR.resx" />
<EmbeddedResource Include="Properties\Resources.es.resx" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Expand Down
405 changes: 346 additions & 59 deletions DS4Control/Mapping.cs

Large diffs are not rendered by default.

183 changes: 183 additions & 0 deletions DS4Control/Properties/Resources.es.resx
Original file line number Diff line number Diff line change
@@ -0,0 +1,183 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="Battery" xml:space="preserve">
<value>Bateria: *number*%</value>
</data>
<data name="Charged" xml:space="preserve">
<value>Cargado</value>
</data>
<data name="Charging" xml:space="preserve">
<value>Cargando: *number*%</value>
</data>
<data name="Connecting" xml:space="preserve">
<value>Conectando...</value>
</data>
<data name="ControllerWasRemoved" xml:space="preserve">
<value>Controlador *Mac address* perdio la conexion o fue desconectado</value>
</data>
<data name="CouldNotOpenDS4" xml:space="preserve">
<value>Advertencia: No se puede abrir DS4 *Mac address* exclusivamente.</value>
</data>
<data name="FoundController" xml:space="preserve">
<value>Controlador Encontrado.</value>
</data>
<data name="Full" xml:space="preserve">
<value>Completo</value>
</data>
<data name="NA" xml:space="preserve">
<value>N/A</value>
</data>
<data name="NoneText" xml:space="preserve">
<value>ninguno</value>
</data>
<data name="QuitOtherPrograms" xml:space="preserve">
<value>Debes de salir de otras aplicaciones como Steam, Uplay antes activando la opcion "Ocultar controlador DS4"</value>
</data>
<data name="SearchingController" xml:space="preserve">
<value>Buscando controladores...</value>
</data>
<data name="Starting" xml:space="preserve">
<value>Iniciando...</value>
</data>
<data name="StoppedDS4Windows" xml:space="preserve">
<value>DS4Windows detenido</value>
</data>
<data name="StoppingDS4" xml:space="preserve">
<value>Deteniendo Controladores DS4</value>
</data>
<data name="StoppingX360" xml:space="preserve">
<value>Deteniendo Controladores X360</value>
</data>
<data name="TouchpadMovementOff" xml:space="preserve">
<value>Movimiento de Touchpad Apagado</value>
</data>
<data name="TouchpadMovementOn" xml:space="preserve">
<value>Movimiento de Touchpad Encendido</value>
</data>
<data name="UsingExclusive" xml:space="preserve">
<value>Usando Modo Exclusivo</value>
</data>
<data name="UsingProfile" xml:space="preserve">
<value>Controlador *number* esta usando perfil "*Profile name*"</value>
</data>
<data name="UsingShared" xml:space="preserve">
<value>Usando Modo Compartido</value>
</data>
</root>
Loading

0 comments on commit 7673d63

Please sign in to comment.