Skip to content

Commit 02f9296

Browse files
committed
Add missing diagrams.
Also clean up description text - we now longer show raw keys.
1 parent 4a06354 commit 02f9296

File tree

10 files changed

+765
-53
lines changed

10 files changed

+765
-53
lines changed

src/layouts/azerty.rs

Lines changed: 13 additions & 15 deletions
Large diffs are not rendered by default.

src/layouts/colemak.rs

Lines changed: 44 additions & 6 deletions
Large diffs are not rendered by default.

src/layouts/de105.rs

Lines changed: 127 additions & 0 deletions
Large diffs are not rendered by default.

src/layouts/dvorak104.rs

Lines changed: 127 additions & 0 deletions
Large diffs are not rendered by default.

src/layouts/dvorak_programmer104.rs

Lines changed: 127 additions & 0 deletions
Large diffs are not rendered by default.

src/layouts/fi_se105.rs

Lines changed: 127 additions & 0 deletions
Large diffs are not rendered by default.

src/layouts/no105.rs

Lines changed: 127 additions & 0 deletions
Large diffs are not rendered by default.

src/layouts/uk105.rs

Lines changed: 13 additions & 15 deletions
Large diffs are not rendered by default.

src/layouts/us104.rs

Lines changed: 52 additions & 14 deletions
Large diffs are not rendered by default.

src/lib.rs

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,11 @@
5757
//!
5858
//! This crate uses symbolic keycodes to abstract over Scancode Set 1 and
5959
//! Scancode Set 2. They represented by the `KeyCode` enum. The scancodes can
60-
//! come from one of three supported keyboards: 102/105 key ISO, 101/104 key
61-
//! ANSI and 106/109-key JIS.
60+
//! come from one of three supported physical keyboard layouts: 102/105 key
61+
//! ISO, 101/104 key ANSI and 106/109-key JIS. Note that the symbolic
62+
//! keycodes for letter keys are named after how the keys are used on a US or
63+
//! UK English Keyboard. If you use a French AZERTY layout, the `KeyCode::Q`
64+
//! key will produce the Unicode character `'A'`.
6265
//!
6366
//! ### 102/105 key [ISO](PhysicalKeyboard::Iso)
6467
//!
@@ -136,7 +139,9 @@
136139
//! └─────┴─────┴─────┴─────┴─────────────────────┴─────┴─────┴────┴────┴──────┘ └────┴────┴────┘ └─────────┴────┴────┘
137140
//! ```
138141
//!
139-
//! Note that the `Oem5` is missing on the 109-key JIS layout, but `Oem9` (Muhenkan), `Oem10` (Henkan/Zenkouho), `Oem11` (Hiragana/Katakana), `Oem12` (Backslash) and `Oem13` (¥) are added.
142+
//! Note that the `Oem5` is missing on the 109-key JIS layout, but `Oem9`
143+
//! (Muhenkan), `Oem10` (Henkan/Zenkouho), `Oem11`
144+
//! (Hiragana/Katakana), `Oem12` (Backslash) and `Oem13` (¥) are added.
140145
//!
141146
//! The 106-key is missing `LWin`, `RWin`, and `Menu`.
142147
//!

0 commit comments

Comments
 (0)