Skip to content

Commit c7d5933

Browse files
committed
Corrected description of ANSI.
It's easier to see once you've got a diagram. The problem I was having was that other sides use *different* symbolic mappings for each scancode for ANSI and ISO. In our system, one scancode gives one symbolic key, regardless of whether you have ISO or ANSI.
1 parent cbbff2b commit c7d5933

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/layouts/colemak.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use crate::{DecodedKey, HandleControl, KeyCode, KeyboardLayout, Modifiers};
44

55
/// A Colemak 101-key (or 104-key including Windows keys) keyboard.
66
///
7-
/// Has a 1-row high Enter key, with Oem7 above (ANSI layout).
7+
/// Has a 1-row high Enter key, with Oem5 above (ANSI layout).
88
pub struct Colemak;
99

1010
impl KeyboardLayout for Colemak {

src/layouts/dvorak104.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use crate::{DecodedKey, HandleControl, KeyCode, KeyboardLayout, Modifiers};
44

55
/// A Dvorak 101-key (or 104-key including Windows keys) keyboard.
66
///
7-
/// Has a 1-row high Enter key, with Oem7 above (ANSI layout).
7+
/// Has a 1-row high Enter key, with Oem5 above (ANSI layout).
88
pub struct Dvorak104Key;
99

1010
impl KeyboardLayout for Dvorak104Key {

src/layouts/dvorak_programmer104.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use crate::{DecodedKey, HandleControl, KeyCode, KeyboardLayout, Modifiers};
44

55
/// A Dvorak Programmer 101-key (or 104-key including Windows keys) keyboard.
66
///
7-
/// Has a 1-row high Enter key, with Oem7 above (ANSI layout).
7+
/// Has a 1-row high Enter key, with Oem5 above (ANSI layout).
88
pub struct DVP104Key;
99

1010
impl KeyboardLayout for DVP104Key {

src/layouts/us104.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use crate::{DecodedKey, HandleControl, KeyCode, KeyboardLayout, Modifiers};
44

55
/// A standard United States 101-key (or 104-key including Windows keys) keyboard.
66
///
7-
/// Has a 1-row high Enter key, with Oem7 above (ANSI layout).
7+
/// Has a 1-row high Enter key, with Oem5 above (ANSI layout).
88
pub struct Us104Key;
99

1010
impl KeyboardLayout for Us104Key {

0 commit comments

Comments
 (0)