Support period key on *nix. (#37)

This commit is contained in:
Krzysztof Kondrak 2017-07-08 13:57:34 +02:00 committed by Daniel Collin
parent f4bd8b7704
commit 600749fd8a

View file

@ -128,7 +128,7 @@ unsafe extern "C" fn key_callback(window: *mut c_void, key: i32, s: i32) {
XK_equal => (*win).key_handler.set_key_state(Key::Equal, state),
XK_bracketleft => (*win).key_handler.set_key_state(Key::LeftBracket, state),
XK_minus => (*win).key_handler.set_key_state(Key::Minus, state),
//XP_period => (*win).key_handler.set_key_state(Key::Period, state),
XK_period => (*win).key_handler.set_key_state(Key::Period, state),
XK_braceright => (*win).key_handler.set_key_state(Key::RightBracket, state),
XK_semicolon => (*win).key_handler.set_key_state(Key::Semicolon, state),
XK_slash => (*win).key_handler.set_key_state(Key::Slash, state),