29 Commits
Author SHA1 Message Date
Kostas Missos 5c6cd7d5ca Bugfixes and refactoring part 3 2018-02-23 19:54:26 +02:00
Kostas Missos 714dfb9169 Replace all Tabs with 4 Spaces 2018-02-20 20:56:25 +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 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 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 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
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 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 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 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 0f48e6dabe Add battery percent and expert debug mode 2017-08-17 01:24:17 +03:00
Kostas Missos cf1bf2ceab Add complete input report reply
You can now see raw battery, buttons and analog sticks
2017-08-15 01:51:59 +03:00
Kostas Missos 03288fd6e3 Revamp Debug option
Added sent subcommand overview.
Allow for a 25byte argument to be sent.
2017-08-11 02:24:57 +03:00
Kostas Missos dc176a9b4f Initial commit v1.5.1 + usb test 2017-08-09 19:33:03 +03:00