-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Incorrect key positioning for rotated keys #97
Comments
But rx=ry=0 would be rotating around the top left corner of the whole keyboard, wouldn't it? If the keys are supposed to be rotated around their position, then the rx and ry should specify that position -- the centre of rotation. I created a layout for an ErgoTravel keyboard, and to get the rotated keys to display correctly I had to make sure the rx and ry values are set to the correct rotation centre. See here: https://github.com/mhantsch/ergotravel-zmk-module/blob/main/boards/shields/ergotravel/ergotravel-layouts.dtsi
|
The intention is to default to key's own top-left (i.e. Since we can't distinguish 0 from undefined, it seems wise to assume that |
The layout at https://github.com/eli2c/zmk-config-ergo_wireless/blob/7fb5f574b039c9eb11149db2559ec22d1ac2ea25/config/boards/shields/ergo_wireless/ergo_wireless.dtsi#L1 should look like this
however, the creator of that config repo reported on Discord that it looks like this instead
I noticed that the
rx
andry
values are both zero.zmk-studio/src/keyboard/PhysicalLayout.tsx
Lines 57 to 58 in e5ab3b5
rx
orry
are zero, which seems suspect.The text was updated successfully, but these errors were encountered: