mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 22:31:30 +11:00
commit
8aa6fea832
|
@ -2,7 +2,7 @@ use events::VirtualKeyCode;
|
|||
use winapi;
|
||||
|
||||
pub fn vkeycode_to_element(code: winapi::WPARAM) -> Option<VirtualKeyCode> {
|
||||
match code {
|
||||
match code as i32 {
|
||||
//winapi::VK_LBUTTON => Some(VirtualKeyCode::Lbutton),
|
||||
//winapi::VK_RBUTTON => Some(VirtualKeyCode::Rbutton),
|
||||
//winapi::VK_CANCEL => Some(VirtualKeyCode::Cancel),
|
||||
|
|
Loading…
Reference in a new issue