mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Minor change in keyboard.cpp.
This commit is contained in:
parent
8d86dc6f6a
commit
1fd4e6b63e
1 changed files with 1 additions and 1 deletions
|
@ -666,7 +666,7 @@ namespace Sortix
|
||||||
|
|
||||||
uint32_t CodePoint = Layouts::GetCodePoint(Scancode);
|
uint32_t CodePoint = Layouts::GetCodePoint(Scancode);
|
||||||
|
|
||||||
bool KeyUp = (Scancode & 0x80) > 0;
|
bool KeyUp = (Scancode & 0x80);
|
||||||
|
|
||||||
if ( KeyUp ) { CodePoint |= DEPRESSED; }
|
if ( KeyUp ) { CodePoint |= DEPRESSED; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue