From ddf746b2a7c9527b78ca63825c598f3c780c83d2 Mon Sep 17 00:00:00 2001 From: Ian C Date: Tue, 24 Apr 2012 22:06:28 +0000 Subject: Added schema classes and initial projects. --- .../EmuKeyboardDesigner/EmuKeyboardDesigner.csproj | 93 ++++++++++++++++ Native/EmuKeyboardDesigner/EmuKeyboardDesigner.sln | 42 ++++++++ Native/EmuKeyboardDesigner/EmuKeyboardDesigner.suo | Bin 0 -> 43008 bytes Native/EmuKeyboardDesigner/MainForm.Designer.cs | 56 ++++++++++ Native/EmuKeyboardDesigner/MainForm.cs | 36 +++++++ Native/EmuKeyboardDesigner/MainForm.resx | 120 +++++++++++++++++++++ Native/EmuKeyboardDesigner/Program.cs | 38 +++++++ .../EmuKeyboardDesigner/Properties/AssemblyInfo.cs | 36 +++++++ .../Properties/Resources.Designer.cs | 71 ++++++++++++ .../EmuKeyboardDesigner/Properties/Resources.resx | 117 ++++++++++++++++++++ .../Properties/Settings.Designer.cs | 30 ++++++ .../Properties/Settings.settings | 7 ++ .../Noddybox.Emulation.Keyboard.Schema.csproj | 59 ++++++++++ .../Properties/AssemblyInfo.cs | 36 +++++++ 14 files changed, 741 insertions(+) create mode 100644 Native/EmuKeyboardDesigner/EmuKeyboardDesigner.csproj create mode 100644 Native/EmuKeyboardDesigner/EmuKeyboardDesigner.sln create mode 100644 Native/EmuKeyboardDesigner/EmuKeyboardDesigner.suo create mode 100644 Native/EmuKeyboardDesigner/MainForm.Designer.cs create mode 100644 Native/EmuKeyboardDesigner/MainForm.cs create mode 100644 Native/EmuKeyboardDesigner/MainForm.resx create mode 100644 Native/EmuKeyboardDesigner/Program.cs create mode 100644 Native/EmuKeyboardDesigner/Properties/AssemblyInfo.cs create mode 100644 Native/EmuKeyboardDesigner/Properties/Resources.Designer.cs create mode 100644 Native/EmuKeyboardDesigner/Properties/Resources.resx create mode 100644 Native/EmuKeyboardDesigner/Properties/Settings.Designer.cs create mode 100644 Native/EmuKeyboardDesigner/Properties/Settings.settings create mode 100644 Native/Noddybox.Emulation.Keyboard.Schema/Noddybox.Emulation.Keyboard.Schema.csproj create mode 100644 Native/Noddybox.Emulation.Keyboard.Schema/Properties/AssemblyInfo.cs (limited to 'Native') diff --git a/Native/EmuKeyboardDesigner/EmuKeyboardDesigner.csproj b/Native/EmuKeyboardDesigner/EmuKeyboardDesigner.csproj new file mode 100644 index 0000000..9f15f6b --- /dev/null +++ b/Native/EmuKeyboardDesigner/EmuKeyboardDesigner.csproj @@ -0,0 +1,93 @@ + + + + Debug + x86 + 8.0.30703 + 2.0 + {E93D25C3-D5AD-4D43-BD9F-4E8A0729DC5C} + WinExe + Properties + EmuKeyboardDesigner + EmuKeyboardDesigner + v4.0 + Client + 512 + + + x86 + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + x86 + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + Form + + + MainForm.cs + + + + + MainForm.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + {07A8B4D5-9B26-421C-A55C-C1E4D706CF43} + Noddybox.Emulation.Keyboard.Schema + + + + + \ No newline at end of file diff --git a/Native/EmuKeyboardDesigner/EmuKeyboardDesigner.sln b/Native/EmuKeyboardDesigner/EmuKeyboardDesigner.sln new file mode 100644 index 0000000..6479d77 --- /dev/null +++ b/Native/EmuKeyboardDesigner/EmuKeyboardDesigner.sln @@ -0,0 +1,42 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual C# Express 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EmuKeyboardDesigner", "EmuKeyboardDesigner.csproj", "{E93D25C3-D5AD-4D43-BD9F-4E8A0729DC5C}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Noddybox.Emulation.Keyboard.Schema", "..\Noddybox.Emulation.Keyboard.Schema\Noddybox.Emulation.Keyboard.Schema.csproj", "{07A8B4D5-9B26-421C-A55C-C1E4D706CF43}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Debug|Mixed Platforms = Debug|Mixed Platforms + Debug|x86 = Debug|x86 + Release|Any CPU = Release|Any CPU + Release|Mixed Platforms = Release|Mixed Platforms + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E93D25C3-D5AD-4D43-BD9F-4E8A0729DC5C}.Debug|Any CPU.ActiveCfg = Debug|x86 + {E93D25C3-D5AD-4D43-BD9F-4E8A0729DC5C}.Debug|Mixed Platforms.ActiveCfg = Debug|x86 + {E93D25C3-D5AD-4D43-BD9F-4E8A0729DC5C}.Debug|Mixed Platforms.Build.0 = Debug|x86 + {E93D25C3-D5AD-4D43-BD9F-4E8A0729DC5C}.Debug|x86.ActiveCfg = Debug|x86 + {E93D25C3-D5AD-4D43-BD9F-4E8A0729DC5C}.Debug|x86.Build.0 = Debug|x86 + {E93D25C3-D5AD-4D43-BD9F-4E8A0729DC5C}.Release|Any CPU.ActiveCfg = Release|x86 + {E93D25C3-D5AD-4D43-BD9F-4E8A0729DC5C}.Release|Mixed Platforms.ActiveCfg = Release|x86 + {E93D25C3-D5AD-4D43-BD9F-4E8A0729DC5C}.Release|Mixed Platforms.Build.0 = Release|x86 + {E93D25C3-D5AD-4D43-BD9F-4E8A0729DC5C}.Release|x86.ActiveCfg = Release|x86 + {E93D25C3-D5AD-4D43-BD9F-4E8A0729DC5C}.Release|x86.Build.0 = Release|x86 + {07A8B4D5-9B26-421C-A55C-C1E4D706CF43}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {07A8B4D5-9B26-421C-A55C-C1E4D706CF43}.Debug|Any CPU.Build.0 = Debug|Any CPU + {07A8B4D5-9B26-421C-A55C-C1E4D706CF43}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {07A8B4D5-9B26-421C-A55C-C1E4D706CF43}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {07A8B4D5-9B26-421C-A55C-C1E4D706CF43}.Debug|x86.ActiveCfg = Debug|Any CPU + {07A8B4D5-9B26-421C-A55C-C1E4D706CF43}.Release|Any CPU.ActiveCfg = Release|Any CPU + {07A8B4D5-9B26-421C-A55C-C1E4D706CF43}.Release|Any CPU.Build.0 = Release|Any CPU + {07A8B4D5-9B26-421C-A55C-C1E4D706CF43}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU + {07A8B4D5-9B26-421C-A55C-C1E4D706CF43}.Release|Mixed Platforms.Build.0 = Release|Any CPU + {07A8B4D5-9B26-421C-A55C-C1E4D706CF43}.Release|x86.ActiveCfg = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Native/EmuKeyboardDesigner/EmuKeyboardDesigner.suo b/Native/EmuKeyboardDesigner/EmuKeyboardDesigner.suo new file mode 100644 index 0000000..0230234 Binary files /dev/null and b/Native/EmuKeyboardDesigner/EmuKeyboardDesigner.suo differ diff --git a/Native/EmuKeyboardDesigner/MainForm.Designer.cs b/Native/EmuKeyboardDesigner/MainForm.Designer.cs new file mode 100644 index 0000000..6dd8653 --- /dev/null +++ b/Native/EmuKeyboardDesigner/MainForm.Designer.cs @@ -0,0 +1,56 @@ +// This file is part of the Noddybox.Emulation C# suite. +// +// Noddybox.Emulation is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Noddybox.Emulation is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with Noddybox.Emulation. If not, see . +// +// Copyright (c) 2012 Ian Cowburn +// +namespace EmuKeyboardDesigner +{ + partial class MainForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Text = "Form1"; + } + + #endregion + } +} + diff --git a/Native/EmuKeyboardDesigner/MainForm.cs b/Native/EmuKeyboardDesigner/MainForm.cs new file mode 100644 index 0000000..8ea1502 --- /dev/null +++ b/Native/EmuKeyboardDesigner/MainForm.cs @@ -0,0 +1,36 @@ +// This file is part of the Noddybox.Emulation C# suite. +// +// Noddybox.Emulation is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Noddybox.Emulation is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with Noddybox.Emulation. If not, see . +// +// Copyright (c) 2012 Ian Cowburn +// +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Windows.Forms; + +namespace EmuKeyboardDesigner +{ + public partial class MainForm : Form + { + public MainForm() + { + InitializeComponent(); + } + } +} diff --git a/Native/EmuKeyboardDesigner/MainForm.resx b/Native/EmuKeyboardDesigner/MainForm.resx new file mode 100644 index 0000000..29dcb1b --- /dev/null +++ b/Native/EmuKeyboardDesigner/MainForm.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Native/EmuKeyboardDesigner/Program.cs b/Native/EmuKeyboardDesigner/Program.cs new file mode 100644 index 0000000..4cb9cc9 --- /dev/null +++ b/Native/EmuKeyboardDesigner/Program.cs @@ -0,0 +1,38 @@ +// This file is part of the Noddybox.Emulation C# suite. +// +// Noddybox.Emulation is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Noddybox.Emulation is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with Noddybox.Emulation. If not, see . +// +// Copyright (c) 2012 Ian Cowburn +// +using System; +using System.Collections.Generic; +using System.Linq; +using System.Windows.Forms; + +namespace EmuKeyboardDesigner +{ + static class Program + { + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new MainForm()); + } + } +} diff --git a/Native/EmuKeyboardDesigner/Properties/AssemblyInfo.cs b/Native/EmuKeyboardDesigner/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..b300214 --- /dev/null +++ b/Native/EmuKeyboardDesigner/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("EmuKeyboardDesigner")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("EmuKeyboardDesigner")] +[assembly: AssemblyCopyright("Copyright © 2012")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("0d550923-7ccd-4697-9958-76961dd7dd90")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Native/EmuKeyboardDesigner/Properties/Resources.Designer.cs b/Native/EmuKeyboardDesigner/Properties/Resources.Designer.cs new file mode 100644 index 0000000..5314ec7 --- /dev/null +++ b/Native/EmuKeyboardDesigner/Properties/Resources.Designer.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.261 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace EmuKeyboardDesigner.Properties +{ + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources + { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() + { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager + { + get + { + if ((resourceMan == null)) + { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("EmuKeyboardDesigner.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture + { + get + { + return resourceCulture; + } + set + { + resourceCulture = value; + } + } + } +} diff --git a/Native/EmuKeyboardDesigner/Properties/Resources.resx b/Native/EmuKeyboardDesigner/Properties/Resources.resx new file mode 100644 index 0000000..ffecec8 --- /dev/null +++ b/Native/EmuKeyboardDesigner/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Native/EmuKeyboardDesigner/Properties/Settings.Designer.cs b/Native/EmuKeyboardDesigner/Properties/Settings.Designer.cs new file mode 100644 index 0000000..9112c52 --- /dev/null +++ b/Native/EmuKeyboardDesigner/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.261 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace EmuKeyboardDesigner.Properties +{ + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/Native/EmuKeyboardDesigner/Properties/Settings.settings b/Native/EmuKeyboardDesigner/Properties/Settings.settings new file mode 100644 index 0000000..abf36c5 --- /dev/null +++ b/Native/EmuKeyboardDesigner/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Native/Noddybox.Emulation.Keyboard.Schema/Noddybox.Emulation.Keyboard.Schema.csproj b/Native/Noddybox.Emulation.Keyboard.Schema/Noddybox.Emulation.Keyboard.Schema.csproj new file mode 100644 index 0000000..fb1c643 --- /dev/null +++ b/Native/Noddybox.Emulation.Keyboard.Schema/Noddybox.Emulation.Keyboard.Schema.csproj @@ -0,0 +1,59 @@ + + + + Debug + AnyCPU + 8.0.30703 + 2.0 + {07A8B4D5-9B26-421C-A55C-C1E4D706CF43} + Library + Properties + Noddybox.Emulation.Keyboard.Schema + Noddybox.Emulation.Keyboard.Schema + v4.0 + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + KeyboardDefinition.cs + + + KeyboardKey.cs + + + + + + \ No newline at end of file diff --git a/Native/Noddybox.Emulation.Keyboard.Schema/Properties/AssemblyInfo.cs b/Native/Noddybox.Emulation.Keyboard.Schema/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..6b3dd8b --- /dev/null +++ b/Native/Noddybox.Emulation.Keyboard.Schema/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Noddybox.Emulation.Keyboard.Schema")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Noddybox.Emulation.Keyboard.Schema")] +[assembly: AssemblyCopyright("Copyright © 2012")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("be29c527-0eb4-4a40-b866-78cabda10db2")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] -- cgit v1.2.3