mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2025-01-24 02:46:33 +11:00
Fix the windows build
This commit is contained in:
parent
896640f2e0
commit
b573a161a9
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue