Minor change in keyboard.cpp.
This commit is contained in:
parent
8d86dc6f6a
commit
1fd4e6b63e
|
@ -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 New Issue