Fix #5374: Use correct codes for alphabetic chars

This commit is contained in:
Ryan Leavengood 2015-03-26 14:06:57 -04:00
parent 265f313de3
commit 0d0be2aa1d

View file

@ -319,32 +319,32 @@ fn code_value(key: constellation_msg::Key) -> &'static str {
constellation_msg::Key::Num9 => "Digit9", constellation_msg::Key::Num9 => "Digit9",
constellation_msg::Key::Semicolon => "Semicolon", constellation_msg::Key::Semicolon => "Semicolon",
constellation_msg::Key::Equal => "Equals", constellation_msg::Key::Equal => "Equals",
constellation_msg::Key::A => "Key::A", constellation_msg::Key::A => "KeyA",
constellation_msg::Key::B => "Key::B", constellation_msg::Key::B => "KeyB",
constellation_msg::Key::C => "Key::C", constellation_msg::Key::C => "KeyC",
constellation_msg::Key::D => "Key::D", constellation_msg::Key::D => "KeyD",
constellation_msg::Key::E => "Key::E", constellation_msg::Key::E => "KeyE",
constellation_msg::Key::F => "Key::F", constellation_msg::Key::F => "KeyF",
constellation_msg::Key::G => "Key::G", constellation_msg::Key::G => "KeyG",
constellation_msg::Key::H => "Key::H", constellation_msg::Key::H => "KeyH",
constellation_msg::Key::I => "Key::I", constellation_msg::Key::I => "KeyI",
constellation_msg::Key::J => "Key::J", constellation_msg::Key::J => "KeyJ",
constellation_msg::Key::K => "Key::K", constellation_msg::Key::K => "KeyK",
constellation_msg::Key::L => "Key::L", constellation_msg::Key::L => "KeyL",
constellation_msg::Key::M => "Key::M", constellation_msg::Key::M => "KeyM",
constellation_msg::Key::N => "Key::N", constellation_msg::Key::N => "KeyN",
constellation_msg::Key::O => "Key::O", constellation_msg::Key::O => "KeyO",
constellation_msg::Key::P => "Key::P", constellation_msg::Key::P => "KeyP",
constellation_msg::Key::Q => "Key::Q", constellation_msg::Key::Q => "KeyQ",
constellation_msg::Key::R => "Key::R", constellation_msg::Key::R => "KeyR",
constellation_msg::Key::S => "Key::S", constellation_msg::Key::S => "KeyS",
constellation_msg::Key::T => "Key::T", constellation_msg::Key::T => "KeyT",
constellation_msg::Key::U => "Key::U", constellation_msg::Key::U => "KeyU",
constellation_msg::Key::V => "Key::V", constellation_msg::Key::V => "KeyV",
constellation_msg::Key::W => "Key::W", constellation_msg::Key::W => "KeyW",
constellation_msg::Key::X => "Key::X", constellation_msg::Key::X => "KeyX",
constellation_msg::Key::Y => "Key::Y", constellation_msg::Key::Y => "KeyY",
constellation_msg::Key::Z => "Key::Z", constellation_msg::Key::Z => "KeyZ",
constellation_msg::Key::LeftBracket => "BracketLeft", constellation_msg::Key::LeftBracket => "BracketLeft",
constellation_msg::Key::Backslash => "Backslash", constellation_msg::Key::Backslash => "Backslash",
constellation_msg::Key::RightBracket => "BracketRight", constellation_msg::Key::RightBracket => "BracketRight",