mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
efi_loader: console incorrectly advertised left logo key
Avoid to signal that the left logo key is pressed, when it is not. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
3b2b2de8ee
commit
3b435c1193
1 changed files with 1 additions and 3 deletions
|
@ -481,9 +481,7 @@ void set_shift_mask(int mod, struct efi_key_state *key_state)
|
||||||
key_state->key_shift_state |= EFI_LEFT_ALT_PRESSED;
|
key_state->key_shift_state |= EFI_LEFT_ALT_PRESSED;
|
||||||
if (mod & 4)
|
if (mod & 4)
|
||||||
key_state->key_shift_state |= EFI_LEFT_CONTROL_PRESSED;
|
key_state->key_shift_state |= EFI_LEFT_CONTROL_PRESSED;
|
||||||
if (mod & 8)
|
if (!mod || (mod & 8))
|
||||||
key_state->key_shift_state |= EFI_LEFT_LOGO_PRESSED;
|
|
||||||
} else {
|
|
||||||
key_state->key_shift_state |= EFI_LEFT_LOGO_PRESSED;
|
key_state->key_shift_state |= EFI_LEFT_LOGO_PRESSED;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue