I'm sort of confused at the moment what's going on - all the other keys work fine but backslash returns 255 as the sdk value, and crashes ripple.lua when pressed. It also cannot be set a color from a script, except set_all_colors() works for it.
Anonymous
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Support Requests"
After about 16 hours digging through the source code (and several hours sleeping) I've come up with a patch that fixes this at least on the keyboard itself, though it doesn't work with the emulator and may also break the DE layout. I hope this helps something at least.
To verify this, could you please clarify which keyboard layout and sdk value you are having problems with?
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Support Requests"
It's a Ryos MK FX with the US layout, the SDK value is 72 if I'm recalling correctly.
The primary problem in this problem is that the return keys in us and german layouts use different switches.
I have some issues understanding your patch.
The first two chunks are unnecessary/wrong, because 0x38 is already in the list and 0x43 is valid for german layout.
In other chunks you are changing sdk_index value 73, which, according to the sdk docs, is the value for the return key.
The value 72 you mentioned would be the effect_index sent by the keyboard for the backslash key, which only should be converted to 52, the sdk value.
Would you like to test the following patch (please undo your changes first) and tell me if reporting and color setting in lua works:
One more thing: yould you please tell me the effect_index sent by the keyboard for you return key?
Last edit: Stefan Achatz 2017-11-03