Compare commits

...

14 commits

Author SHA1 Message Date
30b3e4f6cb sign: Add description
UAC prompt displays some random MSI filename otherwise.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-12-29 12:56:07 +01:00
f665abe483 Add packaging helper
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-12-29 10:25:11 +01:00
b2856e8b32 Rename license file
Windows doesn't like extension-less files.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-12-29 10:07:57 +01:00
c77830eba7 doc: Update the source of existing Apple keyboard layouts
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-12-29 10:04:26 +01:00
004124263d Add signing helper
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-12-29 09:47:35 +01:00
95dcf4bf1b Use left/right double quote like on macOS
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-12-28 14:43:58 +01:00
732703ca4d Fix Shift+Num .
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-12-28 14:43:58 +01:00
57f6762aed Fix Virtual-Key codes
Though, they appear unused.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-12-28 14:43:58 +01:00
04baae02ac Sync Control, Option and Command key names
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-12-28 12:13:08 +01:00
fdd5f56785 doc: MKLC generated setup does not support updating
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-12-27 10:05:01 +01:00
b64c540288 doc: Describe MKLC inability to compile an already installed layout
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-12-27 09:35:23 +01:00
24607add93 Switch to prefix modifier characters where applicable
This aligns with Apple keyboard on macOS and PC keyboard on Windows
experience.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-12-27 09:33:08 +01:00
5a5de47c93 doc: Make right Option key notation more explicit
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-12-27 09:11:34 +01:00
7237cd50ec Replace angle quotation marks with lower and upper quote marks
This matches macOS experience.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-12-27 09:10:02 +01:00
6 changed files with 43 additions and 4 deletions

Binary file not shown.

16
pack.bat Normal file
View file

@ -0,0 +1,16 @@
@echo off
setlocal enabledelayedexpansion
set BUILDDIR=%~dp0
call :pack hr-apple || goto :error
call :pack sl-apple || goto :error
exit /b 0
:pack
set BASENAME=%1
tar.exe -c -f "%BUILDDIR%%BASENAME%.zip" -C "%BUILDDIR%." "%BASENAME%" license.txt readme.md
goto :eof
:error
cmd /c exit %errorlevel%

View file

@ -1,6 +1,6 @@
# Croatian/Slovenian Apple Magic Keyboard Layout for Windows
The Apple Magic Keyboards have different key layout than standard Croatian and Slovenian QWERTZ keyboards used with PC computers. Windows 10 includes only some of the Apple keyboard localized layouts. Unfortunately, not Croatian and Slovenian. Fortunately, one can create a keyboard layout using free Microsoft Keyboard Layout Creator utility, downloadable from the Microsoft website.
The Apple Magic Keyboards have different key layout than standard Croatian and Slovenian QWERTZ keyboards used with PC computers. Apple drivers for Windows 10 include only some of the Apple keyboard localized layouts. Unfortunately, not Croatian and Slovenian. Fortunately, one can create a keyboard layout using free Microsoft Keyboard Layout Creator utility, downloadable from the Microsoft website.
Croatian and Slovenian Apple Magic Keyboards are identical. However, they do require separate keyboard layouts on Windows as they are bound to specific locale ID.
@ -9,8 +9,14 @@ Ready-to-use keyboard layout installers can be [downloaded here](https://github.
## Known Limitations
1. For typing alternative characters, use the **right** `Option` key. The right `Option` key equivalents to `AltGr` on PC keyboards and appears to be the only way to type `Alt`ernative characters.
1. For typing alternative characters, use the **right** `Option` key. The `ROption` key equivalents to `AltGr` on PC keyboards and appears to be the only way to type `Alt`ernative characters.
2. The modifier accents `Option+E`, `Option+U`, `Option+I`, `Option+N` etc. are not modifier Unicode characters (combine with the next character), as modifier characters are not available for all accents required on the keyboard. The composing Unicode characters are used instead. This means that the accent character should be typed after the main character (not before it like on macOS).
2. The double grave is not available as a standalone Unicode character. The `ROption+H` modifier works for letters AEIORU thou. For other letters, including space, it inserts the composing double grave character resulting in the accent mark applied to the previous letter, instead of the next.
3. `Option+Shift+K` does not type the Apple logo. The Apple glyph is not Unicode standard.
3. The inverted breve is not available as a standalone Unicode character. The `ROption+K` modifier works for letters AEIORU thou. For other letters, including space, it inserts the composing inverted breve character resulting in the accent mark applied to the previous letter, instead of the next.
4. `ROption+Shift+K` does not type the Apple logo. The Apple glyph is not a Unicode character.
5. Microsoft Keyboard Layout Creator will error if the keyboard being compiled is already installed.
6. Microsoft Keyboard Layout Creator created installer does not support updating. Previous version of the keyboard must be uninstalled before the new version is installed.

17
sign.bat Normal file
View file

@ -0,0 +1,17 @@
@echo off
setlocal enabledelayedexpansion
set BUILDDIR=%~dp0
call :sign hr-apple "Apple Magic Keyboard Croatian" || goto :error
call :sign sl-apple "Apple Magic Keyboard Slovenian" || goto :error
exit /b 0
:sign
set BASENAME=%1
set DESCRIPTION=%2
signtool.exe sign /sha1 "%ManifestCertificateThumbprint%" /fd sha256 /tr "%ManifestTimestampRFC3161Url%" /td sha256 /d "%DESCRIPTION%" "%BUILDDIR%%BASENAME%\amd64\%BASENAME%.dll" "%BUILDDIR%%BASENAME%\i386\%BASENAME%.dll" "%BUILDDIR%%BASENAME%\ia64\%BASENAME%.dll" "%BUILDDIR%%BASENAME%\wow64\%BASENAME%.dll" "%BUILDDIR%%BASENAME%\%BASENAME%_amd64.msi" "%BUILDDIR%%BASENAME%\%BASENAME%_i386.msi" "%BUILDDIR%%BASENAME%\%BASENAME%_ia64.msi"
goto :eof
:error
cmd /c exit %errorlevel%

Binary file not shown.