disable hwcodec if causing crash
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
parent
8b78510ea7
commit
f2aeff974c
3 changed files with 24 additions and 11 deletions
|
|
@ -544,7 +544,7 @@ impl<T: InvokeUiSession> Session<T> {
|
|||
let key = rdev::key_from_code(position_code) as rdev::Key;
|
||||
// Windows requires special handling
|
||||
#[cfg(target_os = "windows")]
|
||||
let key = rdev::get_win_key(keycode, scancode);
|
||||
let key = rdev::get_win_key(platform_code, position_code);
|
||||
|
||||
let event_type = if down_or_up {
|
||||
KeyPress(key)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue