That's a cool colour combination!View attachment 95023 View attachment 95022 Got it working! Loving it so far! Thanks!
That's a cool colour combination!View attachment 95023 View attachment 95022 Got it working! Loving it so far! Thanks!
So I found out why the HOME led does not work...
Because I documented wrong, believing that it takes only one argument.
Actually it takes more, the 2nd is when to stop blinking/breathing.
So in Linux, Shinys tool sends a packet with a set length, unlike windows which for some reason hid api has a minimum output buffer.
So mine sends an initialized to zeroes buffer, so the 2nd argument becomes 0 and therefore stop blinking after 0 time.
I tried this multiple times and it still will not connect...Then go to settings->add devices or to bt settings and re-pair.
Can you enable the home led on the joycon to always be on with this?New v1.5.1 hotfix version released!
Check OP for changelog.
About the HOME LED:
The problem with HOME LED is not the app.
In Linux I run only the 0x38 command or a chain of commands and it always work. USB or BT
In windows I do the same, one command or the same chain and it doesn't lit up.
Checked with Wireshark and the packets were the same.
So I think that linux and windows do a different pairing. And in initialization something is not sent to the device in windows and for some reason the HOME led is disabled.
I will create a dummy app to try with USB and see what will happen...
The serial number of the controller.What is the s/n thing?
Awesome! Would you be able to share the code so I'm able to compile it myself or is it too complicated?So I found out why the HOME led does not work...
Because I documented wrong, believing that it takes only one argument.
Actually it takes more, the 2nd is when to stop blinking/breathing.
So in Linux, Shinys tool sends a packet with a set length, unlike windows which for some reason hid api has a minimum output buffer.
So mine sends an initialized to zeroes buffer, so the 2nd argument becomes 0 and therefore stop blinking after 0 time.
Did you remove the joy-con from Devices and Printers first?I tried this multiple times and it still will not connect...
Kinda.. Still not finished documentation. Right now I found that it takes more than 10bytes argument. This is around 20 arguments (High and Low nibbles).Can you enable the home led on the joycon to always be on with this?
The home led fix will be only uploaded to Github. It's not an important fix to release a new version here.Awesome! Would you be able to share the code so I'm able to compile it myself or is it too complicated?
That's very strange, yeah. There's not really any reason to need THAT much customising.Kinda.. Still not finished documentation. Right now I found that it takes more than 10bytes argument. This is around 20 arguments (High and Low nibbles).
I don't know why, but you can completely customize it... and there's no reason for that.
The home led fix will be only uploaded to Github. It's not an important fix to release a new version here.
The debug is what it's name says. Not a normal feature, but a debugging feature.
Release rules:
Major features added -> GBATemp + Github
Minor additions, fixes, clean up -> only Github.
I see that these are fairly new batch, correct?I dumped both my original joycons and my custom joycons, but when I attempt to restore the backup it claims that the SPIs are corrupt (including the one I just dumped).
Can we get an example command? Never seen the LED light up before and I'm curious hahaLastly, you can now send the command that HOME LED needs.
It takes a whopping max 25 byte argument. -.-
The only unused but useful command is a complete mess. That's why they don't use it
For more HOME led info check Pull request or directly the file
That's pretty cool actually! Sounds kinda fun to learn how to reverse engineer.I edited my post to include one.
Actually if you learn the logic it's pretty easy. But time consuming.
You can do crazy full cycle patterns with the led.
15 different pattern in one full cycle. You want, breathing led? blinking? heart beat? epilipsy blink? wait forever style? always on?
Well you get the idea...
I used yours as a base haha. Still not completely sure how it works so I'm just working off existing stuff.
Epilepsy!
Btw, the milliseconds in the documentation were approximately measured through my smartphone's camera. 120fps video. It did me a great favor.
Try my command also