From db32864ce7029d758f57729cc2f75e051a28d0a2 Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Sat, 18 Jun 2016 14:30:24 -0400 Subject: Cleans up quantum/keymap situation, removes extra lufa folders (#416) * sorts out keycodes * move midi around * remove mbed * replaces keymap with qmk/keymap_common * fixes keymap.h * keymap, config, quantum rearrange * removes unneeded lufa stuff --- .../LEDNotifier/LEDMixerApp/LEDMixer.Designer.cs | 149 --------------------- .../Projects/LEDNotifier/LEDMixerApp/LEDMixer.cs | 75 ----------- .../LEDNotifier/LEDMixerApp/LEDMixer.csproj | 95 ------------- .../Projects/LEDNotifier/LEDMixerApp/LEDMixer.resx | 123 ----------------- .../Projects/LEDNotifier/LEDMixerApp/Program.cs | 21 --- .../LEDMixerApp/Properties/AssemblyInfo.cs | 36 ----- .../LEDMixerApp/Properties/Resources.Designer.cs | 63 --------- .../LEDMixerApp/Properties/Resources.resx | 117 ---------------- .../LEDMixerApp/Properties/Settings.Designer.cs | 26 ---- .../LEDMixerApp/Properties/Settings.settings | 7 - 10 files changed, 712 deletions(-) delete mode 100644 tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/LEDMixer.Designer.cs delete mode 100644 tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/LEDMixer.cs delete mode 100644 tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/LEDMixer.csproj delete mode 100644 tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/LEDMixer.resx delete mode 100644 tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/Program.cs delete mode 100644 tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/Properties/AssemblyInfo.cs delete mode 100644 tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/Properties/Resources.Designer.cs delete mode 100644 tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/Properties/Resources.resx delete mode 100644 tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/Properties/Settings.Designer.cs delete mode 100644 tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/Properties/Settings.settings (limited to 'tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp') diff --git a/tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/LEDMixer.Designer.cs b/tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/LEDMixer.Designer.cs deleted file mode 100644 index 595083a4a..000000000 --- a/tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/LEDMixer.Designer.cs +++ /dev/null @@ -1,149 +0,0 @@ -namespace LEDMixer -{ - partial class LEDMixer - { - /// - /// 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.tbRed = new System.Windows.Forms.TrackBar(); - this.tbGreen = new System.Windows.Forms.TrackBar(); - this.tbBlue = new System.Windows.Forms.TrackBar(); - this.serSerialPort = new System.IO.Ports.SerialPort(this.components); - this.cbPort = new System.Windows.Forms.ComboBox(); - this.lblRed = new System.Windows.Forms.Label(); - this.lblBlue = new System.Windows.Forms.Label(); - this.lblGreen = new System.Windows.Forms.Label(); - ((System.ComponentModel.ISupportInitialize)(this.tbRed)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.tbGreen)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.tbBlue)).BeginInit(); - this.SuspendLayout(); - // - // tbRed - // - this.tbRed.Location = new System.Drawing.Point(54, 64); - this.tbRed.Maximum = 512; - this.tbRed.Name = "tbRed"; - this.tbRed.Size = new System.Drawing.Size(230, 45); - this.tbRed.TabIndex = 0; - this.tbRed.Scroll += new System.EventHandler(this.tbRed_Scroll); - // - // tbGreen - // - this.tbGreen.Location = new System.Drawing.Point(54, 115); - this.tbGreen.Maximum = 512; - this.tbGreen.Name = "tbGreen"; - this.tbGreen.Size = new System.Drawing.Size(230, 45); - this.tbGreen.TabIndex = 1; - this.tbGreen.Scroll += new System.EventHandler(this.tbGreen_Scroll); - // - // tbBlue - // - this.tbBlue.Location = new System.Drawing.Point(54, 163); - this.tbBlue.Maximum = 512; - this.tbBlue.Name = "tbBlue"; - this.tbBlue.Size = new System.Drawing.Size(230, 45); - this.tbBlue.TabIndex = 2; - this.tbBlue.Scroll += new System.EventHandler(this.tbBlue_Scroll); - // - // cbPort - // - this.cbPort.FormattingEnabled = true; - this.cbPort.Location = new System.Drawing.Point(97, 12); - this.cbPort.Name = "cbPort"; - this.cbPort.Size = new System.Drawing.Size(99, 21); - this.cbPort.TabIndex = 3; - this.cbPort.SelectedIndexChanged += new System.EventHandler(this.cbPort_SelectedIndexChanged); - // - // lblRed - // - this.lblRed.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblRed.Location = new System.Drawing.Point(3, 64); - this.lblRed.Name = "lblRed"; - this.lblRed.Size = new System.Drawing.Size(48, 29); - this.lblRed.TabIndex = 4; - this.lblRed.Text = "Red"; - this.lblRed.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - // - // lblBlue - // - this.lblBlue.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblBlue.Location = new System.Drawing.Point(3, 115); - this.lblBlue.Name = "lblGreen"; - this.lblBlue.Size = new System.Drawing.Size(50, 27); - this.lblBlue.TabIndex = 5; - this.lblBlue.Text = "Green"; - this.lblBlue.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - // - // lblGreen - // - this.lblGreen.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblGreen.Location = new System.Drawing.Point(3, 163); - this.lblGreen.Name = "lblBlue"; - this.lblGreen.Size = new System.Drawing.Size(50, 25); - this.lblGreen.TabIndex = 6; - this.lblGreen.Text = "Blue"; - this.lblGreen.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - // - // LEDMixer - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(284, 207); - this.Controls.Add(this.lblGreen); - this.Controls.Add(this.lblBlue); - this.Controls.Add(this.lblRed); - this.Controls.Add(this.cbPort); - this.Controls.Add(this.tbBlue); - this.Controls.Add(this.tbGreen); - this.Controls.Add(this.tbRed); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; - this.MaximizeBox = false; - this.MinimizeBox = false; - this.Name = "LEDMixer"; - this.Text = "LED Mixer"; - this.Load += new System.EventHandler(this.LEDMixer_Load); - ((System.ComponentModel.ISupportInitialize)(this.tbRed)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.tbGreen)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.tbBlue)).EndInit(); - this.ResumeLayout(false); - this.PerformLayout(); - - } - - #endregion - - private System.Windows.Forms.TrackBar tbRed; - private System.Windows.Forms.TrackBar tbGreen; - private System.Windows.Forms.TrackBar tbBlue; - private System.IO.Ports.SerialPort serSerialPort; - private System.Windows.Forms.ComboBox cbPort; - private System.Windows.Forms.Label lblRed; - private System.Windows.Forms.Label lblBlue; - private System.Windows.Forms.Label lblGreen; - } -} - diff --git a/tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/LEDMixer.cs b/tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/LEDMixer.cs deleted file mode 100644 index dfaffed30..000000000 --- a/tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/LEDMixer.cs +++ /dev/null @@ -1,75 +0,0 @@ -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 LEDMixer -{ - public partial class LEDMixer : Form - { - private const int LIGHT_MAX = 0x1F; - - public LEDMixer() - { - InitializeComponent(); - } - - private void LEDMixer_Load(object sender, EventArgs e) - { - String[] PortNames = System.IO.Ports.SerialPort.GetPortNames(); - Array.Sort(PortNames, delegate(string strA, string strB) { return int.Parse(strA.Substring(3)).CompareTo(int.Parse(strB.Substring(3))); }); - cbPort.Items.Clear(); - cbPort.Items.AddRange(PortNames); - - cbPort.SelectedIndex = 0; - - tbRed.Maximum = LIGHT_MAX; - tbGreen.Maximum = LIGHT_MAX; - tbBlue.Maximum = LIGHT_MAX; - } - - private void tbRed_Scroll(object sender, EventArgs e) - { - NotifyLight(tbRed.Value, tbGreen.Value, tbBlue.Value); - } - - private void tbGreen_Scroll(object sender, EventArgs e) - { - NotifyLight(tbRed.Value, tbGreen.Value, tbBlue.Value); - } - - private void tbBlue_Scroll(object sender, EventArgs e) - { - NotifyLight(tbRed.Value, tbGreen.Value, tbBlue.Value); - } - - private void NotifyLight(int Red, int Green, int Blue) - { - byte[] buffer = new byte[3]; - buffer[0] = (byte)(0x80 | (Red & LIGHT_MAX)); - buffer[1] = (byte)(0x40 | (Green & LIGHT_MAX)); - buffer[2] = (byte)(0x20 | (Blue & LIGHT_MAX)); - - try - { - serSerialPort.PortName = cbPort.Text; - serSerialPort.Open(); - serSerialPort.Write(buffer, 0, buffer.Length); - serSerialPort.Close(); - } - catch (Exception e) - { - - } - } - - private void cbPort_SelectedIndexChanged(object sender, EventArgs e) - { - NotifyLight(tbRed.Value, tbGreen.Value, tbBlue.Value); - } - } -} diff --git a/tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/LEDMixer.csproj b/tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/LEDMixer.csproj deleted file mode 100644 index 6287ddcff..000000000 --- a/tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/LEDMixer.csproj +++ /dev/null @@ -1,95 +0,0 @@ - - - - Debug - AnyCPU - 9.0.21022 - 2.0 - {A7814DA7-FA30-4A3D-878F-2E1975F9B27D} - WinExe - Properties - LEDMixer - LEDMixer - v3.5 - 512 - - - 3.5 - - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - 3.5 - - - 3.5 - - - 3.5 - - - - - - - - - - Form - - - LEDMixer.cs - - - - - LEDMixer.cs - Designer - - - ResXFileCodeGenerator - Resources.Designer.cs - Designer - - - True - Resources.resx - True - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - True - Settings.settings - True - - - - - \ No newline at end of file diff --git a/tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/LEDMixer.resx b/tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/LEDMixer.resx deleted file mode 100644 index 0601840d7..000000000 --- a/tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/LEDMixer.resx +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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 - - - 17, 17 - - \ No newline at end of file diff --git a/tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/Program.cs b/tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/Program.cs deleted file mode 100644 index 8958f86d2..000000000 --- a/tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/Program.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Windows.Forms; - -namespace LEDMixer -{ - static class Program - { - /// - /// The main entry point for the application. - /// - [STAThread] - static void Main() - { - Application.EnableVisualStyles(); - Application.SetCompatibleTextRenderingDefault(false); - Application.Run(new LEDMixer()); - } - } -} diff --git a/tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/Properties/AssemblyInfo.cs b/tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/Properties/AssemblyInfo.cs deleted file mode 100644 index c88194381..000000000 --- a/tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -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("LEDMixer")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Microsoft")] -[assembly: AssemblyProduct("LEDMixer")] -[assembly: AssemblyCopyright("Copyright © Microsoft 2009")] -[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("335c1112-9aa6-42a0-9765-5cc6deb78c88")] - -// 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/tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/Properties/Resources.Designer.cs b/tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/Properties/Resources.Designer.cs deleted file mode 100644 index 53e3f2e0b..000000000 --- a/tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/Properties/Resources.Designer.cs +++ /dev/null @@ -1,63 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.239 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace LEDMixer.Properties { - using System; - - - /// - /// 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 (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("LEDMixer.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/tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/Properties/Resources.resx b/tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/Properties/Resources.resx deleted file mode 100644 index af7dbebba..000000000 --- a/tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/Properties/Resources.resx +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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/tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/Properties/Settings.Designer.cs b/tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/Properties/Settings.Designer.cs deleted file mode 100644 index d79f28b80..000000000 --- a/tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/Properties/Settings.Designer.cs +++ /dev/null @@ -1,26 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.239 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace LEDMixer.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/tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/Properties/Settings.settings b/tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/Properties/Settings.settings deleted file mode 100644 index 39645652a..000000000 --- a/tmk_core/protocol/lufa/LUFA-git/Projects/LEDNotifier/LEDMixerApp/Properties/Settings.settings +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - -- cgit v1.2.3