Hi, *!
I needed the Czech keyboard layouts for Rubber Ducky, so I created the definition files:
Czech (QWERTZ) keyboard - this is most common "official" Czech keyboard layout. The definition file works without problems.
Czech (QWERTY) keyboard - this is alternate layout, which is used by lot of people (mainly IT professionals). I have problem with this one.
The QWERTY layout differs from QWERTZ not only by swapping Y/Z, but also by completely different way to type special characters. I defined all characters, except the following ones:
{ - press RIGHT ALT + SHIFT + LEFT BRACE
} - press RIGHT ALT + SHIFT + RIGHT BRACE
| - press RIGHT ALT + SHIFT + BACKSLASH
~ - press RIGHT ALT + SHIFT + TILDE
This is the relevant part of properties file:
ASCII_7B = KEY_LEFT_BRACE, MODIFIERKEY_RIGHT_ALT, MODIFIERKEY_SHIFT
// 123 {
ASCII_7C = KEY_BACKSLASH, MODIFIERKEY_RIGHT_ALT, MODIFIERKEY_SHIFT
// 124 |
ASCII_7D = KEY_RIGHT_BRACE, MODIFIERKEY_RIGHT_ALT, MODIFIERKEY_SHIFT
// 125 }
ASCII_7E = KEY_TILDE, MODIFIERKEY_RIGHT_ALT, MODIFIERKEY_SHIFT
// 126 ~
I can't figure a way, how to add MODIFIERKEY_RIGHT_ALT and MODIFIERKEY_SHIFT simultaneously. I can do either one, but not both together. I tried various ways how to force this, but none of them worked. I even tried to type the chars using their ASCII codes (like ALT + 1 2 3), but it didn't worked either, I could not figure out how to send several keys in sequence, while holding ALT key.
I suppose that guys creating the Norwegian keyboard have the same problem for example with Thorn character, which is defined as "KEY_T, MODIFIERKEY_RIGHT_ALT, MODIFIERKEY_SHIFT" but commented out. Problem is that "my" characters are quite important to type commands, which I suppose Thorn isn't.
Can please someone:
Add the QWERTZ layout to distribution as cs-qwertz.properties ? Help me with the QWERTY one, how to specify the key sequence?
Thanks.