-
Notifications
You must be signed in to change notification settings - Fork 12
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
OEM_102 not present #32
Comments
This has to do with the shortcut positions (virtual keys in Windows), which
to
in your JSON file. If this is not explicitly stated klfc guesses it based on the letters, which is why it maps it to the backslash key. Nevertheless, I think it should still work, but with only shortcuts (and some others) affected. What exactly didn't work? |
I used --from-xkb actually. OEM_102 was missing in the output. There were two OEM_5 entries. I changed the second OEM_5 entry. The diff output shows I only had to change OEM_5 into OEM_102. The other fields stayed the same. -56 OEM_5 0 005c 007c e001@ 00a6 // QWERTY Iso: , |, cdk:greek, ¦ |
This is what I did initially, as you can see I don't have an OEM_102 in the output. The input file is a bit different today than it was on the 11th of March, but the problem stays. gargle@msi:/tmp/k$ ./klfc --from-xkb "/usr/share/X11/xkb/symbols/us(altgr-weur)" --klc . |
this is the altgr-weur part of the input file:
|
I had to do this after generating my klc file. This is a bug I think. The left | key didn't show up first. After modifying the second OEM_5 instance to OEM_102 everything worked as planned.
diff --git a/altgr-weur.klc b/altgr-weur.klc
index a093400..431bea8 100644
--- a/altgr-weur.klc
+++ b/altgr-weur.klc
@@ -59,7 +59,7 @@ LAYOUT
34 OEM_PERIOD 0 002e 003e 0153 0152 // QWERTY .: ., >, œ, Œ
35 OEM_2 0 002f 003f 00bf 002f@ // QWERTY /: /, ?, ¿, cdk:stroke
2b OEM_5 0 005c 007c e000@ 00a6 // QWERTY : , |, cdk:greek, ¦
-56 OEM_5 0 005c 007c e001@ 00a6 // QWERTY Iso: , |, cdk:greek, ¦
+56 OEM_102 0 005c 007c e001@ 00a6 // QWERTY Iso: , |, cdk:greek, ¦
DEADKEY 0060 // grave
The text was updated successfully, but these errors were encountered: