mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-23 17:59:16 +01:00
f8dd4c6cba
Added Presets for Dpad, Left and Right Sticks, Face Buttons, Sixaxis, and Touchpad Swipes; right click on those controls to select a preset) Fully fixed Scan code, now will work fine in old DirectX games Macros for Special Actions can now have scan code enabled (if you didn't know you can enable scan code on macros for single controls as well, even after you've configured the macro) Control list now shows if scan code is enabled
363 lines
20 KiB
C#
363 lines
20 KiB
C#
namespace DS4Windows
|
|
{
|
|
partial class SpecActions
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.components = new System.ComponentModel.Container();
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SpecActions));
|
|
this.lVTrigger = new System.Windows.Forms.ListView();
|
|
this.cHTrigger = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
|
this.btnRecordMacro = new System.Windows.Forms.Button();
|
|
this.btnBrowse = new System.Windows.Forms.Button();
|
|
this.cBProfiles = new System.Windows.Forms.ComboBox();
|
|
this.btnSave = new System.Windows.Forms.Button();
|
|
this.btnCancel = new System.Windows.Forms.Button();
|
|
this.lbName = new System.Windows.Forms.Label();
|
|
this.tBName = new System.Windows.Forms.TextBox();
|
|
this.cBActions = new System.Windows.Forms.ComboBox();
|
|
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
|
|
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
|
|
this.pBProgram = new System.Windows.Forms.PictureBox();
|
|
this.lbProgram = new System.Windows.Forms.Label();
|
|
this.btnBorder = new System.Windows.Forms.Button();
|
|
this.btnSetUTrigger = new System.Windows.Forms.Button();
|
|
this.lVUnloadTrigger = new System.Windows.Forms.ListView();
|
|
this.cHUnloadTrigger = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
|
this.pnlProgram = new System.Windows.Forms.Panel();
|
|
this.pnlMacro = new System.Windows.Forms.Panel();
|
|
this.lbMacroRecorded = new System.Windows.Forms.Label();
|
|
this.pnlProfile = new System.Windows.Forms.Panel();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.cBMacroScanCode = new System.Windows.Forms.CheckBox();
|
|
((System.ComponentModel.ISupportInitialize)(this.pBProgram)).BeginInit();
|
|
this.pnlProgram.SuspendLayout();
|
|
this.pnlMacro.SuspendLayout();
|
|
this.pnlProfile.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// lVTrigger
|
|
//
|
|
resources.ApplyResources(this.lVTrigger, "lVTrigger");
|
|
this.lVTrigger.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
this.lVTrigger.CheckBoxes = true;
|
|
this.lVTrigger.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
|
this.cHTrigger});
|
|
this.lVTrigger.FullRowSelect = true;
|
|
this.lVTrigger.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
|
|
this.lVTrigger.HideSelection = false;
|
|
this.lVTrigger.Items.AddRange(new System.Windows.Forms.ListViewItem[] {
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVTrigger.Items"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVTrigger.Items1"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVTrigger.Items2"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVTrigger.Items3"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVTrigger.Items4"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVTrigger.Items5"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVTrigger.Items6"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVTrigger.Items7"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVTrigger.Items8"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVTrigger.Items9"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVTrigger.Items10"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVTrigger.Items11"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVTrigger.Items12"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVTrigger.Items13"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVTrigger.Items14"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVTrigger.Items15"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVTrigger.Items16"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVTrigger.Items17"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVTrigger.Items18"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVTrigger.Items19"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVTrigger.Items20"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVTrigger.Items21"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVTrigger.Items22"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVTrigger.Items23"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVTrigger.Items24"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVTrigger.Items25"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVTrigger.Items26"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVTrigger.Items27"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVTrigger.Items28"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVTrigger.Items29"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVTrigger.Items30"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVTrigger.Items31"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVTrigger.Items32")))});
|
|
this.lVTrigger.MultiSelect = false;
|
|
this.lVTrigger.Name = "lVTrigger";
|
|
this.lVTrigger.ShowGroups = false;
|
|
this.lVTrigger.ShowItemToolTips = true;
|
|
this.lVTrigger.UseCompatibleStateImageBehavior = false;
|
|
this.lVTrigger.View = System.Windows.Forms.View.Details;
|
|
this.lVTrigger.ItemChecked += new System.Windows.Forms.ItemCheckedEventHandler(this.lVTrigger_ItemChecked);
|
|
//
|
|
// cHTrigger
|
|
//
|
|
resources.ApplyResources(this.cHTrigger, "cHTrigger");
|
|
//
|
|
// btnRecordMacro
|
|
//
|
|
resources.ApplyResources(this.btnRecordMacro, "btnRecordMacro");
|
|
this.btnRecordMacro.Name = "btnRecordMacro";
|
|
this.btnRecordMacro.UseVisualStyleBackColor = true;
|
|
this.btnRecordMacro.Click += new System.EventHandler(this.btnRecordMacro_Click);
|
|
//
|
|
// btnBrowse
|
|
//
|
|
resources.ApplyResources(this.btnBrowse, "btnBrowse");
|
|
this.btnBrowse.Name = "btnBrowse";
|
|
this.btnBrowse.UseVisualStyleBackColor = true;
|
|
this.btnBrowse.Click += new System.EventHandler(this.btnBroswe_Click);
|
|
//
|
|
// cBProfiles
|
|
//
|
|
this.cBProfiles.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cBProfiles.FormattingEnabled = true;
|
|
resources.ApplyResources(this.cBProfiles, "cBProfiles");
|
|
this.cBProfiles.Name = "cBProfiles";
|
|
this.cBProfiles.SelectedIndexChanged += new System.EventHandler(this.lVUnloadTrigger_SelectedIndexChanged);
|
|
//
|
|
// btnSave
|
|
//
|
|
resources.ApplyResources(this.btnSave, "btnSave");
|
|
this.btnSave.Name = "btnSave";
|
|
this.btnSave.UseVisualStyleBackColor = true;
|
|
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
|
|
//
|
|
// btnCancel
|
|
//
|
|
resources.ApplyResources(this.btnCancel, "btnCancel");
|
|
this.btnCancel.Name = "btnCancel";
|
|
this.btnCancel.UseVisualStyleBackColor = true;
|
|
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
|
|
//
|
|
// lbName
|
|
//
|
|
resources.ApplyResources(this.lbName, "lbName");
|
|
this.lbName.Name = "lbName";
|
|
//
|
|
// tBName
|
|
//
|
|
resources.ApplyResources(this.tBName, "tBName");
|
|
this.tBName.Name = "tBName";
|
|
this.tBName.TextChanged += new System.EventHandler(this.tBName_TextChanged);
|
|
//
|
|
// cBActions
|
|
//
|
|
this.cBActions.Cursor = System.Windows.Forms.Cursors.Default;
|
|
this.cBActions.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cBActions.FormattingEnabled = true;
|
|
this.cBActions.Items.AddRange(new object[] {
|
|
resources.GetString("cBActions.Items"),
|
|
resources.GetString("cBActions.Items1"),
|
|
resources.GetString("cBActions.Items2"),
|
|
resources.GetString("cBActions.Items3")});
|
|
resources.ApplyResources(this.cBActions, "cBActions");
|
|
this.cBActions.Name = "cBActions";
|
|
this.cBActions.SelectedIndexChanged += new System.EventHandler(this.cBActions_SelectedIndexChanged);
|
|
//
|
|
// imageList1
|
|
//
|
|
this.imageList1.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit;
|
|
resources.ApplyResources(this.imageList1, "imageList1");
|
|
this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
|
|
//
|
|
// pBProgram
|
|
//
|
|
resources.ApplyResources(this.pBProgram, "pBProgram");
|
|
this.pBProgram.Name = "pBProgram";
|
|
this.pBProgram.TabStop = false;
|
|
//
|
|
// lbProgram
|
|
//
|
|
resources.ApplyResources(this.lbProgram, "lbProgram");
|
|
this.lbProgram.Name = "lbProgram";
|
|
//
|
|
// btnBorder
|
|
//
|
|
resources.ApplyResources(this.btnBorder, "btnBorder");
|
|
this.btnBorder.BackColor = System.Drawing.SystemColors.ControlDark;
|
|
this.btnBorder.ForeColor = System.Drawing.Color.WhiteSmoke;
|
|
this.btnBorder.Name = "btnBorder";
|
|
this.btnBorder.UseVisualStyleBackColor = false;
|
|
//
|
|
// btnSetUTrigger
|
|
//
|
|
resources.ApplyResources(this.btnSetUTrigger, "btnSetUTrigger");
|
|
this.btnSetUTrigger.Name = "btnSetUTrigger";
|
|
this.btnSetUTrigger.UseVisualStyleBackColor = true;
|
|
this.btnSetUTrigger.Click += new System.EventHandler(this.btnSetUTrigger_Click);
|
|
//
|
|
// lVUnloadTrigger
|
|
//
|
|
resources.ApplyResources(this.lVUnloadTrigger, "lVUnloadTrigger");
|
|
this.lVUnloadTrigger.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
this.lVUnloadTrigger.CheckBoxes = true;
|
|
this.lVUnloadTrigger.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
|
this.cHUnloadTrigger});
|
|
this.lVUnloadTrigger.FullRowSelect = true;
|
|
this.lVUnloadTrigger.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
|
|
this.lVUnloadTrigger.HideSelection = false;
|
|
this.lVUnloadTrigger.Items.AddRange(new System.Windows.Forms.ListViewItem[] {
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVUnloadTrigger.Items"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVUnloadTrigger.Items1"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVUnloadTrigger.Items2"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVUnloadTrigger.Items3"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVUnloadTrigger.Items4"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVUnloadTrigger.Items5"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVUnloadTrigger.Items6"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVUnloadTrigger.Items7"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVUnloadTrigger.Items8"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVUnloadTrigger.Items9"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVUnloadTrigger.Items10"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVUnloadTrigger.Items11"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVUnloadTrigger.Items12"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVUnloadTrigger.Items13"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVUnloadTrigger.Items14"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVUnloadTrigger.Items15"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVUnloadTrigger.Items16"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVUnloadTrigger.Items17"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVUnloadTrigger.Items18"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVUnloadTrigger.Items19"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVUnloadTrigger.Items20"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVUnloadTrigger.Items21"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVUnloadTrigger.Items22"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVUnloadTrigger.Items23"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVUnloadTrigger.Items24"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVUnloadTrigger.Items25"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVUnloadTrigger.Items26"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVUnloadTrigger.Items27"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVUnloadTrigger.Items28"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVUnloadTrigger.Items29"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVUnloadTrigger.Items30"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVUnloadTrigger.Items31"))),
|
|
((System.Windows.Forms.ListViewItem)(resources.GetObject("lVUnloadTrigger.Items32")))});
|
|
this.lVUnloadTrigger.MultiSelect = false;
|
|
this.lVUnloadTrigger.Name = "lVUnloadTrigger";
|
|
this.lVUnloadTrigger.ShowGroups = false;
|
|
this.lVUnloadTrigger.ShowItemToolTips = true;
|
|
this.lVUnloadTrigger.UseCompatibleStateImageBehavior = false;
|
|
this.lVUnloadTrigger.View = System.Windows.Forms.View.Details;
|
|
this.lVUnloadTrigger.ItemChecked += new System.Windows.Forms.ItemCheckedEventHandler(this.lVUnloadTrigger_ItemChecked);
|
|
//
|
|
// cHUnloadTrigger
|
|
//
|
|
resources.ApplyResources(this.cHUnloadTrigger, "cHUnloadTrigger");
|
|
//
|
|
// pnlProgram
|
|
//
|
|
this.pnlProgram.Controls.Add(this.btnBrowse);
|
|
this.pnlProgram.Controls.Add(this.lbProgram);
|
|
this.pnlProgram.Controls.Add(this.pBProgram);
|
|
resources.ApplyResources(this.pnlProgram, "pnlProgram");
|
|
this.pnlProgram.Name = "pnlProgram";
|
|
//
|
|
// pnlMacro
|
|
//
|
|
this.pnlMacro.Controls.Add(this.cBMacroScanCode);
|
|
this.pnlMacro.Controls.Add(this.btnRecordMacro);
|
|
this.pnlMacro.Controls.Add(this.lbMacroRecorded);
|
|
resources.ApplyResources(this.pnlMacro, "pnlMacro");
|
|
this.pnlMacro.Name = "pnlMacro";
|
|
//
|
|
// lbMacroRecorded
|
|
//
|
|
resources.ApplyResources(this.lbMacroRecorded, "lbMacroRecorded");
|
|
this.lbMacroRecorded.Name = "lbMacroRecorded";
|
|
//
|
|
// pnlProfile
|
|
//
|
|
this.pnlProfile.Controls.Add(this.label1);
|
|
this.pnlProfile.Controls.Add(this.cBProfiles);
|
|
this.pnlProfile.Controls.Add(this.btnSetUTrigger);
|
|
resources.ApplyResources(this.pnlProfile, "pnlProfile");
|
|
this.pnlProfile.Name = "pnlProfile";
|
|
//
|
|
// label1
|
|
//
|
|
resources.ApplyResources(this.label1, "label1");
|
|
this.label1.Name = "label1";
|
|
//
|
|
// cBMacroScanCode
|
|
//
|
|
resources.ApplyResources(this.cBMacroScanCode, "cBMacroScanCode");
|
|
this.cBMacroScanCode.Name = "cBMacroScanCode";
|
|
this.cBMacroScanCode.UseVisualStyleBackColor = true;
|
|
//
|
|
// SpecActions
|
|
//
|
|
resources.ApplyResources(this, "$this");
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.BackColor = System.Drawing.SystemColors.Control;
|
|
this.Controls.Add(this.pnlMacro);
|
|
this.Controls.Add(this.pnlProfile);
|
|
this.Controls.Add(this.pnlProgram);
|
|
this.Controls.Add(this.tBName);
|
|
this.Controls.Add(this.cBActions);
|
|
this.Controls.Add(this.btnCancel);
|
|
this.Controls.Add(this.btnSave);
|
|
this.Controls.Add(this.lbName);
|
|
this.Controls.Add(this.lVTrigger);
|
|
this.Controls.Add(this.lVUnloadTrigger);
|
|
this.Controls.Add(this.btnBorder);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
|
this.Name = "SpecActions";
|
|
((System.ComponentModel.ISupportInitialize)(this.pBProgram)).EndInit();
|
|
this.pnlProgram.ResumeLayout(false);
|
|
this.pnlMacro.ResumeLayout(false);
|
|
this.pnlMacro.PerformLayout();
|
|
this.pnlProfile.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.ListView lVTrigger;
|
|
private System.Windows.Forms.ColumnHeader cHTrigger;
|
|
private System.Windows.Forms.Button btnRecordMacro;
|
|
private System.Windows.Forms.Button btnBrowse;
|
|
private System.Windows.Forms.ComboBox cBProfiles;
|
|
private System.Windows.Forms.Button btnSave;
|
|
private System.Windows.Forms.Button btnCancel;
|
|
private System.Windows.Forms.Label lbName;
|
|
private System.Windows.Forms.TextBox tBName;
|
|
private System.Windows.Forms.ComboBox cBActions;
|
|
private System.Windows.Forms.OpenFileDialog openFileDialog1;
|
|
private System.Windows.Forms.ImageList imageList1;
|
|
private System.Windows.Forms.PictureBox pBProgram;
|
|
private System.Windows.Forms.Label lbProgram;
|
|
private System.Windows.Forms.Button btnBorder;
|
|
private System.Windows.Forms.Button btnSetUTrigger;
|
|
private System.Windows.Forms.ListView lVUnloadTrigger;
|
|
private System.Windows.Forms.ColumnHeader cHUnloadTrigger;
|
|
private System.Windows.Forms.Panel pnlProgram;
|
|
private System.Windows.Forms.Panel pnlMacro;
|
|
private System.Windows.Forms.Panel pnlProfile;
|
|
public System.Windows.Forms.Label lbMacroRecorded;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.CheckBox cBMacroScanCode;
|
|
}
|
|
} |