Kernel: Fix keymap numlock behaviour
This commit is contained in:
parent
f4b4987d43
commit
7f90079ea7
|
@ -312,7 +312,7 @@ namespace Kernel::Input
|
|||
|
||||
Key key = keymap[scancode];
|
||||
|
||||
if (dummy.num_lock() && !(dummy.shift() || dummy.ctrl() || dummy.alt()))
|
||||
if (!dummy.num_lock() || dummy.shift() || dummy.ctrl() || dummy.alt())
|
||||
{
|
||||
switch (key)
|
||||
{
|
||||
|
@ -354,7 +354,7 @@ namespace Kernel::Input
|
|||
}
|
||||
}
|
||||
|
||||
return keymap[scancode];
|
||||
return key;
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue