qmk_firmware/keyboards/contra/keymaps/enigma
2023-04-06 18:00:54 +10:00
..
config.h Migrate rgblight.pin and RGB_DI_PIN to ws2812.pin (#20303) 2023-04-06 18:00:54 +10:00
keymap.c [Keymap] Add enigma keymap for contra keyboard (#17829) 2022-07-29 20:01:35 -07:00
readme.md [Keymap] Add enigma keymap for contra keyboard (#17829) 2022-07-29 20:01:35 -07:00
rules.mk [Keymap] Add enigma keymap for contra keyboard (#17829) 2022-07-29 20:01:35 -07:00

A Contra Layout with an Enigma Emulator


,-----------------------------------------------------------------------------------.
| Esc  |   Q  |   W  |   E  |   R  |   T  |   Y  |   U  |   I  |   O  |   P  | Bksp |
|------+------+------+------+------+-------------+------+------+------+------+------|
| Tab  |   A  |   S  |   D  |   F  |   G  |   H  |   J  |   K  |   L  |   ;  |  "   |
|------+------+------+------+------+------|------+------+------+------+------+------|
| Shift|   Z  |   X  |   C  |   V  |   B  |   N  |   M  |   ,  |   .  |   /  |Enter |
|------+------+------+------+------+------+------+------+------+------+------+------|
| Ctrl |  Fn  | Alt  | GUI  |Lower |    Space    |Raise | Left | Down |  Up  |Right |
`-----------------------------------------------------------------------------------'

By default, this layout functions like a normal QWERTY layout. But it also has an in-built Enigma machine emulator. To enable the emulator, press Fn+., and to go back to QWERTY, press FN+,.

A demonstration video can be found here.

When Enigma mode is enabled, all letters A-Z will be enciphered using the Enigma emulator. Other keycodes will not be modified. Shift will be sent as normal, so you can choose whether to capitalize the output. If any other modifier (Ctrl, Alt, or Gui) are being pressed, the normal letter will come through.

There are a few key combinations for configuring and diagnosing the Enigma emulator:

  • Fn+Q resets the emulator to the last-configured settings
  • Fn+W types out the current Enigma settings, e.g. B. IA-IIA-IIIA (A, A, A) QW (meaning reflector B; rotors I, II, and III all at ring setting A; all at position A, and with Q and W swapped on the plugboard)
  • Fn+P types out 1000 enciphered As, for testing
  • Fn+Backspace back-rotates the rotors one step, for fixing typos without having to re-type a whole message
  • Fn+Z followed by A, B, or C is used to set the reflector
  • Fn+X followed by three characters A-E is used to set the rotors
  • Fn+C followed by three characters A-Z is used to set the rotor positions
  • Fn+V followed by three characters A-Z is used to set the ring settings
  • Fn+B followed by up to 13 pairs of characters A-Z (one at a time, not simulaneously) then the Enter key is used to set the plugboard