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

key position numbers to be used in combos #5

Open
spamwax opened this issue Oct 14, 2023 · 3 comments
Open

key position numbers to be used in combos #5

spamwax opened this issue Oct 14, 2023 · 3 comments

Comments

@spamwax
Copy link

spamwax commented Oct 14, 2023

Is this the correct key position for combos?

|------------------------|------------------------|
| LEFT_HAND_KEYS         |        RIGHT_HAND_KEYS |
|                        |                        |
|     0  1  2  3  4      |       5  6  7  8  9    |
|    10 11 12 13 14      |      15 16 17 18 19    |
| 30 20 21 22 23 24      |      25 26 27 28 29 37 |
|          31 32 33      |      34 35 36          |
|------------------------|------------------------|
@spamwax
Copy link
Author

spamwax commented Oct 17, 2023

or maybe this?

|------------------------|------------------------|
| LEFT_HAND_KEYS         |        RIGHT_HAND_KEYS |
|                        |                        |
|     0  1  2  3  4      |       5  6  7  8  9    |
|    10 11 12 13 14      |      15 16 17 18 19    |
| 30 20 21 22 23 24      |      25 26 27 28 29 31 |
|          32 33 34     |       35 36 37          |
|------------------------|------------------------|

@spamwax
Copy link
Author

spamwax commented Oct 23, 2023

Figured it out:

|------------------------|------------------------|
| LEFT_HAND_KEYS         |        RIGHT_HAND_KEYS |
|                        |                        |
|     0  1  2  3  4      |       5  6  7  8  9    |
|    10 11 12 13 14      |      15 16 17 18 19    |
| 20 21 22 23 24 25      |      26 27 28 29 30 31 |
|          32 33 34      |      35 36 37          |
|------------------------|------------------------| 

@kitchen
Copy link

kitchen commented Apr 11, 2024

the position numbers correspond to the order of keys in the matrix transformation:

default_transform: keymap_transform_0 {
compatible = "zmk,matrix-transform";
columns = <10>;
rows = <4>;
// | SW01 | SW02 | SW03 | SW04 | SW05 | | SW05 | SW04 | SW03 | SW02 | SW01 |
// | SW06 | SW07 | SW08 | SW09 | SW10 | | SW10 | SW09 | SW08 | SW07 | SW06 |
// | SW16 | SW11 | SW12 | SW13 | SW14 | SW15 | | SW15 | SW14 | SW13 | SW12 | SW11 | SW16 |
// | SW17 | SW18 | SW19 | | SW19 | SW18 | SW17 |
map = <
RC(0,0) RC(0,1) RC(0,2) RC(0,3) RC(0,4) RC(0,5) RC(0,6) RC(0,7) RC(0,8) RC(0,9)
RC(1,0) RC(1,1) RC(1,2) RC(1,3) RC(1,4) RC(1,5) RC(1,6) RC(1,7) RC(1,8) RC(1,9)
RC(3,0) RC(2,0) RC(2,1) RC(2,2) RC(2,3) RC(2,4) RC(2,5) RC(2,6) RC(2,7) RC(2,8) RC(2,9) RC(3,9)
RC(3,2) RC(3,3) RC(3,4) RC(3,5) RC(3,6) RC(3,7)
>;
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants