At last, I got around to try and create a new Keyboard Type.
Result: Thanks to John's recent efforts, I can now have Ukelele display my keyboard as it is, yay!I mean, I didn't care about subtle differences; the main thing was to swap the ` and § keys.This was necessary because my hardware keyboard is a peculiar case: it has an extra key next to the Z but it still works like an ANSI keyboard. In practice, this means that the § key is visible only when I choose ISO for the display, albeit in the wrong place, namely next to the 1 key. And the ` symbol is shown in the right place only when I choose ANSI.While I was at it, I also swapped the Option and Control keys to match my macOS System Settings.Comments:• After some initial confusion, I can now confirm that the first two values given for each key are the coordinates of the upper left corner, not of the lower left corner as mentioned in the manual. Maybe related is the unmentioned fact that the vertical coordinate increases downward.
• When I first open a keyboard layout (from a file or through New From Current Input Source), the display is always wrong: the Enter key is displayed one row too high. (See the attached image.)It's not a big thing though, because it can easily be fixed by switching to another percentage; after that, the display remains correct, also when I switch back to the original percentage.This behaviour is independent of the initial percentage setting, and it may have been inherited from the Extended ADB (ISO) keyboard type I took as my starting point.
• For my version, I had changed both text strings (for the list and the comments in the Keyboard Type dialog), which are shown accordingly. But in the display window, yet another text showed up, this one still old – claiming the keyboard type to be Extended ADB. Maybe that third text string is linked to the Keyboard Type’s number and stored somewhere in the app?Because now, after I've changed the number of the Keyboard Type (at the beginning of the XML file) to 1008, nothing at all is shown in the display window. (See image.)
Also, the Settings/Preferences dialog now shows empty texts in the drop-down menus for “Keyboard type” and “Keyboard coding”, although I'm not sure that's related.
--
You received this message because you are subscribed to the Google Groups "Ukelele Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ukelele-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ukelele-users/CAOH1hL9LaWmpW7qQpu_xVohLm4onW%2B07ub3ZcsMDo6h489F4og%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/ukelele-users/CAC13VMzGiTH9givKqFSqH8V1%3D54ynq2HOjEq6C%2B%2BpCMq%3Drm3Qw%40mail.gmail.com.