Skip to content

Commit

Permalink
web: Add key code for NumpadEnter
Browse files Browse the repository at this point in the history
  • Loading branch information
CUB3D authored and Aaron1011 committed Jan 25, 2023
1 parent f559fe0 commit 56fd9ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1503,6 +1503,7 @@ fn web_to_ruffle_key_code(key_code: &str) -> KeyCode {
"NumpadSubtract" => KeyCode::NumpadMinus,
"NumpadDecimal" => KeyCode::NumpadPeriod,
"NumpadDivide" => KeyCode::NumpadSlash,
"NumpadEnter" => KeyCode::Return,
"PageUp" => KeyCode::PgUp,
"PageDown" => KeyCode::PgDown,
"End" => KeyCode::End,
Expand Down

0 comments on commit 56fd9ad

Please sign in to comment.