Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to toggle "Sticky" key modifier for Model 01 #1337

Open
tobanw opened this issue Apr 15, 2024 · 5 comments
Open

Unable to toggle "Sticky" key modifier for Model 01 #1337

tobanw opened this issue Apr 15, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@tobanw
Copy link

tobanw commented Apr 15, 2024

Describe the bug
I've updated my Model 01 to the latest firmware (including factory reset) on https://chrysalis.keyboard.io/. Now I'm using the layout editor but I'm unable to toggle the "Sticky" modifier for any key -- it's grayed out, and the hovertext does not say it's unsupported by the firmware (as it does for other grayed-out buttons).

To Reproduce
Steps to reproduce the behavior:

  1. Connect Model 01 on https://chrysalis.keyboard.io/ and update firmware if needed
  2. In the Layout & Colormap Editor, select the desired modifier key on the keyboard, then go to the "Modifiers" tab in the bottom panel
  3. See that the "Sticky" toggle is grayed-out regardless of which key is selected

Expected behavior
"Sticky" toggle is operational.

Screenshots
In this screencap, the cursor is hovering the "Sticky" toggle, so you can see the hovertext.
image

Desktop (please complete the following information):

  • OS: macOS Sonoma 14.4.1
  • Chrysalis Version: 2024.0318.1913

Additional context
Previously, I had been using QMK to configure layouts, but I figure the firmware update and reset would wipe the slate clean.

@tobanw tobanw added the bug Something isn't working label Apr 15, 2024
@obra
Copy link
Member

obra commented Apr 17, 2024 via email

@tobanw
Copy link
Author

tobanw commented Apr 21, 2024

Thanks! It looks like I'll need to modify the .ino file here to customize the build: https://github.com/keyboardio/Model01-Firmware

Is it enough to add #include <Kaleidoscope-OneShot.h> to the .ino file? If not, can you point me to the docs?

@obra
Copy link
Member

obra commented Apr 22, 2024 via email

@tobanw
Copy link
Author

tobanw commented May 1, 2024

I got it working! But not as instructed in the docs: if I enable the OneShotConfig plugin in the firmware .ino file, the keys gets all garbled with keys seemingly offset by some fixed amount (e.g., 7890 became qwer and uiop became asdf).

Now I have it working as desired with both OneShot and EscapeOneShot plugins enabled, but not OneShotConfig nor EscapeOneShotConfig. I'm still able to use Chrysalis to toggle "Sticky", so it seems that OneShotConfig is not needed. (I also see I can use the "sticky cancel" key so EscapeOneShotConfig also appears to be redundant.) Though I'll note that when saving the layout in Chrysalis, it hung on the saving spinner, but the changes did take effect. Had to unplug and reconnect my Model-01 to get Chrysalis to connect to it after that.

Let me know if this is a known issue -- if not, I can file a separate issue for this.

@obra
Copy link
Member

obra commented May 2, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants