60 Commits
Author SHA1 Message Date
Kostas Missos ee395c46e8 Version 3.0.1 update
Remove testing code.
Oups!
3.0.1
2018-02-23 20:47:23 +02:00
Kostas Missos 4de5f875b1 Version 3.0.0 update
At last!
3.0.0
2018-02-23 19:57:58 +02:00
Kostas Missos f448431824 Fix 150% (144dpi) scaling 2018-02-23 19:57:14 +02:00
Kostas Missos 5c6cd7d5ca Bugfixes and refactoring part 3 2018-02-23 19:54:26 +02:00
Kostas Missos dbada35a96 Smoother controller color preview
Break the images into 3 layers of one color.
Manage smoothing through alpha channel instead of a median logic.
Re-add white color for pro controller buttons, because of smoother painting without annoying white spots.
Up the resolution to help high DPI screens
2018-02-23 02:07:07 +02:00
Kostas Missos e10133079d Refactor names Part2 2018-02-21 00:18:39 +02:00
Kostas Missos fbeee89623 Add Retail Colors reference xml
+fix config generator net version string
2018-02-20 21:40:11 +02:00
Kostas Missos e996013526 Refactor names Part1 2018-02-20 21:30:52 +02:00
Kostas Missos 714dfb9169 Replace all Tabs with 4 Spaces 2018-02-20 20:56:25 +02:00
Kostas Missos a898b6ead7 DPI Aware (Win7, 8.1, 10)
Make the form blur no more!

Fix all sizes and implement mechanism for auto sizing.

Additionally initialize all control fonts instead of from parent fonts, to fix textboxes/labels and more.

For now, some text can overlap for 144dpi (150% scaling) and higher. But even then, it's mostly usable.
2018-02-20 20:41:05 +02:00
Kostas Missos 8fcc0a398f Upgrade to .Net4.7.1 and Win10 SDK (build16299)
dpiaware preparation
2018-02-20 20:28:01 +02:00
Kostas Missos 04076de71e Update JC Color Picker v1.6.2
Fixed some logic and layout to better behave in high dpi screens
2018-02-20 20:24:18 +02:00
Kostas Missos b7b4da3974 Bugfixes and some refactoring 2018-02-20 20:21:35 +02:00
Kostas Missos 4cc82e4360 Add info about binary releases 2018-02-18 15:34:43 +02:00
Kostas Missos 5c97ce558e Let the app blur
Allow the app to not autoscale for now.

This will avoid problems with clipping, until it's made DPI aware anyway.
2018-02-12 16:52:30 +02:00
Kostas Missos 42e7a064c6 Add VS2017 solution & project files
Retain compatibility with VS2017,  .NET 4.5.2 and Win 8 SDK

Add VS2017, .NET 4.7.1 and Win 10 SDK for full DPI Awareness V2 support to the UI.
2018-02-12 16:06:23 +02:00
Kostas Missos fb9bdc6cdf Merge pull request #7 from CTCaer/new-color-picker
[UI] Replace WinForms ColorDialog with Joy-Con Color Picker v1.5.3
2018-02-11 10:41:27 +01:00
Kostas Missos 8d3d70eb12 Version 2.8.2 update
Finalize new color picker changes
2018-02-11 11:38:48 +02:00
Kostas Missos 4c815551c5 Cosmetic refactoring
Replace tabs with spaces
Break big lines to smaller ones
Fix some bugs
2018-02-11 10:25:36 +02:00
Kostas Missos 2d0e56a7d4 Joy-Con Color Picker v1.5.3
Based on Adobe Color Picker Clone 1 by Danny Blanchard
2018-02-11 10:12:33 +02:00
Kostas Missos d8a977fd68 Initial color picker base project
The new dialog color picker is based on work done by Danny Blanchard.

Project: Adobe Color Picker Clone 1
Original version: 3/28/2005
2018-02-11 09:54:06 +02:00
Kostas Missos f3f2385e0a Version 2.5.1 update 2.5.1 2017-11-01 01:22:06 +02:00
Kostas Missos 6e3bb2de28 Happy SMO release 2017-11-01 01:21:30 +02:00
Kostas Missos dd16db799d Bugfixes and streamlining of functions
Red Joy-Con colors courtesy of @SciresM
2017-10-30 23:00:39 +02:00
Kostas Missos 184d436761 Version update 2.5
Binaries will not be released yet.
Awaiting new red Joy-Con
2017-10-09 22:10:04 +03:00
Kostas Missos d761353cd8 Add Analog Stick calibration
Additionally fix layout
2017-10-09 22:06:49 +03:00
Kostas Missos 05913848cb Improvements and bugfixes 2017-10-09 01:55:36 +03:00
Kostas Missos acde95e08c Add status bar and Refresh/Disconnect
And move Temperature and battery there.
Also added battery voltage
2017-10-09 01:48:27 +03:00
Kostas Missos c6a8389764 Add device temperature + small fixes 2017-09-27 02:59:29 +03:00
Kostas Missos 3315984474 Mass IMU CAL test, debug cmd
Update IMU calibration values and testing based on the latest developments.
Move sensor/stick test winforms update logic to the loop fuction.

Lastly, add the base for a refresh button (probably also a disconnect button will be implemented).
2017-09-25 08:25:02 +03:00
Kostas Missos 0bead3b735 Add MIT License 2017-09-16 15:00:43 +03:00
Kostas Missos 9231d263ba Add Pro controllers colors change
Unfortunatelly, no hw no test. So I took users testing for granted..

Had to change my Joy-Con to be recognisable as a Pro Controller to test that the buttons color work on Pro controller on Switch and that the default white is actually to distinguish them from the black body.

Note: Now Pro buttons WHITE color will be previewed as Grey.
2017-09-15 05:11:41 +03:00
Kostas Missos f42fa57835 Reverse ACC/GYRO order, add G/dps reading, fix bugs 2017-09-14 21:16:47 +03:00
Kostas Missos 670031831f Merge pull request #2 from wormyrocks/master
Fixed mistake in ordering of accel data bytes
2017-09-11 22:22:19 +03:00
Evan Kahn 640b1a1506 Fixed mistake in ordering of gyro/accel data bytes (I think?) 2017-09-11 12:36:30 -04:00
Kostas Missos 730e2a1643 Add 6-Axis Calibration and device parameters 2017-08-27 04:38:23 +03:00
Kostas Missos 788042286b Fix right stick values
The values are for dual joy-con X/Y axis
2017-08-26 03:27:43 +03:00
Kostas Missos b7a595d713 Fix left stick calibration info 2017-08-24 15:03:52 +03:00
Kostas Missos d5ba868738 Add Analog Stick calibration info
The decoded stick calibration defines the center of the stick (X,Y) and the ranges for X-/Y- and X+/Y+ Axis
2017-08-24 05:44:40 +03:00
Kostas Missos abc711c4dd Add button/stick/gyro test 2017-08-24 05:42:07 +03:00
Kostas Missos bd594a85ec Fix minor compilation error 2017-08-21 18:11:23 +03:00
Kostas Missos 9d4fd61d6b Version update 2.0 v2.0 2017-08-21 02:04:01 +03:00
Kostas Missos d979dbf2eb Add support for Loop .bnvib + many bugfixes 2017-08-21 02:01:54 +03:00
Kostas Missos b3f26cc460 Add actuator protection and many bugfixes
+ Prepare for the loop bnvib formats
2017-08-20 16:03:33 +03:00
Kostas Missos 7dd1139b31 Cosmetics and bug fixes 2017-08-18 03:03:02 +03:00
Kostas Missos 0118fad3b4 Simplify Option window logic & add the vib player 2017-08-18 03:01:19 +03:00
Kostas Missos 623d99d306 Add HOME Led breathing and heartbeat 2017-08-18 02:57:13 +03:00
Kostas Missos 999afff723 Implement .bnvib and jcvib HD Rumble Player
For now it can play only the .bnvib with 0x04 at offset 0x00.

The .jcvib file format is simple HD Rumble file I created with raw (Joycon protocol) values.

It can be created using look up tables and converting the frequencies and amplitudes to the correct commands.

The structure is:
Raw HD Rumble file format [.jcvib] (Joy-Con Format):
Big-Endian
Offset - size - Remarks
0x00 - uint32_t - Magic. 0x52524157 or RRAW in ASCII
0x04 - uint16_t - Sample rate in ms.
0x06 - uint32_t - Number of rumble patterns. This is how many groups of 4 bytes we have.
0x0A - uint32_t - Here the raw data starts. This should be in the values that joycon understand.
0x0E - uint32_t - 2nd Rumble pattern
And so on....

Example raw rumble pattern:
0x08C9C040:
0x08 is HF,
0xC9 is 0xC8 HA + 0x01 HF higher frequency bit.
0xC0 is 0x40 LF + 0x80 intermediate LA byte
0x40 is LA
2017-08-18 02:55:54 +03:00
Kostas Missos 4c3bf2739d Remove all the handles!! 2017-08-18 02:39:29 +03:00
Kostas Missos dff44c488c Add SN backup mechanism inside SPI 2017-08-17 20:28:25 +03:00