Start a new virtual pad, and update 2012 sln file with new files from past few commits

This commit is contained in:
adelikat 2013-04-28 13:56:29 +00:00
parent 40870f402e
commit 669edc55b3
6 changed files with 464 additions and 0 deletions

View File

@ -420,6 +420,7 @@
<Compile Include="SNESTools\SNESOptions.Designer.cs">
<DependentUpon>SNESOptions.cs</DependentUpon>
</Compile>
<Compile Include="tools\AnalogControlPanel.cs" />
<Compile Include="tools\HexColor.cs">
<SubType>Form</SubType>
</Compile>
@ -510,6 +511,10 @@
<Compile Include="tools\VirtualPadGen3Button.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="tools\VirtualPadN64.cs" />
<Compile Include="tools\VirtualPadN64.Designer.cs">
<DependentUpon>VirtualPadN64.cs</DependentUpon>
</Compile>
<Compile Include="tools\VirtualPadSNES.cs">
<SubType>Component</SubType>
</Compile>
@ -648,6 +653,9 @@
<EmbeddedResource Include="tools\VirtualPadForm.resx">
<DependentUpon>VirtualPadForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="tools\VirtualPadN64.resx">
<DependentUpon>VirtualPadN64.cs</DependentUpon>
</EmbeddedResource>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>

View File

@ -249,12 +249,18 @@
<Compile Include="GBtools\ColorChooserForm.designer.cs">
<DependentUpon>ColorChooserForm.cs</DependentUpon>
</Compile>
<Compile Include="GBtools\GBGameGenie.cs" />
<Compile Include="GBtools\GBGameGenie.Designer.cs">
<DependentUpon>GBGameGenie.cs</DependentUpon>
</Compile>
<Compile Include="GBtools\GBGPUView.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="GBtools\GBGPUView.Designer.cs">
<DependentUpon>GBGPUView.cs</DependentUpon>
</Compile>
<Compile Include="GenGameGenie.cs" />
<Compile Include="GenGameGenie.Designer.cs" />
<Compile Include="Global.cs" />
<Compile Include="HawkFile.cs" />
<Compile Include="HistoryCollection.cs" />
@ -389,6 +395,10 @@
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="SNESTools\SNESGameGenie.cs" />
<Compile Include="SNESTools\SNESGameGenie.Designer.cs">
<DependentUpon>SNESGameGenie.cs</DependentUpon>
</Compile>
<Compile Include="SNESTools\SNESGraphicsDebugger.cs">
<SubType>Form</SubType>
</Compile>
@ -404,6 +414,9 @@
<Compile Include="SNESTools\SNESOptions.Designer.cs">
<DependentUpon>SNESOptions.cs</DependentUpon>
</Compile>
<Compile Include="tools\AnalogControlPanel.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="tools\HexColor.cs">
<SubType>Form</SubType>
</Compile>
@ -452,6 +465,12 @@
<Compile Include="tools\TraceLogger.Designer.cs">
<DependentUpon>TraceLogger.cs</DependentUpon>
</Compile>
<Compile Include="tools\VirtualPadN64.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="tools\VirtualPadN64.Designer.cs">
<DependentUpon>VirtualPadN64.cs</DependentUpon>
</Compile>
<Compile Include="tools\VirtualPadA78.cs">
<SubType>UserControl</SubType>
</Compile>
@ -501,6 +520,7 @@
<SubType>Component</SubType>
</Compile>
<Compile Include="tools\WatchCommon.cs" />
<Compile Include="XmlGame.cs" />
<EmbeddedResource Include="AVOut\FFmpegWriterForm.resx">
<DependentUpon>FFmpegWriterForm.cs</DependentUpon>
</EmbeddedResource>
@ -540,9 +560,13 @@
<EmbeddedResource Include="GBtools\ColorChooserForm.resx">
<DependentUpon>ColorChooserForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="GBtools\GBGameGenie.resx">
<DependentUpon>GBGameGenie.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="GBtools\GBGPUView.resx">
<DependentUpon>GBGPUView.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="GenGameGenie.resx" />
<EmbeddedResource Include="MainForm.resx">
<DependentUpon>MainForm.cs</DependentUpon>
<SubType>Designer</SubType>
@ -568,6 +592,9 @@
<EmbeddedResource Include="SMStools\SMSGraphicsConfig.resx">
<DependentUpon>SMSGraphicsConfig.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="SNESTools\SNESGameGenie.resx">
<DependentUpon>SNESGameGenie.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="SNESTools\SNESGraphicsDebugger.resx">
<DependentUpon>SNESGraphicsDebugger.cs</DependentUpon>
</EmbeddedResource>
@ -605,6 +632,9 @@
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<EmbeddedResource Include="tools\VirtualPadN64.resx">
<DependentUpon>VirtualPadN64.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="tools\VirtualPadA78.resx">
<DependentUpon>VirtualPadA78.cs</DependentUpon>
</EmbeddedResource>

View File

@ -0,0 +1,27 @@
using System.Drawing;
using System.Windows.Forms;
namespace BizHawk.MultiClient
{
public sealed class AnalogControlPanel : Control
{
public double X;
public double Y;
public AnalogControlPanel()
{
SetStyle(ControlStyles.AllPaintingInWmPaint, true);
SetStyle(ControlStyles.UserPaint, true);
SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
SetStyle(ControlStyles.SupportsTransparentBackColor, true);
SetStyle(ControlStyles.Opaque, true);
BackColor = Color.Transparent;
Paint += AnalogControlPanel_Paint;
}
private void AnalogControlPanel_Paint(object sender, PaintEventArgs e)
{
}
}
}

View File

@ -0,0 +1,254 @@
namespace BizHawk.MultiClient.tools
{
partial class VirtualPadN64
{
/// <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 Component 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.AnalogControl1 = new AnalogControlPanel();
this.PL = new System.Windows.Forms.CheckBox();
this.PD = new System.Windows.Forms.CheckBox();
this.PR = new System.Windows.Forms.CheckBox();
this.PU = new System.Windows.Forms.CheckBox();
this.KeyLeft = new System.Windows.Forms.CheckBox();
this.KeyRight = new System.Windows.Forms.CheckBox();
this.checkBox1 = new System.Windows.Forms.CheckBox();
this.checkBox2 = new System.Windows.Forms.CheckBox();
this.checkBox3 = new System.Windows.Forms.CheckBox();
this.checkBox4 = new System.Windows.Forms.CheckBox();
this.checkBox5 = new System.Windows.Forms.CheckBox();
this.checkBox6 = new System.Windows.Forms.CheckBox();
this.checkBox7 = new System.Windows.Forms.CheckBox();
this.checkBox8 = new System.Windows.Forms.CheckBox();
this.SuspendLayout();
//
// AnalogControl1
//
this.AnalogControl1.Location = new System.Drawing.Point(14, 27);
this.AnalogControl1.Name = "AnalogControl1";
this.AnalogControl1.Size = new System.Drawing.Size(205, 147);
this.AnalogControl1.TabIndex = 0;
//
// PL
//
this.PL.Appearance = System.Windows.Forms.Appearance.Button;
this.PL.AutoSize = true;
this.PL.Image = global::BizHawk.MultiClient.Properties.Resources.Back;
this.PL.Location = new System.Drawing.Point(20, 229);
this.PL.Name = "PL";
this.PL.Size = new System.Drawing.Size(22, 22);
this.PL.TabIndex = 7;
this.PL.UseVisualStyleBackColor = true;
//
// PD
//
this.PD.Appearance = System.Windows.Forms.Appearance.Button;
this.PD.AutoSize = true;
this.PD.Image = global::BizHawk.MultiClient.Properties.Resources.BlueDown;
this.PD.Location = new System.Drawing.Point(41, 238);
this.PD.Name = "PD";
this.PD.Size = new System.Drawing.Size(22, 22);
this.PD.TabIndex = 6;
this.PD.UseVisualStyleBackColor = true;
//
// PR
//
this.PR.Appearance = System.Windows.Forms.Appearance.Button;
this.PR.AutoSize = true;
this.PR.Image = global::BizHawk.MultiClient.Properties.Resources.Forward;
this.PR.Location = new System.Drawing.Point(62, 229);
this.PR.Name = "PR";
this.PR.Size = new System.Drawing.Size(22, 22);
this.PR.TabIndex = 5;
this.PR.UseVisualStyleBackColor = true;
//
// PU
//
this.PU.Appearance = System.Windows.Forms.Appearance.Button;
this.PU.AutoSize = true;
this.PU.Image = global::BizHawk.MultiClient.Properties.Resources.BlueUp;
this.PU.Location = new System.Drawing.Point(41, 217);
this.PU.Name = "PU";
this.PU.Size = new System.Drawing.Size(22, 22);
this.PU.TabIndex = 4;
this.PU.UseVisualStyleBackColor = true;
//
// KeyLeft
//
this.KeyLeft.Appearance = System.Windows.Forms.Appearance.Button;
this.KeyLeft.AutoSize = true;
this.KeyLeft.Location = new System.Drawing.Point(14, 180);
this.KeyLeft.Name = "KeyLeft";
this.KeyLeft.Size = new System.Drawing.Size(23, 23);
this.KeyLeft.TabIndex = 8;
this.KeyLeft.Text = "L";
this.KeyLeft.UseVisualStyleBackColor = true;
//
// KeyRight
//
this.KeyRight.Appearance = System.Windows.Forms.Appearance.Button;
this.KeyRight.AutoSize = true;
this.KeyRight.Location = new System.Drawing.Point(177, 180);
this.KeyRight.Name = "KeyRight";
this.KeyRight.Size = new System.Drawing.Size(25, 23);
this.KeyRight.TabIndex = 9;
this.KeyRight.Text = "R";
this.KeyRight.UseVisualStyleBackColor = true;
//
// checkBox1
//
this.checkBox1.Appearance = System.Windows.Forms.Appearance.Button;
this.checkBox1.AutoSize = true;
this.checkBox1.Location = new System.Drawing.Point(98, 191);
this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(24, 23);
this.checkBox1.TabIndex = 10;
this.checkBox1.Text = "S";
this.checkBox1.UseVisualStyleBackColor = true;
//
// checkBox2
//
this.checkBox2.Appearance = System.Windows.Forms.Appearance.Button;
this.checkBox2.AutoSize = true;
this.checkBox2.Location = new System.Drawing.Point(98, 270);
this.checkBox2.Name = "checkBox2";
this.checkBox2.Size = new System.Drawing.Size(24, 23);
this.checkBox2.TabIndex = 11;
this.checkBox2.Text = "Z";
this.checkBox2.UseVisualStyleBackColor = true;
//
// checkBox3
//
this.checkBox3.Appearance = System.Windows.Forms.Appearance.Button;
this.checkBox3.AutoSize = true;
this.checkBox3.Location = new System.Drawing.Point(98, 220);
this.checkBox3.Name = "checkBox3";
this.checkBox3.Size = new System.Drawing.Size(24, 23);
this.checkBox3.TabIndex = 12;
this.checkBox3.Text = "B";
this.checkBox3.UseVisualStyleBackColor = true;
//
// checkBox4
//
this.checkBox4.Appearance = System.Windows.Forms.Appearance.Button;
this.checkBox4.AutoSize = true;
this.checkBox4.Location = new System.Drawing.Point(128, 229);
this.checkBox4.Name = "checkBox4";
this.checkBox4.Size = new System.Drawing.Size(24, 23);
this.checkBox4.TabIndex = 13;
this.checkBox4.Text = "A";
this.checkBox4.UseVisualStyleBackColor = true;
//
// checkBox5
//
this.checkBox5.Appearance = System.Windows.Forms.Appearance.Button;
this.checkBox5.AutoSize = true;
this.checkBox5.Location = new System.Drawing.Point(212, 216);
this.checkBox5.Name = "checkBox5";
this.checkBox5.Size = new System.Drawing.Size(31, 23);
this.checkBox5.TabIndex = 14;
this.checkBox5.Text = "cU";
this.checkBox5.UseVisualStyleBackColor = true;
//
// checkBox6
//
this.checkBox6.Appearance = System.Windows.Forms.Appearance.Button;
this.checkBox6.AutoSize = true;
this.checkBox6.Location = new System.Drawing.Point(190, 245);
this.checkBox6.Name = "checkBox6";
this.checkBox6.Size = new System.Drawing.Size(29, 23);
this.checkBox6.TabIndex = 15;
this.checkBox6.Text = "cL";
this.checkBox6.UseVisualStyleBackColor = true;
//
// checkBox7
//
this.checkBox7.Appearance = System.Windows.Forms.Appearance.Button;
this.checkBox7.AutoSize = true;
this.checkBox7.Location = new System.Drawing.Point(225, 245);
this.checkBox7.Name = "checkBox7";
this.checkBox7.Size = new System.Drawing.Size(31, 23);
this.checkBox7.TabIndex = 16;
this.checkBox7.Text = "cR";
this.checkBox7.UseVisualStyleBackColor = true;
//
// checkBox8
//
this.checkBox8.Appearance = System.Windows.Forms.Appearance.Button;
this.checkBox8.AutoSize = true;
this.checkBox8.Location = new System.Drawing.Point(212, 274);
this.checkBox8.Name = "checkBox8";
this.checkBox8.Size = new System.Drawing.Size(31, 23);
this.checkBox8.TabIndex = 17;
this.checkBox8.Text = "cD";
this.checkBox8.UseVisualStyleBackColor = true;
//
// VirtualPadN64
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.checkBox8);
this.Controls.Add(this.checkBox7);
this.Controls.Add(this.checkBox6);
this.Controls.Add(this.checkBox5);
this.Controls.Add(this.checkBox4);
this.Controls.Add(this.checkBox3);
this.Controls.Add(this.checkBox2);
this.Controls.Add(this.checkBox1);
this.Controls.Add(this.KeyRight);
this.Controls.Add(this.KeyLeft);
this.Controls.Add(this.PL);
this.Controls.Add(this.PD);
this.Controls.Add(this.PR);
this.Controls.Add(this.PU);
this.Controls.Add(this.AnalogControl1);
this.Name = "VirtualPadN64";
this.Size = new System.Drawing.Size(463, 332);
this.Load += new System.EventHandler(this.UserControl1_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private AnalogControlPanel AnalogControl1;
private System.Windows.Forms.CheckBox PL;
private System.Windows.Forms.CheckBox PD;
private System.Windows.Forms.CheckBox PR;
private System.Windows.Forms.CheckBox PU;
private System.Windows.Forms.CheckBox KeyLeft;
private System.Windows.Forms.CheckBox KeyRight;
private System.Windows.Forms.CheckBox checkBox1;
private System.Windows.Forms.CheckBox checkBox2;
private System.Windows.Forms.CheckBox checkBox3;
private System.Windows.Forms.CheckBox checkBox4;
private System.Windows.Forms.CheckBox checkBox5;
private System.Windows.Forms.CheckBox checkBox6;
private System.Windows.Forms.CheckBox checkBox7;
private System.Windows.Forms.CheckBox checkBox8;
}
}

View File

@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace BizHawk.MultiClient.tools
{
public partial class VirtualPadN64 : UserControl
{
public VirtualPadN64()
{
InitializeComponent();
}
private void UserControl1_Load(object sender, EventArgs e)
{
}
}
}

View File

@ -0,0 +1,120 @@
<?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>
</root>