Open jidhub opened 6 months ago
Thanks for your bug report, I can reproduce your bug. Note that kalamine is just a keyboard layout maker. It cannot emulate mouse buttons and probably won’t ever be able to do such a thing, which is handled at a lower-level by the OS.
And if I understand correctly, your title is misleading, since you’ve fixed the base char — not the shifted char.
Unless I’ve misunderstood something, we can re-qualify this bug as something like “Better parsing error messages”. WDYT ?
And if I understand correctly, your title is misleading, since you’ve fixed the base char — not the shifted char.
My change is actually specifying ² as a Shift value of first key, in same line than "1" "2" ..., and the relevant part of the change is:
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┲━━━━━━━━━━┓
-│ │ 1 ! │ 2 > │ 3 < │ 4 $ │ 5 % │ 6 ^ │ 7 & │ 8 * │ 9 ± │ 0 ° │ ° } │ + ¦ ┃ ┃
+│ ² │ 1 ! │ 2 > │ 3 < │ 4 $ │ 5 % │ 6 ^ │ 7 & │ 8 * │ 9 ± │ 0 ° │ ° } │ + ¦ ┃ ┃
│ ² │ & | │ é ~ │ " # │ ' { │ ( [ │ - | │ è ` │ _ \ │ ç ^ │ à @ │ ) ] │ = | ┃ ⌫ ┃
┢━━━━━┷━━┱──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┺━━┳━━━━━━━┫
I am sorry that I mixed two unrelated changes to the same commit. lClic and rClic did not prevent kalamine from ending normally (I just checked again).
“Better parsing error messages”.
I suggest: Unspecified Shift for key with "²".
Ooohhhh thanks for the explanation. Interesting.
kalamine make https://github.com/jidhub/thumb-external-keyboard-layouts/blob/e3d0589ed7f980cb1c275e6d388428f2af6e863b/thumbsmodifiersv1.toml
When downloading the above link then running the kalamin make command, I obtain the stacktrace below. Specifying the shift effect as done in first change of https://github.com/jidhub/thumb-external-keyboard-layouts/commit/5676aff33a63a787f2c817d840c949ba96e38658 fixes that. See french details of how I debugged that on https://discord.com/channels/1046720208171175946/1063061534038822942/1206264367822151710