Skip to content

Commit

Permalink
feat: OsCode::KEY_YEN to KeyCode::Intl3 (#1200)
Browse files Browse the repository at this point in the history
  • Loading branch information
nanikamado authored Aug 16, 2024
1 parent 0f594f5 commit 3c27ce1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions parser/src/keys/mappings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ impl From<KeyCode> for OsCode {
KeyCode::Cancel => OsCode::KEY_CANCEL,
KeyCode::MediaMute => OsCode::KEY_MICMUTE,
KeyCode::Intl1 => OsCode::KEY_RO,
KeyCode::Intl3 => OsCode::KEY_YEN,
KeyCode::K0xAA => OsCode::KEY_MEDIA,
KeyCode::K0xAB => OsCode::KEY_EMAIL,
KeyCode::K0xAC => OsCode::KEY_PLAYER,
Expand Down Expand Up @@ -342,6 +343,7 @@ impl From<OsCode> for KeyCode {
OsCode::KEY_CANCEL => KeyCode::Cancel,
OsCode::KEY_MICMUTE => KeyCode::MediaMute,
OsCode::KEY_RO => KeyCode::Intl1,
OsCode::KEY_YEN => KeyCode::Intl3,
OsCode::KEY_MEDIA => KeyCode::K0xAA,
OsCode::KEY_EMAIL => KeyCode::K0xAB,
OsCode::KEY_PLAYER => KeyCode::K0xAC,
Expand Down

0 comments on commit 3c27ce1

Please sign in to comment.