18 Commits
Author SHA1 Message Date
Kostas Missos f79544b25f Some last minute fixes
*Reduce the bt traffic volume for IR/NFC
*Make some variables that never change static
2018-03-29 14:59:10 +03:00
Kostas Missos 795390e967 Version 5.0.0 update
IR/NFC and other nice things to have :)

Thanks to all testers!
You helped tremendously!
2018-03-29 13:32:03 +03:00
Kostas Missos deb2478653 [IR] Add some edge cases and others
Add an edge case on slow CPUs/BTs that a cmd is sent late and we don't get the reply we expect.

Additionally add some error notifications for color spi reading
2018-03-29 13:29:03 +03:00
Kostas Missos 0c69e7027f [IR/NFC] Fix IR/NFC in 3.89 jc fw
Still it's unknown what the values x04/x05 and x12/x18 are.

Thoughts for food:
Maybe it's the MCU version? 4.12 in <=3.86 and 5.18 in 3.89?

So the switch requested 3.09 mcu version is the minimum?

The joy-con got an mcu fw update also? How much time the update took? The PatchRam fw update in SPI is very fast.

Or the PatchRam is able to live patch the stm32 MCU firmware also?
2018-03-29 00:28:28 +03:00
Kostas Missos 904d4a5a11 [Hidapi] Traffic logger QoL changes
Don't let the hid write buffer be bigger than output_report_length size permitted.

Report when Joy-Con toolkit requests a zero buffer from a hid_read
2018-03-28 16:34:49 +03:00
Kostas Missos 6ffb255e49 [Hidapi] Add buffer logging
This is for hid reads and writes.
You can enable it, by using the argument: -d.

It will dump all successful traffic between Joy-Con Toolkit and the controller and it will save it live into traffic_log.txt.
2018-03-28 16:12:52 +03:00
Kostas Missos e01b3ae1cf Show specific error for IR/NFC
Also enable NFC for Pro controller
2018-03-28 06:35:11 +03:00
Kostas Missos 8e1c33edba Fix easter eggs music...
We have pointers now. Not arrays.
2018-03-27 19:36:57 +03:00
Kostas Missos b6184931ae Make IR/NFC and other non-blocking 2018-03-27 19:29:25 +03:00
Kostas Missos c2164ad2aa Add NIR Camera support. Yey! 2018-03-27 02:33:32 +03:00
Kostas Missos 10e6ccfc8d Add support for editing stick user calibration 2018-03-27 02:29:31 +03:00
Kostas Missos e5be3be5af Add NFC read tag info support 2018-03-27 02:25:14 +03:00
Kostas Missos 94882e9b8c Add full support for Update 5.0.0 Grips 2018-03-27 02:16:49 +03:00
Kostas Missos cac80a3c29 Array bugfixes and preparations 2018-03-27 02:05:12 +03:00
Kostas Missos c3567b8603 More bugfixes and error checking 2018-03-20 23:52:50 +02:00
Kostas Missos 5b488dae47 Non-blocking part 1
Because of that it hangs less when there are lost packets or not support functions. E.g. 3rd party controllers
2018-03-19 23:22:39 +02:00
Kostas Missos 2ce12eaf24 Add update 5.0.0 Grips Color algorithm
This is unfinished and unconfirmed..
2018-03-19 23:08:41 +02:00
Kostas Missos c3cfb1fe08 Bugfixes 2018-03-19 23:07:04 +02:00
15 changed files with 4851 additions and 1252 deletions

No files matched your search

+1804 -121
View File
File diff suppressed because it is too large. Load diff
+39
View File
@@ -65,6 +65,7 @@ extern "C" {
#include "hidapi.h"
#include "hidapi_log.h"
#undef MIN
#define MIN(x,y) ((x) < (y)? (x): (y))
@@ -612,6 +613,15 @@ int HID_API_EXPORT HID_API_CALL hid_write(hid_device *dev, const unsigned char *
{
DWORD bytes_written;
BOOL res;
FILE *traffic_dump_file;
errno_t err_traffic;
// Traffic dump debug log
if (enable_traffic_dump) {
if ((err_traffic = fopen_s(&traffic_dump_file, "./traffic_log.txt", "a+")) != 0) {
enable_traffic_dump = false;
}
}
OVERLAPPED ol;
unsigned char *buf;
@@ -635,6 +645,15 @@ int HID_API_EXPORT HID_API_CALL hid_write(hid_device *dev, const unsigned char *
length = dev->output_report_length;
}
// Log buffer to a text file
if (enable_traffic_dump) {
fprintf_s(traffic_dump_file, "%s", "W: ");
for (int buf_index = 0; buf_index < dev->output_report_length; buf_index++)
fprintf_s(traffic_dump_file, "%02x ", buf[buf_index]);
fprintf_s(traffic_dump_file, "%s", "\n\n");
fclose(traffic_dump_file);
}
res = WriteFile(dev->device_handle, buf, length, NULL, &ol);
if (!res) {
@@ -669,6 +688,15 @@ int HID_API_EXPORT HID_API_CALL hid_read_timeout(hid_device *dev, unsigned char
DWORD bytes_read = 0;
size_t copy_len = 0;
BOOL res;
FILE *traffic_dump_file;
errno_t err_traffic;
// Traffic dump debug log
if (enable_traffic_dump) {
if ((err_traffic = fopen_s(&traffic_dump_file, "./traffic_log.txt", "a+")) != 0) {
enable_traffic_dump = false;
}
}
/* Copy the handle for convenience. */
HANDLE ev = dev->ol.hEvent;
@@ -732,6 +760,17 @@ end_of_function:
return -1;
}
// Log buffer to a text file
if (enable_traffic_dump) {
fprintf_s(traffic_dump_file, "%s", "R: ");
for (int buf_index = 0; buf_index < (int)copy_len; buf_index++)
fprintf_s(traffic_dump_file, "%02x ", data[buf_index]);
if ((int)copy_len == 0)
fprintf_s(traffic_dump_file, "%s", "Requested hid read length was 0 bytes.");
fprintf_s(traffic_dump_file, "%s", "\n\n");
fclose(traffic_dump_file);
}
return copy_len;
}
+2
View File
@@ -0,0 +1,2 @@
#pragma once
extern bool enable_traffic_dump;
+807 -686
View File
File diff suppressed because it is too large. Load diff
+65
View File
@@ -0,0 +1,65 @@
#pragma once
// crc-8-ccitt / polynomial 0x07 look up table
static uint8_t mcu_crc8_table[256] = {
0x00, 0x07, 0x0E, 0x09, 0x1C, 0x1B, 0x12, 0x15, 0x38, 0x3F, 0x36, 0x31, 0x24, 0x23, 0x2A, 0x2D,
0x70, 0x77, 0x7E, 0x79, 0x6C, 0x6B, 0x62, 0x65, 0x48, 0x4F, 0x46, 0x41, 0x54, 0x53, 0x5A, 0x5D,
0xE0, 0xE7, 0xEE, 0xE9, 0xFC, 0xFB, 0xF2, 0xF5, 0xD8, 0xDF, 0xD6, 0xD1, 0xC4, 0xC3, 0xCA, 0xCD,
0x90, 0x97, 0x9E, 0x99, 0x8C, 0x8B, 0x82, 0x85, 0xA8, 0xAF, 0xA6, 0xA1, 0xB4, 0xB3, 0xBA, 0xBD,
0xC7, 0xC0, 0xC9, 0xCE, 0xDB, 0xDC, 0xD5, 0xD2, 0xFF, 0xF8, 0xF1, 0xF6, 0xE3, 0xE4, 0xED, 0xEA,
0xB7, 0xB0, 0xB9, 0xBE, 0xAB, 0xAC, 0xA5, 0xA2, 0x8F, 0x88, 0x81, 0x86, 0x93, 0x94, 0x9D, 0x9A,
0x27, 0x20, 0x29, 0x2E, 0x3B, 0x3C, 0x35, 0x32, 0x1F, 0x18, 0x11, 0x16, 0x03, 0x04, 0x0D, 0x0A,
0x57, 0x50, 0x59, 0x5E, 0x4B, 0x4C, 0x45, 0x42, 0x6F, 0x68, 0x61, 0x66, 0x73, 0x74, 0x7D, 0x7A,
0x89, 0x8E, 0x87, 0x80, 0x95, 0x92, 0x9B, 0x9C, 0xB1, 0xB6, 0xBF, 0xB8, 0xAD, 0xAA, 0xA3, 0xA4,
0xF9, 0xFE, 0xF7, 0xF0, 0xE5, 0xE2, 0xEB, 0xEC, 0xC1, 0xC6, 0xCF, 0xC8, 0xDD, 0xDA, 0xD3, 0xD4,
0x69, 0x6E, 0x67, 0x60, 0x75, 0x72, 0x7B, 0x7C, 0x51, 0x56, 0x5F, 0x58, 0x4D, 0x4A, 0x43, 0x44,
0x19, 0x1E, 0x17, 0x10, 0x05, 0x02, 0x0B, 0x0C, 0x21, 0x26, 0x2F, 0x28, 0x3D, 0x3A, 0x33, 0x34,
0x4E, 0x49, 0x40, 0x47, 0x52, 0x55, 0x5C, 0x5B, 0x76, 0x71, 0x78, 0x7F, 0x6A, 0x6D, 0x64, 0x63,
0x3E, 0x39, 0x30, 0x37, 0x22, 0x25, 0x2C, 0x2B, 0x06, 0x01, 0x08, 0x0F, 0x1A, 0x1D, 0x14, 0x13,
0xAE, 0xA9, 0xA0, 0xA7, 0xB2, 0xB5, 0xBC, 0xBB, 0x96, 0x91, 0x98, 0x9F, 0x8A, 0x8D, 0x84, 0x83,
0xDE, 0xD9, 0xD0, 0xD7, 0xC2, 0xC5, 0xCC, 0xCB, 0xE6, 0xE1, 0xE8, 0xEF, 0xFA, 0xFD, 0xF4, 0xF3
};
// ARGB Ironbow palette
static uint32_t iron_palette[] = {
0xff000014, 0xff000025, 0xff00002a, 0xff000032, 0xff000036, 0xff00003e, 0xff000042, 0xff00004f,
0xff010055, 0xff010057, 0xff02005c, 0xff03005e, 0xff040063, 0xff050065, 0xff070069, 0xff0a0070,
0xff0b0073, 0xff0d0075, 0xff0d0076, 0xff100078, 0xff120079, 0xff15007c, 0xff17007d, 0xff1c0081,
0xff200084, 0xff220085, 0xff260087, 0xff280089, 0xff2c008a, 0xff2e008b, 0xff32008d, 0xff38008f,
0xff390090, 0xff3c0092, 0xff3e0093, 0xff410094, 0xff420095, 0xff450096, 0xff470096, 0xff4c0097,
0xff4f0097, 0xff510097, 0xff540098, 0xff560098, 0xff5a0099, 0xff5c0099, 0xff5f009a, 0xff64009b,
0xff66009b, 0xff6a009b, 0xff6c009c, 0xff6f009c, 0xff70009c, 0xff73009d, 0xff75009d, 0xff7a009d,
0xff7e009d, 0xff7f009d, 0xff83009d, 0xff84009d, 0xff87009d, 0xff89009d, 0xff8b009d, 0xff91009c,
0xff93009c, 0xff96009b, 0xff98009b, 0xff9b009b, 0xff9c009b, 0xff9f009b, 0xffa0009b, 0xffa4009b,
0xffa7009a, 0xffa8009a, 0xffaa0099, 0xffab0099, 0xffae0198, 0xffaf0198, 0xffb00198, 0xffb30196,
0xffb40296, 0xffb60295, 0xffb70395, 0xffb90495, 0xffba0495, 0xffbb0593, 0xffbc0593, 0xffbf0692,
0xffc00791, 0xffc00791, 0xffc10990, 0xffc20a8f, 0xffc30b8e, 0xffc40c8d, 0xffc60d8b, 0xffc81088,
0xffc91187, 0xffca1385, 0xffcb1385, 0xffcc1582, 0xffcd1681, 0xffce187e, 0xffcf187c, 0xffd11b78,
0xffd21c75, 0xffd21d74, 0xffd32071, 0xffd4216f, 0xffd5236b, 0xffd52469, 0xffd72665, 0xffd92a60,
0xffda2b5e, 0xffdb2e5a, 0xffdb2f57, 0xffdd3051, 0xffdd314e, 0xffde3347, 0xffdf3444, 0xffe0373a,
0xffe03933, 0xffe13a30, 0xffe23c2a, 0xffe33d26, 0xffe43f20, 0xffe4411d, 0xffe5431b, 0xffe64616,
0xffe74715, 0xffe74913, 0xffe84a12, 0xffe84c0f, 0xffe94d0e, 0xffea4e0c, 0xffea4f0c, 0xffeb520a,
0xffec5409, 0xffec5608, 0xffec5808, 0xffed5907, 0xffed5b06, 0xffee5c06, 0xffee5d05, 0xffef6004,
0xffef6104, 0xfff06303, 0xfff06403, 0xfff16603, 0xfff16603, 0xfff16803, 0xfff16902, 0xfff16b02,
0xfff26d01, 0xfff26e01, 0xfff37001, 0xfff37101, 0xfff47300, 0xfff47400, 0xfff47600, 0xfff47a00,
0xfff57b00, 0xfff57e00, 0xfff57f00, 0xfff68100, 0xfff68200, 0xfff78400, 0xfff78500, 0xfff88800,
0xfff88900, 0xfff88a00, 0xfff88c00, 0xfff98d00, 0xfff98e00, 0xfff98f00, 0xfff99100, 0xfffa9400,
0xfffa9500, 0xfffb9800, 0xfffb9900, 0xfffb9c00, 0xfffc9d00, 0xfffca000, 0xfffca100, 0xfffda400,
0xfffda700, 0xfffda800, 0xfffdab00, 0xfffdac00, 0xfffdae00, 0xfffeaf00, 0xfffeb100, 0xfffeb400,
0xfffeb500, 0xfffeb800, 0xfffeb900, 0xfffeba00, 0xfffebb00, 0xfffebd00, 0xfffebe00, 0xfffec200,
0xfffec400, 0xfffec500, 0xfffec700, 0xfffec800, 0xfffeca01, 0xfffeca01, 0xfffecc02, 0xfffecf04,
0xfffecf04, 0xfffed106, 0xfffed308, 0xfffed50a, 0xfffed60a, 0xfffed80c, 0xfffed90d, 0xffffdb10,
0xffffdc14, 0xffffdd16, 0xffffde1b, 0xffffdf1e, 0xffffe122, 0xffffe224, 0xffffe328, 0xffffe531,
0xffffe635, 0xffffe73c, 0xffffe83f, 0xffffea46, 0xffffeb49, 0xffffec50, 0xffffed54, 0xffffee5f,
0xffffef67, 0xfffff06a, 0xfffff172, 0xfffff177, 0xfffff280, 0xfffff285, 0xfffff38e, 0xfffff49a,
0xfffff59e, 0xfffff5a6, 0xfffff6aa, 0xfffff7b3, 0xfffff7b6, 0xfffff8bd, 0xfffff8c1, 0xfffff9ca,
0xfffffad1, 0xfffffad4, 0xfffffcdb, 0xfffffcdf, 0xfffffde5, 0xfffffde8, 0xfffffeee, 0xfffffff6
};
//ir registers to maximize output
static uint8_t ir_registers[] = {
0x00, 0x00, 0x51, 0x00, 0x0F, 0x7C, 0x01, 0x00, 0x44,
0x01, 0x08, 0x7C, 0x02, 0x00, 0x7B, 0x02, 0x01, 0x7C,
0x03, 0x00, 0x6E, 0x03, 0x06, 0x7C, 0x04, 0x00, 0x05,
0x04, 0x05, 0x1E, 0x04, 0x13, 0x7C
};
+1 -1
View File
@@ -26,7 +26,7 @@ using System.Runtime.CompilerServices;
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.6.2.*")]
[assembly: AssemblyVersion("1.7.0.*")]
//
// In order to sign your assembly you must specify a key to use. Refer to the
+1
View File
@@ -102,6 +102,7 @@ namespace jcColor {
//
// ctrl2DColorBox
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
this.ForeColor = System.Drawing.Color.DeepSkyBlue;
this.Name = "ctrl2DColorBox";
@@ -103,6 +103,7 @@ namespace jcColor {
//
// ctrlVerticalColorSlider
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
this.ForeColor = System.Drawing.Color.DeepSkyBlue;
this.Name = "ctrlVerticalColorSlider";
+581 -258
View File
@@ -8,7 +8,7 @@
/***** - scrabcakes@gmail.com *****/
/***** Updates: *****/
/***** 3/28/2005 - Initial Version : Danny Blanchard *****/
/***** Feb 2018 - JoyCon Version : CTCaer *****/
/***** Mar 2018 - JoyCon Version : CTCaer *****/
/***** *****/
/******************************************************************/
@@ -38,6 +38,8 @@ namespace jcColor {
private AdobeColors.HSL m_hsl;
private Color m_rgb;
private bool errorCreatingPresets = false;
private bool gripsColor;
private bool showGripsPanel = false;
public enum eDrawStyle {
Hue,
@@ -158,6 +160,24 @@ namespace jcColor {
private Panel panel_UserColors;
private Panel panel_RetailUserColors;
private Panel panel_RetailColors;
private Panel panel_RetailGripColors;
private Buttons.RoundButton rbtn_RetailGripColors04;
private Buttons.RoundButton rbtn_RetailGripColors01;
private Buttons.RoundButton rbtn_RetailGripColors02;
private Buttons.RoundButton rbtn_RetailGripColors03;
private Buttons.RoundButton rbtn_RetailGripColors16;
private Buttons.RoundButton rbtn_RetailGripColors05;
private Buttons.RoundButton rbtn_RetailGripColors15;
private Buttons.RoundButton rbtn_RetailGripColors06;
private Buttons.RoundButton rbtn_RetailGripColors14;
private Buttons.RoundButton rbtn_RetailGripColors07;
private Buttons.RoundButton rbtn_RetailGripColors13;
private Buttons.RoundButton rbtn_RetailGripColors08;
private Buttons.RoundButton rbtn_RetailGripColors12;
private Buttons.RoundButton rbtn_RetailGripColors09;
private Buttons.RoundButton rbtn_RetailGripColors11;
private Buttons.RoundButton rbtn_RetailGripColors10;
private Button btn_switchGripsPanel;
private IContainer components;
#endregion
@@ -169,9 +189,12 @@ namespace jcColor {
/// </summary>
/// <param name="starting_color">Primary color</param>
/// <param name="starting_color2">Secondary color</param>
public JoyConColorPicker(Color starting_color, Color starting_color2) {
/// <param name="gripColorOptionsOn">Grips mode</param>
public JoyConColorPicker(Color starting_color, Color starting_color2, bool gripColorOptionsOn) {
InitializeComponent();
gripsColor = gripColorOptionsOn;
m_rgb = starting_color;
m_hsl = AdobeColors.RGB_to_HSL(m_rgb);
@@ -251,21 +274,10 @@ namespace jcColor {
this.m_lbl_Saturation_Symbol = new System.Windows.Forms.Label();
this.m_lbl_Black_Symbol = new System.Windows.Forms.Label();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
this.m_lbl_Screen_Picker = new System.Windows.Forms.Label();
this.m_lbl_Old_ButtonColor_btn = new System.Windows.Forms.Label();
this.m_lbl_New_ButtonColor = new System.Windows.Forms.Label();
this.m_radio_btn_Body = new System.Windows.Forms.RadioButton();
this.m_radio_btn_Buttons = new System.Windows.Forms.RadioButton();
this.panel1 = new System.Windows.Forms.Panel();
this.panel2 = new System.Windows.Forms.Panel();
this.panel_RetailColors = new System.Windows.Forms.Panel();
this.panel_RetailUserColors = new System.Windows.Forms.Panel();
this.panel_UserColors = new System.Windows.Forms.Panel();
this.m_lbl_UserColors = new System.Windows.Forms.Label();
this.m_lbl_RetailColors = new System.Windows.Forms.Label();
this.btn_Update = new System.Windows.Forms.Button();
this.m_lbl_SelectPreset = new System.Windows.Forms.Label();
this.btn_Clear = new System.Windows.Forms.Button();
this.rbtn_RetailGripColors04 = new jcColor.Buttons.RoundButton();
this.rbtn_RetailGripColors01 = new jcColor.Buttons.RoundButton();
this.rbtn_RetailGripColors02 = new jcColor.Buttons.RoundButton();
this.rbtn_RetailGripColors03 = new jcColor.Buttons.RoundButton();
this.rbtn_RetailColors04 = new jcColor.Buttons.RoundButton();
this.rbtn_RetailColors01 = new jcColor.Buttons.RoundButton();
this.rbtn_RetailColors02 = new jcColor.Buttons.RoundButton();
@@ -282,6 +294,29 @@ namespace jcColor {
this.rbtn_RetailColors09 = new jcColor.Buttons.RoundButton();
this.rbtn_RetailColors11 = new jcColor.Buttons.RoundButton();
this.rbtn_RetailColors10 = new jcColor.Buttons.RoundButton();
this.m_eyedropColorPicker = new jcColor.EyedropColorPicker();
this.m_lbl_Screen_Picker = new System.Windows.Forms.Label();
this.m_lbl_Old_ButtonColor_btn = new System.Windows.Forms.Label();
this.m_lbl_New_ButtonColor = new System.Windows.Forms.Label();
this.m_radio_btn_Body = new System.Windows.Forms.RadioButton();
this.m_radio_btn_Buttons = new System.Windows.Forms.RadioButton();
this.panel1 = new System.Windows.Forms.Panel();
this.panel2 = new System.Windows.Forms.Panel();
this.panel_RetailGripColors = new System.Windows.Forms.Panel();
this.rbtn_RetailGripColors16 = new jcColor.Buttons.RoundButton();
this.rbtn_RetailGripColors05 = new jcColor.Buttons.RoundButton();
this.rbtn_RetailGripColors15 = new jcColor.Buttons.RoundButton();
this.rbtn_RetailGripColors06 = new jcColor.Buttons.RoundButton();
this.rbtn_RetailGripColors14 = new jcColor.Buttons.RoundButton();
this.rbtn_RetailGripColors07 = new jcColor.Buttons.RoundButton();
this.rbtn_RetailGripColors13 = new jcColor.Buttons.RoundButton();
this.rbtn_RetailGripColors08 = new jcColor.Buttons.RoundButton();
this.rbtn_RetailGripColors12 = new jcColor.Buttons.RoundButton();
this.rbtn_RetailGripColors09 = new jcColor.Buttons.RoundButton();
this.rbtn_RetailGripColors11 = new jcColor.Buttons.RoundButton();
this.rbtn_RetailGripColors10 = new jcColor.Buttons.RoundButton();
this.panel_RetailColors = new System.Windows.Forms.Panel();
this.panel_RetailUserColors = new System.Windows.Forms.Panel();
this.rbtn_RetailColors17 = new jcColor.Buttons.RoundButton();
this.rbtn_RetailColors18 = new jcColor.Buttons.RoundButton();
this.rbtn_RetailColors19 = new jcColor.Buttons.RoundButton();
@@ -298,6 +333,8 @@ namespace jcColor {
this.rbtn_RetailColors30 = new jcColor.Buttons.RoundButton();
this.rbtn_RetailColors31 = new jcColor.Buttons.RoundButton();
this.rbtn_RetailColors32 = new jcColor.Buttons.RoundButton();
this.panel_UserColors = new System.Windows.Forms.Panel();
this.m_lbl_UserColors = new System.Windows.Forms.Label();
this.rbtn_UserColors01 = new jcColor.Buttons.RoundButton();
this.rbtn_UserColors02 = new jcColor.Buttons.RoundButton();
this.rbtn_UserColors03 = new jcColor.Buttons.RoundButton();
@@ -330,11 +367,16 @@ namespace jcColor {
this.rbtn_UserColors30 = new jcColor.Buttons.RoundButton();
this.rbtn_UserColors31 = new jcColor.Buttons.RoundButton();
this.rbtn_UserColors32 = new jcColor.Buttons.RoundButton();
this.m_lbl_RetailColors = new System.Windows.Forms.Label();
this.btn_Update = new System.Windows.Forms.Button();
this.m_lbl_SelectPreset = new System.Windows.Forms.Label();
this.btn_Clear = new System.Windows.Forms.Button();
this.m_ctrl_BigBox = new jcColor.ctrl2DColorBox();
this.m_ctrl_ThinBox = new jcColor.ctrlVerticalColorSlider();
this.m_eyedropColorPicker = new jcColor.EyedropColorPicker();
this.btn_switchGripsPanel = new System.Windows.Forms.Button();
this.panel1.SuspendLayout();
this.panel2.SuspendLayout();
this.panel_RetailGripColors.SuspendLayout();
this.panel_RetailColors.SuspendLayout();
this.panel_RetailUserColors.SuspendLayout();
this.panel_UserColors.SuspendLayout();
@@ -669,237 +711,58 @@ namespace jcColor {
this.m_lbl_Black_Symbol.TabIndex = 42;
this.m_lbl_Black_Symbol.Text = "%";
//
// m_lbl_Screen_Picker
// rbtn_RetailGripColors04
//
this.m_lbl_Screen_Picker.AutoSize = true;
this.m_lbl_Screen_Picker.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
this.m_lbl_Screen_Picker.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(251)))), ((int)(((byte)(251)))));
this.m_lbl_Screen_Picker.Location = new System.Drawing.Point(313, 302);
this.m_lbl_Screen_Picker.Name = "m_lbl_Screen_Picker";
this.m_lbl_Screen_Picker.Size = new System.Drawing.Size(80, 17);
this.m_lbl_Screen_Picker.TabIndex = 48;
this.m_lbl_Screen_Picker.Text = "Eyedropper:";
this.rbtn_RetailGripColors04.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(50)))), ((int)(((byte)(120)))));
this.rbtn_RetailGripColors04.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.rbtn_RetailGripColors04.Location = new System.Drawing.Point(118, 7);
this.rbtn_RetailGripColors04.Name = "rbtn_RetailGripColors04";
this.rbtn_RetailGripColors04.Size = new System.Drawing.Size(32, 32);
this.rbtn_RetailGripColors04.TabIndex = 3;
this.rbtn_RetailGripColors04.Text = "roundButton4";
this.toolTip1.SetToolTip(this.rbtn_RetailGripColors04, "Splatoon Right Grip");
this.rbtn_RetailGripColors04.UseVisualStyleBackColor = false;
this.rbtn_RetailGripColors04.Click += new System.EventHandler(this.m_lbl_Preset_Click);
//
// m_lbl_Old_ButtonColor_btn
// rbtn_RetailGripColors01
//
this.m_lbl_Old_ButtonColor_btn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120)))));
this.m_lbl_Old_ButtonColor_btn.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
this.m_lbl_Old_ButtonColor_btn.Location = new System.Drawing.Point(109, 75);
this.m_lbl_Old_ButtonColor_btn.Margin = new System.Windows.Forms.Padding(0);
this.m_lbl_Old_ButtonColor_btn.Name = "m_lbl_Old_ButtonColor_btn";
this.m_lbl_Old_ButtonColor_btn.Size = new System.Drawing.Size(68, 42);
this.m_lbl_Old_ButtonColor_btn.TabIndex = 51;
this.m_lbl_Old_ButtonColor_btn.Click += new System.EventHandler(this.m_lbl_OldBtnColor_Click);
this.rbtn_RetailGripColors01.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
this.rbtn_RetailGripColors01.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.rbtn_RetailGripColors01.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
this.rbtn_RetailGripColors01.Location = new System.Drawing.Point(4, 7);
this.rbtn_RetailGripColors01.Name = "rbtn_RetailGripColors01";
this.rbtn_RetailGripColors01.Size = new System.Drawing.Size(32, 32);
this.rbtn_RetailGripColors01.TabIndex = 0;
this.rbtn_RetailGripColors01.Text = "roundButton1";
this.toolTip1.SetToolTip(this.rbtn_RetailGripColors01, "Normal Grips");
this.rbtn_RetailGripColors01.UseVisualStyleBackColor = false;
this.rbtn_RetailGripColors01.Click += new System.EventHandler(this.m_lbl_Preset_Click);
//
// m_lbl_New_ButtonColor
// rbtn_RetailGripColors02
//
this.m_lbl_New_ButtonColor.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120)))));
this.m_lbl_New_ButtonColor.CausesValidation = false;
this.m_lbl_New_ButtonColor.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
this.m_lbl_New_ButtonColor.Location = new System.Drawing.Point(109, 33);
this.m_lbl_New_ButtonColor.Margin = new System.Windows.Forms.Padding(0);
this.m_lbl_New_ButtonColor.Name = "m_lbl_New_ButtonColor";
this.m_lbl_New_ButtonColor.Size = new System.Drawing.Size(68, 42);
this.m_lbl_New_ButtonColor.TabIndex = 50;
this.m_lbl_New_ButtonColor.Click += new System.EventHandler(this.m_lbl_NewBtnColor_Click);
this.rbtn_RetailGripColors02.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(59)))), ((int)(((byte)(100)))));
this.rbtn_RetailGripColors02.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.rbtn_RetailGripColors02.Location = new System.Drawing.Point(42, 7);
this.rbtn_RetailGripColors02.Name = "rbtn_RetailGripColors02";
this.rbtn_RetailGripColors02.Size = new System.Drawing.Size(32, 32);
this.rbtn_RetailGripColors02.TabIndex = 1;
this.rbtn_RetailGripColors02.Text = "roundButton2";
this.toolTip1.SetToolTip(this.rbtn_RetailGripColors02, "Xenoblade Grips");
this.rbtn_RetailGripColors02.UseVisualStyleBackColor = false;
this.rbtn_RetailGripColors02.Click += new System.EventHandler(this.m_lbl_Preset_Click);
//
// m_radio_btn_Body
// rbtn_RetailGripColors03
//
this.m_radio_btn_Body.AutoSize = true;
this.m_radio_btn_Body.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
this.m_radio_btn_Body.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(188)))), ((int)(((byte)(0)))));
this.m_radio_btn_Body.Location = new System.Drawing.Point(27, 8);
this.m_radio_btn_Body.Margin = new System.Windows.Forms.Padding(0);
this.m_radio_btn_Body.Name = "m_radio_btn_Body";
this.m_radio_btn_Body.Size = new System.Drawing.Size(55, 21);
this.m_radio_btn_Body.TabIndex = 52;
this.m_radio_btn_Body.TabStop = true;
this.m_radio_btn_Body.Text = "Body";
this.m_radio_btn_Body.UseVisualStyleBackColor = true;
this.m_radio_btn_Body.CheckedChanged += new System.EventHandler(this.m_radio_btn_ColorsTypeChanged);
//
// m_radio_btn_Buttons
//
this.m_radio_btn_Buttons.AutoSize = true;
this.m_radio_btn_Buttons.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
this.m_radio_btn_Buttons.Location = new System.Drawing.Point(110, 8);
this.m_radio_btn_Buttons.Margin = new System.Windows.Forms.Padding(0);
this.m_radio_btn_Buttons.Name = "m_radio_btn_Buttons";
this.m_radio_btn_Buttons.Size = new System.Drawing.Size(69, 21);
this.m_radio_btn_Buttons.TabIndex = 53;
this.m_radio_btn_Buttons.Text = "Buttons";
this.m_radio_btn_Buttons.UseVisualStyleBackColor = true;
this.m_radio_btn_Buttons.CheckedChanged += new System.EventHandler(this.m_radio_btn_ColorsTypeChanged);
//
// panel1
//
this.panel1.Controls.Add(this.m_lbl_New_Color);
this.panel1.Controls.Add(this.m_lbl_Old_ButtonColor_btn);
this.panel1.Controls.Add(this.m_lbl_Old_Color);
this.panel1.Controls.Add(this.m_lbl_New_ButtonColor);
this.panel1.Controls.Add(this.m_radio_btn_Buttons);
this.panel1.Controls.Add(this.m_radio_btn_Body);
this.panel1.Location = new System.Drawing.Point(107, 292);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(204, 128);
this.panel1.TabIndex = 55;
//
// panel2
//
this.panel2.Controls.Add(this.panel_RetailColors);
this.panel2.Controls.Add(this.panel_RetailUserColors);
this.panel2.Controls.Add(this.panel_UserColors);
this.panel2.Controls.Add(this.m_lbl_RetailColors);
this.panel2.Location = new System.Drawing.Point(414, 33);
this.panel2.Margin = new System.Windows.Forms.Padding(0);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(313, 383);
this.panel2.TabIndex = 56;
//
// panel_RetailColors
//
this.panel_RetailColors.Controls.Add(this.rbtn_RetailColors04);
this.panel_RetailColors.Controls.Add(this.rbtn_RetailColors01);
this.panel_RetailColors.Controls.Add(this.rbtn_RetailColors02);
this.panel_RetailColors.Controls.Add(this.rbtn_RetailColors03);
this.panel_RetailColors.Controls.Add(this.rbtn_RetailColors16);
this.panel_RetailColors.Controls.Add(this.rbtn_RetailColors05);
this.panel_RetailColors.Controls.Add(this.rbtn_RetailColors15);
this.panel_RetailColors.Controls.Add(this.rbtn_RetailColors06);
this.panel_RetailColors.Controls.Add(this.rbtn_RetailColors14);
this.panel_RetailColors.Controls.Add(this.rbtn_RetailColors07);
this.panel_RetailColors.Controls.Add(this.rbtn_RetailColors13);
this.panel_RetailColors.Controls.Add(this.rbtn_RetailColors08);
this.panel_RetailColors.Controls.Add(this.rbtn_RetailColors12);
this.panel_RetailColors.Controls.Add(this.rbtn_RetailColors09);
this.panel_RetailColors.Controls.Add(this.rbtn_RetailColors11);
this.panel_RetailColors.Controls.Add(this.rbtn_RetailColors10);
this.panel_RetailColors.Location = new System.Drawing.Point(3, 22);
this.panel_RetailColors.Name = "panel_RetailColors";
this.panel_RetailColors.Size = new System.Drawing.Size(307, 82);
this.panel_RetailColors.TabIndex = 68;
//
// panel_RetailUserColors
//
this.panel_RetailUserColors.Controls.Add(this.rbtn_RetailColors17);
this.panel_RetailUserColors.Controls.Add(this.rbtn_RetailColors18);
this.panel_RetailUserColors.Controls.Add(this.rbtn_RetailColors19);
this.panel_RetailUserColors.Controls.Add(this.rbtn_RetailColors20);
this.panel_RetailUserColors.Controls.Add(this.rbtn_RetailColors21);
this.panel_RetailUserColors.Controls.Add(this.rbtn_RetailColors22);
this.panel_RetailUserColors.Controls.Add(this.rbtn_RetailColors23);
this.panel_RetailUserColors.Controls.Add(this.rbtn_RetailColors24);
this.panel_RetailUserColors.Controls.Add(this.rbtn_RetailColors25);
this.panel_RetailUserColors.Controls.Add(this.rbtn_RetailColors26);
this.panel_RetailUserColors.Controls.Add(this.rbtn_RetailColors27);
this.panel_RetailUserColors.Controls.Add(this.rbtn_RetailColors28);
this.panel_RetailUserColors.Controls.Add(this.rbtn_RetailColors29);
this.panel_RetailUserColors.Controls.Add(this.rbtn_RetailColors30);
this.panel_RetailUserColors.Controls.Add(this.rbtn_RetailColors31);
this.panel_RetailUserColors.Controls.Add(this.rbtn_RetailColors32);
this.panel_RetailUserColors.Location = new System.Drawing.Point(3, 105);
this.panel_RetailUserColors.Name = "panel_RetailUserColors";
this.panel_RetailUserColors.Size = new System.Drawing.Size(307, 87);
this.panel_RetailUserColors.TabIndex = 67;
//
// panel_UserColors
//
this.panel_UserColors.Controls.Add(this.m_lbl_UserColors);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors01);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors02);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors03);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors04);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors05);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors06);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors07);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors08);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors09);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors10);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors11);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors12);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors13);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors14);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors15);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors16);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors17);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors18);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors19);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors20);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors21);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors22);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors23);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors24);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors25);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors26);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors27);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors28);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors29);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors30);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors31);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors32);
this.panel_UserColors.Location = new System.Drawing.Point(3, 195);
this.panel_UserColors.Name = "panel_UserColors";
this.panel_UserColors.Size = new System.Drawing.Size(307, 188);
this.panel_UserColors.TabIndex = 66;
//
// m_lbl_UserColors
//
this.m_lbl_UserColors.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
this.m_lbl_UserColors.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(251)))), ((int)(((byte)(251)))));
this.m_lbl_UserColors.Location = new System.Drawing.Point(5, 4);
this.m_lbl_UserColors.Name = "m_lbl_UserColors";
this.m_lbl_UserColors.Size = new System.Drawing.Size(260, 20);
this.m_lbl_UserColors.TabIndex = 65;
this.m_lbl_UserColors.Text = "Custom Color Sets:";
//
// m_lbl_RetailColors
//
this.m_lbl_RetailColors.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
this.m_lbl_RetailColors.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(251)))), ((int)(((byte)(251)))));
this.m_lbl_RetailColors.Location = new System.Drawing.Point(8, 4);
this.m_lbl_RetailColors.Name = "m_lbl_RetailColors";
this.m_lbl_RetailColors.Size = new System.Drawing.Size(260, 20);
this.m_lbl_RetailColors.TabIndex = 59;
this.m_lbl_RetailColors.Text = "Retail Color Sets:";
//
// btn_Update
//
this.btn_Update.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85)))));
this.btn_Update.FlatAppearance.BorderSize = 0;
this.btn_Update.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btn_Update.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
this.btn_Update.Location = new System.Drawing.Point(664, 19);
this.btn_Update.Name = "btn_Update";
this.btn_Update.Size = new System.Drawing.Size(55, 26);
this.btn_Update.TabIndex = 57;
this.btn_Update.Text = "Update";
this.btn_Update.UseVisualStyleBackColor = false;
this.btn_Update.Click += new System.EventHandler(this.SetPresetColorName);
//
// m_lbl_SelectPreset
//
this.m_lbl_SelectPreset.Font = new System.Drawing.Font("Segoe UI Semibold", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
this.m_lbl_SelectPreset.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(251)))), ((int)(((byte)(251)))));
this.m_lbl_SelectPreset.Location = new System.Drawing.Point(411, 6);
this.m_lbl_SelectPreset.Name = "m_lbl_SelectPreset";
this.m_lbl_SelectPreset.Size = new System.Drawing.Size(101, 20);
this.m_lbl_SelectPreset.TabIndex = 58;
this.m_lbl_SelectPreset.Text = "Select Preset:";
//
// btn_Clear
//
this.btn_Clear.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85)))));
this.btn_Clear.FlatAppearance.BorderSize = 0;
this.btn_Clear.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btn_Clear.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
this.btn_Clear.ForeColor = System.Drawing.Color.OrangeRed;
this.btn_Clear.Location = new System.Drawing.Point(598, 19);
this.btn_Clear.Name = "btn_Clear";
this.btn_Clear.Size = new System.Drawing.Size(55, 26);
this.btn_Clear.TabIndex = 60;
this.btn_Clear.Text = "Clear";
this.btn_Clear.UseVisualStyleBackColor = false;
this.btn_Clear.Click += new System.EventHandler(this.ClearPreset);
this.rbtn_RetailGripColors03.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(220)))), ((int)(((byte)(0)))));
this.rbtn_RetailGripColors03.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.rbtn_RetailGripColors03.Location = new System.Drawing.Point(80, 7);
this.rbtn_RetailGripColors03.Name = "rbtn_RetailGripColors03";
this.rbtn_RetailGripColors03.Size = new System.Drawing.Size(32, 32);
this.rbtn_RetailGripColors03.TabIndex = 2;
this.rbtn_RetailGripColors03.Text = "roundButton3";
this.toolTip1.SetToolTip(this.rbtn_RetailGripColors03, "Splatoon Left Grip");
this.rbtn_RetailGripColors03.UseVisualStyleBackColor = false;
this.rbtn_RetailGripColors03.Click += new System.EventHandler(this.m_lbl_Preset_Click);
//
// rbtn_RetailColors04
//
@@ -1110,6 +973,320 @@ namespace jcColor {
this.rbtn_RetailColors10.UseVisualStyleBackColor = false;
this.rbtn_RetailColors10.Click += new System.EventHandler(this.m_lbl_Preset_Click);
//
// m_eyedropColorPicker
//
this.m_eyedropColorPicker.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85)))));
this.m_eyedropColorPicker.Location = new System.Drawing.Point(317, 324);
this.m_eyedropColorPicker.Name = "m_eyedropColorPicker";
this.m_eyedropColorPicker.SelectedColor = System.Drawing.Color.Empty;
this.m_eyedropColorPicker.Size = new System.Drawing.Size(85, 85);
this.m_eyedropColorPicker.TabIndex = 2;
this.m_eyedropColorPicker.TabStop = false;
this.toolTip1.SetToolTip(this.m_eyedropColorPicker, "Color Selector. Click and Drag to pick a color from the screen");
this.m_eyedropColorPicker.Zoom = 4;
//
// m_lbl_Screen_Picker
//
this.m_lbl_Screen_Picker.AutoSize = true;
this.m_lbl_Screen_Picker.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
this.m_lbl_Screen_Picker.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(251)))), ((int)(((byte)(251)))));
this.m_lbl_Screen_Picker.Location = new System.Drawing.Point(313, 302);
this.m_lbl_Screen_Picker.Name = "m_lbl_Screen_Picker";
this.m_lbl_Screen_Picker.Size = new System.Drawing.Size(80, 17);
this.m_lbl_Screen_Picker.TabIndex = 48;
this.m_lbl_Screen_Picker.Text = "Eyedropper:";
//
// m_lbl_Old_ButtonColor_btn
//
this.m_lbl_Old_ButtonColor_btn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120)))));
this.m_lbl_Old_ButtonColor_btn.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
this.m_lbl_Old_ButtonColor_btn.Location = new System.Drawing.Point(109, 75);
this.m_lbl_Old_ButtonColor_btn.Margin = new System.Windows.Forms.Padding(0);
this.m_lbl_Old_ButtonColor_btn.Name = "m_lbl_Old_ButtonColor_btn";
this.m_lbl_Old_ButtonColor_btn.Size = new System.Drawing.Size(68, 42);
this.m_lbl_Old_ButtonColor_btn.TabIndex = 51;
this.m_lbl_Old_ButtonColor_btn.Click += new System.EventHandler(this.m_lbl_OldBtnColor_Click);
//
// m_lbl_New_ButtonColor
//
this.m_lbl_New_ButtonColor.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120)))));
this.m_lbl_New_ButtonColor.CausesValidation = false;
this.m_lbl_New_ButtonColor.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
this.m_lbl_New_ButtonColor.Location = new System.Drawing.Point(109, 33);
this.m_lbl_New_ButtonColor.Margin = new System.Windows.Forms.Padding(0);
this.m_lbl_New_ButtonColor.Name = "m_lbl_New_ButtonColor";
this.m_lbl_New_ButtonColor.Size = new System.Drawing.Size(68, 42);
this.m_lbl_New_ButtonColor.TabIndex = 50;
this.m_lbl_New_ButtonColor.Click += new System.EventHandler(this.m_lbl_NewBtnColor_Click);
//
// m_radio_btn_Body
//
this.m_radio_btn_Body.AutoSize = true;
this.m_radio_btn_Body.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
this.m_radio_btn_Body.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(188)))), ((int)(((byte)(0)))));
this.m_radio_btn_Body.Location = new System.Drawing.Point(27, 8);
this.m_radio_btn_Body.Margin = new System.Windows.Forms.Padding(0);
this.m_radio_btn_Body.Name = "m_radio_btn_Body";
this.m_radio_btn_Body.Size = new System.Drawing.Size(55, 21);
this.m_radio_btn_Body.TabIndex = 52;
this.m_radio_btn_Body.TabStop = true;
this.m_radio_btn_Body.Text = "Body";
this.m_radio_btn_Body.UseVisualStyleBackColor = true;
this.m_radio_btn_Body.CheckedChanged += new System.EventHandler(this.m_radio_btn_ColorsTypeChanged);
//
// m_radio_btn_Buttons
//
this.m_radio_btn_Buttons.AutoSize = true;
this.m_radio_btn_Buttons.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
this.m_radio_btn_Buttons.Location = new System.Drawing.Point(110, 8);
this.m_radio_btn_Buttons.Margin = new System.Windows.Forms.Padding(0);
this.m_radio_btn_Buttons.Name = "m_radio_btn_Buttons";
this.m_radio_btn_Buttons.Size = new System.Drawing.Size(69, 21);
this.m_radio_btn_Buttons.TabIndex = 53;
this.m_radio_btn_Buttons.Text = "Buttons";
this.m_radio_btn_Buttons.UseVisualStyleBackColor = true;
this.m_radio_btn_Buttons.CheckedChanged += new System.EventHandler(this.m_radio_btn_ColorsTypeChanged);
//
// panel1
//
this.panel1.Controls.Add(this.m_lbl_New_Color);
this.panel1.Controls.Add(this.m_lbl_Old_ButtonColor_btn);
this.panel1.Controls.Add(this.m_lbl_Old_Color);
this.panel1.Controls.Add(this.m_lbl_New_ButtonColor);
this.panel1.Controls.Add(this.m_radio_btn_Buttons);
this.panel1.Controls.Add(this.m_radio_btn_Body);
this.panel1.Location = new System.Drawing.Point(107, 292);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(204, 128);
this.panel1.TabIndex = 55;
//
// panel2
//
this.panel2.Controls.Add(this.panel_RetailGripColors);
this.panel2.Controls.Add(this.panel_RetailColors);
this.panel2.Controls.Add(this.panel_RetailUserColors);
this.panel2.Controls.Add(this.panel_UserColors);
this.panel2.Controls.Add(this.m_lbl_RetailColors);
this.panel2.Location = new System.Drawing.Point(414, 33);
this.panel2.Margin = new System.Windows.Forms.Padding(0);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(313, 383);
this.panel2.TabIndex = 56;
//
// panel_RetailGripColors
//
this.panel_RetailGripColors.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60)))));
this.panel_RetailGripColors.Controls.Add(this.rbtn_RetailGripColors04);
this.panel_RetailGripColors.Controls.Add(this.rbtn_RetailGripColors01);
this.panel_RetailGripColors.Controls.Add(this.rbtn_RetailGripColors02);
this.panel_RetailGripColors.Controls.Add(this.rbtn_RetailGripColors03);
this.panel_RetailGripColors.Controls.Add(this.rbtn_RetailGripColors16);
this.panel_RetailGripColors.Controls.Add(this.rbtn_RetailGripColors05);
this.panel_RetailGripColors.Controls.Add(this.rbtn_RetailGripColors15);
this.panel_RetailGripColors.Controls.Add(this.rbtn_RetailGripColors06);
this.panel_RetailGripColors.Controls.Add(this.rbtn_RetailGripColors14);
this.panel_RetailGripColors.Controls.Add(this.rbtn_RetailGripColors07);
this.panel_RetailGripColors.Controls.Add(this.rbtn_RetailGripColors13);
this.panel_RetailGripColors.Controls.Add(this.rbtn_RetailGripColors08);
this.panel_RetailGripColors.Controls.Add(this.rbtn_RetailGripColors12);
this.panel_RetailGripColors.Controls.Add(this.rbtn_RetailGripColors09);
this.panel_RetailGripColors.Controls.Add(this.rbtn_RetailGripColors11);
this.panel_RetailGripColors.Controls.Add(this.rbtn_RetailGripColors10);
this.panel_RetailGripColors.Location = new System.Drawing.Point(3, 105);
this.panel_RetailGripColors.Name = "panel_RetailGripColors";
this.panel_RetailGripColors.Size = new System.Drawing.Size(307, 82);
this.panel_RetailGripColors.TabIndex = 69;
//
// rbtn_RetailGripColors16
//
this.rbtn_RetailGripColors16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.rbtn_RetailGripColors16.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.rbtn_RetailGripColors16.Location = new System.Drawing.Point(270, 43);
this.rbtn_RetailGripColors16.Name = "rbtn_RetailGripColors16";
this.rbtn_RetailGripColors16.Size = new System.Drawing.Size(32, 32);
this.rbtn_RetailGripColors16.TabIndex = 15;
this.rbtn_RetailGripColors16.Text = "roundButton9";
this.rbtn_RetailGripColors16.UseVisualStyleBackColor = false;
this.rbtn_RetailGripColors16.Click += new System.EventHandler(this.m_lbl_Preset_Click);
//
// rbtn_RetailGripColors05
//
this.rbtn_RetailGripColors05.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.rbtn_RetailGripColors05.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.rbtn_RetailGripColors05.Location = new System.Drawing.Point(156, 7);
this.rbtn_RetailGripColors05.Name = "rbtn_RetailGripColors05";
this.rbtn_RetailGripColors05.Size = new System.Drawing.Size(32, 32);
this.rbtn_RetailGripColors05.TabIndex = 4;
this.rbtn_RetailGripColors05.Text = "roundButton5";
this.rbtn_RetailGripColors05.UseVisualStyleBackColor = false;
this.rbtn_RetailGripColors05.Click += new System.EventHandler(this.m_lbl_Preset_Click);
//
// rbtn_RetailGripColors15
//
this.rbtn_RetailGripColors15.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.rbtn_RetailGripColors15.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.rbtn_RetailGripColors15.Location = new System.Drawing.Point(232, 43);
this.rbtn_RetailGripColors15.Name = "rbtn_RetailGripColors15";
this.rbtn_RetailGripColors15.Size = new System.Drawing.Size(32, 32);
this.rbtn_RetailGripColors15.TabIndex = 14;
this.rbtn_RetailGripColors15.Text = "roundButton10";
this.rbtn_RetailGripColors15.UseVisualStyleBackColor = false;
this.rbtn_RetailGripColors15.Click += new System.EventHandler(this.m_lbl_Preset_Click);
//
// rbtn_RetailGripColors06
//
this.rbtn_RetailGripColors06.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.rbtn_RetailGripColors06.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.rbtn_RetailGripColors06.Location = new System.Drawing.Point(194, 7);
this.rbtn_RetailGripColors06.Name = "rbtn_RetailGripColors06";
this.rbtn_RetailGripColors06.Size = new System.Drawing.Size(32, 32);
this.rbtn_RetailGripColors06.TabIndex = 5;
this.rbtn_RetailGripColors06.Text = "roundButton6";
this.rbtn_RetailGripColors06.UseVisualStyleBackColor = false;
this.rbtn_RetailGripColors06.Click += new System.EventHandler(this.m_lbl_Preset_Click);
//
// rbtn_RetailGripColors14
//
this.rbtn_RetailGripColors14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.rbtn_RetailGripColors14.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.rbtn_RetailGripColors14.Location = new System.Drawing.Point(194, 43);
this.rbtn_RetailGripColors14.Name = "rbtn_RetailGripColors14";
this.rbtn_RetailGripColors14.Size = new System.Drawing.Size(32, 32);
this.rbtn_RetailGripColors14.TabIndex = 13;
this.rbtn_RetailGripColors14.Text = "roundButton11";
this.rbtn_RetailGripColors14.UseVisualStyleBackColor = false;
this.rbtn_RetailGripColors14.Click += new System.EventHandler(this.m_lbl_Preset_Click);
//
// rbtn_RetailGripColors07
//
this.rbtn_RetailGripColors07.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.rbtn_RetailGripColors07.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.rbtn_RetailGripColors07.Location = new System.Drawing.Point(232, 7);
this.rbtn_RetailGripColors07.Name = "rbtn_RetailGripColors07";
this.rbtn_RetailGripColors07.Size = new System.Drawing.Size(32, 32);
this.rbtn_RetailGripColors07.TabIndex = 6;
this.rbtn_RetailGripColors07.Text = "roundButton7";
this.rbtn_RetailGripColors07.UseVisualStyleBackColor = false;
this.rbtn_RetailGripColors07.Click += new System.EventHandler(this.m_lbl_Preset_Click);
//
// rbtn_RetailGripColors13
//
this.rbtn_RetailGripColors13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.rbtn_RetailGripColors13.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.rbtn_RetailGripColors13.Location = new System.Drawing.Point(156, 43);
this.rbtn_RetailGripColors13.Name = "rbtn_RetailGripColors13";
this.rbtn_RetailGripColors13.Size = new System.Drawing.Size(32, 32);
this.rbtn_RetailGripColors13.TabIndex = 12;
this.rbtn_RetailGripColors13.Text = "roundButton12";
this.rbtn_RetailGripColors13.UseVisualStyleBackColor = false;
this.rbtn_RetailGripColors13.Click += new System.EventHandler(this.m_lbl_Preset_Click);
//
// rbtn_RetailGripColors08
//
this.rbtn_RetailGripColors08.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.rbtn_RetailGripColors08.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.rbtn_RetailGripColors08.Location = new System.Drawing.Point(270, 7);
this.rbtn_RetailGripColors08.Name = "rbtn_RetailGripColors08";
this.rbtn_RetailGripColors08.Size = new System.Drawing.Size(32, 32);
this.rbtn_RetailGripColors08.TabIndex = 7;
this.rbtn_RetailGripColors08.Text = "roundButton8";
this.rbtn_RetailGripColors08.UseVisualStyleBackColor = false;
this.rbtn_RetailGripColors08.Click += new System.EventHandler(this.m_lbl_Preset_Click);
//
// rbtn_RetailGripColors12
//
this.rbtn_RetailGripColors12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.rbtn_RetailGripColors12.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.rbtn_RetailGripColors12.Location = new System.Drawing.Point(118, 43);
this.rbtn_RetailGripColors12.Name = "rbtn_RetailGripColors12";
this.rbtn_RetailGripColors12.Size = new System.Drawing.Size(32, 32);
this.rbtn_RetailGripColors12.TabIndex = 11;
this.rbtn_RetailGripColors12.Text = "roundButton13";
this.rbtn_RetailGripColors12.UseVisualStyleBackColor = false;
this.rbtn_RetailGripColors12.Click += new System.EventHandler(this.m_lbl_Preset_Click);
//
// rbtn_RetailGripColors09
//
this.rbtn_RetailGripColors09.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.rbtn_RetailGripColors09.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.rbtn_RetailGripColors09.Location = new System.Drawing.Point(4, 43);
this.rbtn_RetailGripColors09.Name = "rbtn_RetailGripColors09";
this.rbtn_RetailGripColors09.Size = new System.Drawing.Size(32, 32);
this.rbtn_RetailGripColors09.TabIndex = 8;
this.rbtn_RetailGripColors09.Text = "roundButton16";
this.rbtn_RetailGripColors09.UseVisualStyleBackColor = false;
this.rbtn_RetailGripColors09.Click += new System.EventHandler(this.m_lbl_Preset_Click);
//
// rbtn_RetailGripColors11
//
this.rbtn_RetailGripColors11.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.rbtn_RetailGripColors11.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.rbtn_RetailGripColors11.Location = new System.Drawing.Point(80, 43);
this.rbtn_RetailGripColors11.Name = "rbtn_RetailGripColors11";
this.rbtn_RetailGripColors11.Size = new System.Drawing.Size(32, 32);
this.rbtn_RetailGripColors11.TabIndex = 10;
this.rbtn_RetailGripColors11.Text = "roundButton14";
this.rbtn_RetailGripColors11.UseVisualStyleBackColor = false;
this.rbtn_RetailGripColors11.Click += new System.EventHandler(this.m_lbl_Preset_Click);
//
// rbtn_RetailGripColors10
//
this.rbtn_RetailGripColors10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.rbtn_RetailGripColors10.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.rbtn_RetailGripColors10.Location = new System.Drawing.Point(42, 43);
this.rbtn_RetailGripColors10.Name = "rbtn_RetailGripColors10";
this.rbtn_RetailGripColors10.Size = new System.Drawing.Size(32, 32);
this.rbtn_RetailGripColors10.TabIndex = 9;
this.rbtn_RetailGripColors10.Text = "roundButton15";
this.rbtn_RetailGripColors10.UseVisualStyleBackColor = false;
this.rbtn_RetailGripColors10.Click += new System.EventHandler(this.m_lbl_Preset_Click);
//
// panel_RetailColors
//
this.panel_RetailColors.Controls.Add(this.rbtn_RetailColors04);
this.panel_RetailColors.Controls.Add(this.rbtn_RetailColors01);
this.panel_RetailColors.Controls.Add(this.rbtn_RetailColors02);
this.panel_RetailColors.Controls.Add(this.rbtn_RetailColors03);
this.panel_RetailColors.Controls.Add(this.rbtn_RetailColors16);
this.panel_RetailColors.Controls.Add(this.rbtn_RetailColors05);
this.panel_RetailColors.Controls.Add(this.rbtn_RetailColors15);
this.panel_RetailColors.Controls.Add(this.rbtn_RetailColors06);
this.panel_RetailColors.Controls.Add(this.rbtn_RetailColors14);
this.panel_RetailColors.Controls.Add(this.rbtn_RetailColors07);
this.panel_RetailColors.Controls.Add(this.rbtn_RetailColors13);
this.panel_RetailColors.Controls.Add(this.rbtn_RetailColors08);
this.panel_RetailColors.Controls.Add(this.rbtn_RetailColors12);
this.panel_RetailColors.Controls.Add(this.rbtn_RetailColors09);
this.panel_RetailColors.Controls.Add(this.rbtn_RetailColors11);
this.panel_RetailColors.Controls.Add(this.rbtn_RetailColors10);
this.panel_RetailColors.Location = new System.Drawing.Point(3, 22);
this.panel_RetailColors.Name = "panel_RetailColors";
this.panel_RetailColors.Size = new System.Drawing.Size(307, 82);
this.panel_RetailColors.TabIndex = 68;
//
// panel_RetailUserColors
//
this.panel_RetailUserColors.Controls.Add(this.rbtn_RetailColors17);
this.panel_RetailUserColors.Controls.Add(this.rbtn_RetailColors18);
this.panel_RetailUserColors.Controls.Add(this.rbtn_RetailColors19);
this.panel_RetailUserColors.Controls.Add(this.rbtn_RetailColors20);
this.panel_RetailUserColors.Controls.Add(this.rbtn_RetailColors21);
this.panel_RetailUserColors.Controls.Add(this.rbtn_RetailColors22);
this.panel_RetailUserColors.Controls.Add(this.rbtn_RetailColors23);
this.panel_RetailUserColors.Controls.Add(this.rbtn_RetailColors24);
this.panel_RetailUserColors.Controls.Add(this.rbtn_RetailColors25);
this.panel_RetailUserColors.Controls.Add(this.rbtn_RetailColors26);
this.panel_RetailUserColors.Controls.Add(this.rbtn_RetailColors27);
this.panel_RetailUserColors.Controls.Add(this.rbtn_RetailColors28);
this.panel_RetailUserColors.Controls.Add(this.rbtn_RetailColors29);
this.panel_RetailUserColors.Controls.Add(this.rbtn_RetailColors30);
this.panel_RetailUserColors.Controls.Add(this.rbtn_RetailColors31);
this.panel_RetailUserColors.Controls.Add(this.rbtn_RetailColors32);
this.panel_RetailUserColors.Location = new System.Drawing.Point(3, 105);
this.panel_RetailUserColors.Name = "panel_RetailUserColors";
this.panel_RetailUserColors.Size = new System.Drawing.Size(307, 87);
this.panel_RetailUserColors.TabIndex = 67;
//
// rbtn_RetailColors17
//
this.rbtn_RetailColors17.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
@@ -1193,7 +1370,7 @@ namespace jcColor {
this.rbtn_RetailColors23.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.rbtn_RetailColors23.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.rbtn_RetailColors23.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.rbtn_RetailColors23.Location = new System.Drawing.Point(233, 7);
this.rbtn_RetailColors23.Location = new System.Drawing.Point(232, 7);
this.rbtn_RetailColors23.Name = "rbtn_RetailColors23";
this.rbtn_RetailColors23.Size = new System.Drawing.Size(32, 32);
this.rbtn_RetailColors23.TabIndex = 22;
@@ -1290,7 +1467,7 @@ namespace jcColor {
//
this.rbtn_RetailColors31.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.rbtn_RetailColors31.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.rbtn_RetailColors31.Location = new System.Drawing.Point(233, 43);
this.rbtn_RetailColors31.Location = new System.Drawing.Point(232, 43);
this.rbtn_RetailColors31.Name = "rbtn_RetailColors31";
this.rbtn_RetailColors31.Size = new System.Drawing.Size(32, 32);
this.rbtn_RetailColors31.TabIndex = 30;
@@ -1310,6 +1487,56 @@ namespace jcColor {
this.rbtn_RetailColors32.UseVisualStyleBackColor = false;
this.rbtn_RetailColors32.Click += new System.EventHandler(this.m_lbl_Preset_Click);
//
// panel_UserColors
//
this.panel_UserColors.Controls.Add(this.m_lbl_UserColors);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors01);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors02);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors03);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors04);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors05);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors06);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors07);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors08);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors09);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors10);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors11);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors12);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors13);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors14);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors15);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors16);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors17);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors18);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors19);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors20);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors21);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors22);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors23);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors24);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors25);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors26);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors27);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors28);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors29);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors30);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors31);
this.panel_UserColors.Controls.Add(this.rbtn_UserColors32);
this.panel_UserColors.Location = new System.Drawing.Point(3, 195);
this.panel_UserColors.Name = "panel_UserColors";
this.panel_UserColors.Size = new System.Drawing.Size(307, 188);
this.panel_UserColors.TabIndex = 66;
//
// m_lbl_UserColors
//
this.m_lbl_UserColors.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
this.m_lbl_UserColors.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(251)))), ((int)(((byte)(251)))));
this.m_lbl_UserColors.Location = new System.Drawing.Point(5, 4);
this.m_lbl_UserColors.Name = "m_lbl_UserColors";
this.m_lbl_UserColors.Size = new System.Drawing.Size(260, 20);
this.m_lbl_UserColors.TabIndex = 65;
this.m_lbl_UserColors.Text = "Custom Color Sets:";
//
// rbtn_UserColors01
//
this.rbtn_UserColors01.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
@@ -1386,7 +1613,7 @@ namespace jcColor {
//
this.rbtn_UserColors07.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.rbtn_UserColors07.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.rbtn_UserColors07.Location = new System.Drawing.Point(233, 29);
this.rbtn_UserColors07.Location = new System.Drawing.Point(232, 29);
this.rbtn_UserColors07.Name = "rbtn_UserColors07";
this.rbtn_UserColors07.Size = new System.Drawing.Size(32, 32);
this.rbtn_UserColors07.TabIndex = 38;
@@ -1482,7 +1709,7 @@ namespace jcColor {
//
this.rbtn_UserColors15.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.rbtn_UserColors15.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.rbtn_UserColors15.Location = new System.Drawing.Point(233, 112);
this.rbtn_UserColors15.Location = new System.Drawing.Point(232, 112);
this.rbtn_UserColors15.Name = "rbtn_UserColors15";
this.rbtn_UserColors15.Size = new System.Drawing.Size(32, 32);
this.rbtn_UserColors15.TabIndex = 54;
@@ -1578,7 +1805,7 @@ namespace jcColor {
//
this.rbtn_UserColors23.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.rbtn_UserColors23.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.rbtn_UserColors23.Location = new System.Drawing.Point(233, 65);
this.rbtn_UserColors23.Location = new System.Drawing.Point(232, 65);
this.rbtn_UserColors23.Name = "rbtn_UserColors23";
this.rbtn_UserColors23.Size = new System.Drawing.Size(32, 32);
this.rbtn_UserColors23.TabIndex = 46;
@@ -1674,7 +1901,7 @@ namespace jcColor {
//
this.rbtn_UserColors31.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.rbtn_UserColors31.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.rbtn_UserColors31.Location = new System.Drawing.Point(232, 148);
this.rbtn_UserColors31.Location = new System.Drawing.Point(231, 148);
this.rbtn_UserColors31.Name = "rbtn_UserColors31";
this.rbtn_UserColors31.Size = new System.Drawing.Size(32, 32);
this.rbtn_UserColors31.TabIndex = 62;
@@ -1694,6 +1921,55 @@ namespace jcColor {
this.rbtn_UserColors32.UseVisualStyleBackColor = false;
this.rbtn_UserColors32.Click += new System.EventHandler(this.m_lbl_Preset_Click);
//
// m_lbl_RetailColors
//
this.m_lbl_RetailColors.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
this.m_lbl_RetailColors.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(251)))), ((int)(((byte)(251)))));
this.m_lbl_RetailColors.Location = new System.Drawing.Point(8, 4);
this.m_lbl_RetailColors.Name = "m_lbl_RetailColors";
this.m_lbl_RetailColors.Size = new System.Drawing.Size(260, 20);
this.m_lbl_RetailColors.TabIndex = 59;
this.m_lbl_RetailColors.Text = "Retail Color Sets:";
//
// btn_Update
//
this.btn_Update.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85)))));
this.btn_Update.FlatAppearance.BorderSize = 0;
this.btn_Update.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btn_Update.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
this.btn_Update.Location = new System.Drawing.Point(664, 19);
this.btn_Update.Name = "btn_Update";
this.btn_Update.Size = new System.Drawing.Size(55, 26);
this.btn_Update.TabIndex = 57;
this.btn_Update.Text = "Update";
this.btn_Update.UseVisualStyleBackColor = false;
this.btn_Update.Click += new System.EventHandler(this.SetPresetColorName);
//
// m_lbl_SelectPreset
//
this.m_lbl_SelectPreset.Font = new System.Drawing.Font("Segoe UI Semibold", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
this.m_lbl_SelectPreset.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(251)))), ((int)(((byte)(251)))));
this.m_lbl_SelectPreset.Location = new System.Drawing.Point(411, 6);
this.m_lbl_SelectPreset.Name = "m_lbl_SelectPreset";
this.m_lbl_SelectPreset.Size = new System.Drawing.Size(101, 20);
this.m_lbl_SelectPreset.TabIndex = 58;
this.m_lbl_SelectPreset.Text = "Select Preset:";
//
// btn_Clear
//
this.btn_Clear.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85)))));
this.btn_Clear.FlatAppearance.BorderSize = 0;
this.btn_Clear.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btn_Clear.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
this.btn_Clear.ForeColor = System.Drawing.Color.OrangeRed;
this.btn_Clear.Location = new System.Drawing.Point(603, 19);
this.btn_Clear.Name = "btn_Clear";
this.btn_Clear.Size = new System.Drawing.Size(55, 26);
this.btn_Clear.TabIndex = 60;
this.btn_Clear.Text = "Clear";
this.btn_Clear.UseVisualStyleBackColor = false;
this.btn_Clear.Click += new System.EventHandler(this.ClearPreset);
//
// m_ctrl_BigBox
//
this.m_ctrl_BigBox.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
@@ -1729,23 +2005,28 @@ namespace jcColor {
this.m_ctrl_ThinBox.TabIndex = 38;
this.m_ctrl_ThinBox.Scroll += new jcColor.EventHandler(this.m_ctrl_ThinBox_Scroll);
//
// m_eyedropColorPicker
// btn_switchGripsPanel
//
this.m_eyedropColorPicker.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85)))));
this.m_eyedropColorPicker.Location = new System.Drawing.Point(317, 324);
this.m_eyedropColorPicker.Name = "m_eyedropColorPicker";
this.m_eyedropColorPicker.SelectedColor = System.Drawing.Color.Empty;
this.m_eyedropColorPicker.Size = new System.Drawing.Size(85, 85);
this.m_eyedropColorPicker.TabIndex = 2;
this.m_eyedropColorPicker.TabStop = false;
this.toolTip1.SetToolTip(this.m_eyedropColorPicker, "Color Selector. Click and Drag to pick a color from the screen");
this.m_eyedropColorPicker.Zoom = 4;
this.btn_switchGripsPanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85)))));
this.btn_switchGripsPanel.FlatAppearance.BorderSize = 0;
this.btn_switchGripsPanel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btn_switchGripsPanel.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
this.btn_switchGripsPanel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(188)))), ((int)(((byte)(0)))));
this.btn_switchGripsPanel.Location = new System.Drawing.Point(542, 19);
this.btn_switchGripsPanel.Name = "btn_switchGripsPanel";
this.btn_switchGripsPanel.Size = new System.Drawing.Size(55, 26);
this.btn_switchGripsPanel.TabIndex = 61;
this.btn_switchGripsPanel.Text = "Grips";
this.btn_switchGripsPanel.UseVisualStyleBackColor = false;
this.btn_switchGripsPanel.Click += new System.EventHandler(this.btn_switchGripsPanel_Click);
//
// JoyConColorPicker
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
this.ClientSize = new System.Drawing.Size(727, 424);
this.ControlBox = false;
this.Controls.Add(this.btn_switchGripsPanel);
this.Controls.Add(this.btn_Clear);
this.Controls.Add(this.m_lbl_SelectPreset);
this.Controls.Add(this.btn_Update);
@@ -1790,6 +2071,7 @@ namespace jcColor {
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.panel2.ResumeLayout(false);
this.panel_RetailGripColors.ResumeLayout(false);
this.panel_RetailColors.ResumeLayout(false);
this.panel_RetailUserColors.ResumeLayout(false);
this.panel_UserColors.ResumeLayout(false);
@@ -1825,6 +2107,20 @@ namespace jcColor {
}
public void loadGripsPanel() {
if (gripsColor) {
this.m_radio_btn_Body.Text = "Grip (L)";
this.m_radio_btn_Buttons.Text = "Grip (R)";
showGripsPanel = true;
this.btn_switchGripsPanel.Text = "Retail";
}
else {
this.panel2.Controls.Remove(this.panel_RetailGripColors);
showGripsPanel = false;
}
}
private void m_cmd_OK_Click(object sender, System.EventArgs e) {
saveCustomColorToConfig();
this.DialogResult = DialogResult.OK;
@@ -2319,6 +2615,23 @@ namespace jcColor {
}
private void btn_switchGripsPanel_Click(object sender, EventArgs e) {
this.AutoScaleDimensions = new System.Drawing.SizeF(96, 96);
if (showGripsPanel) {
showGripsPanel = false;
this.btn_switchGripsPanel.Text = "Grips";
this.panel2.Controls.Remove(this.panel_RetailGripColors);
}
else {
showGripsPanel = true;
this.AutoScaleDimensions = new System.Drawing.SizeF(96, 96);
this.btn_switchGripsPanel.Text = "Retail";
this.panel2.Controls.Add(this.panel_RetailGripColors);
this.panel_RetailGripColors.BringToFront();
}
}
private Color ParseHexData(string hex_data) {
if (hex_data.Length > 6 || hex_data.Length < 0)
return Color.Black;
@@ -2729,6 +3042,16 @@ namespace jcColor {
}
}
public bool GripsColorValue {
get {
return gripsColor;
}
set {
gripsColor = value;
}
}
public eDrawStyle DrawStyle {
get {
+1425 -177
View File
File diff suppressed because it is too large. Load diff
+72 -3
View File
@@ -18,6 +18,71 @@ typedef int16_t s16;
typedef int32_t s32;
typedef int64_t s64;
#pragma pack(push, 1)
struct brcm_hdr {
u8 cmd;
u8 timer;
u8 rumble_l[4];
u8 rumble_r[4];
};
struct brcm_cmd_01 {
u8 subcmd;
union {
struct {
u32 offset;
u8 size;
} spi_data;
struct {
u8 arg1;
u8 arg2;
} subcmd_arg;
struct {
u8 mcu_cmd;
u8 mcu_subcmd;
u8 mcu_mode;
} subcmd_21_21;
struct {
u8 mcu_cmd;
u8 mcu_subcmd;
u8 no_of_reg;
u16 reg1_addr;
u8 reg1_val;
u16 reg2_addr;
u8 reg2_val;
u16 reg3_addr;
u8 reg3_val;
u16 reg4_addr;
u8 reg4_val;
u16 reg5_addr;
u8 reg5_val;
u16 reg6_addr;
u8 reg6_val;
u16 reg7_addr;
u8 reg7_val;
u16 reg8_addr;
u8 reg8_val;
u16 reg9_addr;
u8 reg9_val;
} subcmd_21_23_04;
struct {
u8 mcu_cmd;
u8 mcu_subcmd;
u8 mcu_ir_mode;
u8 no_of_frags;
u16 mcu_major_v;
u16 mcu_minor_v;
} subcmd_21_23_01;
};
};
#pragma pack(pop)
extern std::string get_sn(u32 offset, const u16 read_len);
extern s16 uint16_to_int16(u16 a);
extern int get_spi_data(u32 offset, const u16 read_len, u8 *test_buf);
@@ -33,14 +98,18 @@ extern int send_custom_command(u8* arg);
extern int device_connection();
extern int set_led_busy();
extern int button_test();
extern int ir_sensor(u8* buf_image, u8 ir_res_reg, u8 ir_res_no_of_packets, u16 ir_exposure, u8 ir_leds, u8 ir_digital_gain, u8 ir_ex_light_filter);
extern int nfc_tag_info();
extern int silence_input_report();
int handle_ok;
bool enable_button_test;
bool allow_full_restore;
bool enable_IRVideoPhoto;
bool enable_NFCScanning;
bool cancel_spi_dump;
hid_device *handle;
hid_device *handle_l;
int handler_close;
int option_is_on;
u8 timming_byte;
namespace CppWinFormJoy {
class images
+3
View File
@@ -43,6 +43,7 @@
<PreprocessorDefinitions>WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<CompileAs>CompileAsCpp</CompileAs>
<DebugInformationFormat>None</DebugInformationFormat>
<DisableSpecificWarnings>4244</DisableSpecificWarnings>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
@@ -80,6 +81,8 @@
<ClCompile Include="hid.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="hidapi_log.h" />
<ClInclude Include="ir_sensor.h" />
<ClInclude Include="jctool.h" />
<ClInclude Include="FormJoy.h">
<FileType>CppForm</FileType>
+6
View File
@@ -44,6 +44,12 @@
<ClInclude Include="luts.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="ir_sensor.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="hidapi_log.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="FormJoy.resx">
+42 -4
View File
@@ -6,9 +6,47 @@ struct lut_amp {
uint16_t la[101];
};
lut_amp lut_joy_amp{
{ 0.0f, 0.007843f, 0.011823f, 0.014061f, 0.01672f, 0.019885f, 0.023648f, 0.028123f, 0.033442f, 0.039771f, 0.047296f, 0.056246f, 0.066886f, 0.079542f, 0.094592f, 0.112491f, 0.117471f, 0.122671f, 0.128102f, 0.133774f, 0.139697f, 0.145882f, 0.152341f, 0.159085f, 0.166129f, 0.173484f, 0.181166f, 0.189185f, 0.197561f, 0.206308f, 0.215442f, 0.224982f, 0.229908f, 0.234943f, 0.240087f, 0.245345f, 0.250715f, 0.256206f, 0.261816f, 0.267549f, 0.273407f, 0.279394f, 0.285514f, 0.291765f, 0.298154f, 0.304681f, 0.311353f, 0.318171f, 0.325138f, 0.332258f, 0.339534f, 0.346969f, 0.354566f, 0.362331f, 0.370265f, 0.378372f, 0.386657f, 0.395124f, 0.403777f, 0.412619f, 0.421652f, 0.430885f, 0.440321f, 0.449964f, 0.459817f, 0.469885f, 0.480174f, 0.490689f, 0.501433f, 0.512413f, 0.523633f, 0.5351f, 0.546816f, 0.55879f, 0.571027f, 0.58353f, 0.596307f, 0.609365f, 0.622708f, 0.636344f, 0.650279f, 0.664518f, 0.679069f, 0.693939f, 0.709133f, 0.724662f, 0.740529f, 0.756745f, 0.773316f, 0.790249f, 0.807554f, 0.825237f, 0.843307f, 0.861772f, 0.880643f, 0.899928f, 0.919633f, 0.939771f, 0.960348f, 0.981378f, 1.002867f },
{ 0x0, 0x2, 0x4, 0x6, 0x8, 0x0a, 0x0c, 0x0e, 0x10, 0x12, 0x14, 0x16, 0x18, 0x1a, 0x1c, 0x1e, 0x20, 0x22, 0x24, 0x26, 0x28, 0x2a, 0x2c, 0x2e, 0x30, 0x32, 0x34, 0x36, 0x38, 0x3a, 0x3c, 0x3e, 0x40, 0x42, 0x44, 0x46, 0x48, 0x4a, 0x4c, 0x4e, 0x50, 0x52, 0x54, 0x56, 0x58, 0x5a, 0x5c, 0x5e, 0x60, 0x62, 0x64, 0x66, 0x68, 0x6a, 0x6c, 0x6e, 0x70, 0x72, 0x74, 0x76, 0x78, 0x7a, 0x7c, 0x7e, 0x80, 0x82, 0x84, 0x86, 0x88, 0x8a, 0x8c, 0x8e, 0x90, 0x92, 0x94, 0x96, 0x98, 0x9a, 0x9c, 0x9e, 0xa0, 0xa2, 0xa4, 0xa6, 0xa8, 0xaa, 0xac, 0xae, 0xb0, 0xb2, 0xb4, 0xb6, 0xb8, 0xba, 0xbc, 0xbe, 0xc0, 0xc2, 0xc4, 0xc6, 0xc8 },
{ 0x0040, 0x8040, 0x0041, 0x8041, 0x0042, 0x8042, 0x0043, 0x8043, 0x0044, 0x8044, 0x0045, 0x8045, 0x0046, 0x8046, 0x0047, 0x8047, 0x0048, 0x8048, 0x0049, 0x8049, 0x004a, 0x804a, 0x004b, 0x804b, 0x004c, 0x804c, 0x004d, 0x804d, 0x004e, 0x804e, 0x004f, 0x804f, 0x0050, 0x8050, 0x0051, 0x8051, 0x0052, 0x8052, 0x0053, 0x8053, 0x0054, 0x8054, 0x0055, 0x8055, 0x0056, 0x8056, 0x0057, 0x8057, 0x0058, 0x8058, 0x0059, 0x8059, 0x005a, 0x805a, 0x005b, 0x805b, 0x005c, 0x805c, 0x005d, 0x805d, 0x005e, 0x805e, 0x005f, 0x805f, 0x0060, 0x8060, 0x0061, 0x8061, 0x0062, 0x8062, 0x0063, 0x8063, 0x0064, 0x8064, 0x0065, 0x8065, 0x0066, 0x8066, 0x0067, 0x8067, 0x0068, 0x8068, 0x0069, 0x8069, 0x006a, 0x806a, 0x006b, 0x806b, 0x006c, 0x806c, 0x006d, 0x806d, 0x006e, 0x806e, 0x006f, 0x806f, 0x0070, 0x8070, 0x0071, 0x8071, 0x0072 }
static lut_amp lut_joy_amp{
{ 0.00000f, 0.007843f, 0.011823f, 0.014061f, 0.01672f, 0.019885f, 0.023648f, 0.028123f,
0.033442f, 0.039771f, 0.047296f, 0.056246f, 0.066886f, 0.079542f, 0.094592f, 0.112491f,
0.117471f, 0.122671f, 0.128102f, 0.133774f, 0.139697f, 0.145882f, 0.152341f, 0.159085f,
0.166129f, 0.173484f, 0.181166f, 0.189185f, 0.197561f, 0.206308f, 0.215442f, 0.224982f,
0.229908f, 0.234943f, 0.240087f, 0.245345f, 0.250715f, 0.256206f, 0.261816f, 0.267549f,
0.273407f, 0.279394f, 0.285514f, 0.291765f, 0.298154f, 0.304681f, 0.311353f, 0.318171f,
0.325138f, 0.332258f, 0.339534f, 0.346969f, 0.354566f, 0.362331f, 0.370265f, 0.378372f,
0.386657f, 0.395124f, 0.403777f, 0.412619f, 0.421652f, 0.430885f, 0.440321f, 0.449964f,
0.459817f, 0.469885f, 0.480174f, 0.490689f, 0.501433f, 0.512413f, 0.523633f, 0.535100f,
0.546816f, 0.558790f, 0.571027f, 0.583530f, 0.596307f, 0.609365f, 0.622708f, 0.636344f,
0.650279f, 0.664518f, 0.679069f, 0.693939f, 0.709133f, 0.724662f, 0.740529f, 0.756745f,
0.773316f, 0.790249f, 0.807554f, 0.825237f, 0.843307f, 0.861772f, 0.880643f, 0.899928f,
0.919633f, 0.939771f, 0.960348f, 0.981378f, 1.002867f },
{ 0x0, 0x2, 0x04, 0x06, 0x08, 0x0a, 0x0c, 0x0e,
0x10, 0x12, 0x14, 0x16, 0x18, 0x1a, 0x1c, 0x1e,
0x20, 0x22, 0x24, 0x26, 0x28, 0x2a, 0x2c, 0x2e,
0x30, 0x32, 0x34, 0x36, 0x38, 0x3a, 0x3c, 0x3e,
0x40, 0x42, 0x44, 0x46, 0x48, 0x4a, 0x4c, 0x4e,
0x50, 0x52, 0x54, 0x56, 0x58, 0x5a, 0x5c, 0x5e,
0x60, 0x62, 0x64, 0x66, 0x68, 0x6a, 0x6c, 0x6e,
0x70, 0x72, 0x74, 0x76, 0x78, 0x7a, 0x7c, 0x7e,
0x80, 0x82, 0x84, 0x86, 0x88, 0x8a, 0x8c, 0x8e,
0x90, 0x92, 0x94, 0x96, 0x98, 0x9a, 0x9c, 0x9e,
0xa0, 0xa2, 0xa4, 0xa6, 0xa8, 0xaa, 0xac, 0xae,
0xb0, 0xb2, 0xb4, 0xb6, 0xb8, 0xba, 0xbc, 0xbe,
0xc0, 0xc2, 0xc4, 0xc6, 0xc8 },
{ 0x0040, 0x8040, 0x0041, 0x8041, 0x0042, 0x8042, 0x0043, 0x8043,
0x0044, 0x8044, 0x0045, 0x8045, 0x0046, 0x8046, 0x0047, 0x8047,
0x0048, 0x8048, 0x0049, 0x8049, 0x004a, 0x804a, 0x004b, 0x804b,
0x004c, 0x804c, 0x004d, 0x804d, 0x004e, 0x804e, 0x004f, 0x804f,
0x0050, 0x8050, 0x0051, 0x8051, 0x0052, 0x8052, 0x0053, 0x8053,
0x0054, 0x8054, 0x0055, 0x8055, 0x0056, 0x8056, 0x0057, 0x8057,
0x0058, 0x8058, 0x0059, 0x8059, 0x005a, 0x805a, 0x005b, 0x805b,
0x005c, 0x805c, 0x005d, 0x805d, 0x005e, 0x805e, 0x005f, 0x805f,
0x0060, 0x8060, 0x0061, 0x8061, 0x0062, 0x8062, 0x0063, 0x8063,
0x0064, 0x8064, 0x0065, 0x8065, 0x0066, 0x8066, 0x0067, 0x8067,
0x0068, 0x8068, 0x0069, 0x8069, 0x006a, 0x806a, 0x006b, 0x806b,
0x006c, 0x806c, 0x006d, 0x806d, 0x006e, 0x806e, 0x006f, 0x806f,
0x0070, 0x8070, 0x0071, 0x8071, 0x0072 }
};
+2 -2
View File
@@ -1,7 +1,7 @@
#pragma once
#include <cstdint>
// Super Mario Bros - Main theme
uint32_t tune_SMB[2740] = {
static uint32_t tune_SMB[2740] = {
0xbf375f7b, 0xbe37c362, 0xbe10bf77, 0xcef75e6c, 0xc6f7de71, 0xbbf74240, 0xcef75e6e, 0xcef74279,
0xbe396775, 0xce37c36e, 0xce374374, 0xbe17df6f, 0xcf39e77d, 0xce3daf6b, 0xca175f40, 0xceecc260,
0xcef75e6c, 0xbee0e672, 0xbef75e6e, 0xbef0de6c, 0xcef7666c, 0xce39df74, 0xce37df6d, 0xcef03e78,
@@ -347,7 +347,7 @@ uint32_t tune_SMB[2740] = {
0xbe306771, 0xbe308373, 0xce37436b, 0x06e0de68 };
// Super Mario Odyssey - Jump Up, Super Star!
uint32_t tune_SMO_OK[4941] = {
static uint32_t tune_SMO_OK[4941] = {
0x00014040, 0x00014040, 0x00014040, 0x00014040, 0x00014040, 0x00014040, 0x00014040, 0x530ca648,
0xef33f16b, 0xb34b2946, 0xeafd4342, 0xcad14640, 0xeba93348, 0x4b53d94a, 0x4339e646, 0xfb3f5646,
0xb3495945, 0xb752536c, 0x933b6745, 0xf355e945, 0x93be7a46, 0xfa7cd548, 0xad4bef84, 0x5c1b2e48,