1
0
Fork 0
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:
Jonas 'Sortie' Termansen 2011-08-22 11:13:24 +02:00
parent 8d86dc6f6a
commit 1fd4e6b63e

View file

@ -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; }