Removed debug code.
git-svn-id: https://spexeah.com:8443/svn/Asuro@228 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
parent
80748ac625
commit
f5bc060ccf
BIN
bin/kernel.bin
BIN
bin/kernel.bin
Binary file not shown.
Binary file not shown.
BIN
lib/PCI.ppu
BIN
lib/PCI.ppu
Binary file not shown.
BIN
lib/kernel.ppu
BIN
lib/kernel.ppu
Binary file not shown.
BIN
lib/keyboard.ppu
BIN
lib/keyboard.ppu
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
lib/libpsystem.a
BIN
lib/libpsystem.a
Binary file not shown.
@ -43,14 +43,13 @@ implementation
|
|||||||
|
|
||||||
procedure callback(scan_code : void);
|
procedure callback(scan_code : void);
|
||||||
begin
|
begin
|
||||||
console.writehex(uint8(scan_code));
|
//console.writehex(uint8(scan_code));
|
||||||
//console.writechar(char($21));
|
//console.writechar(char($21));
|
||||||
if is_shift then begin
|
if is_shift then begin
|
||||||
if key_matrix_shift[uint8(scan_code)].key_code <> 0 then begin
|
if key_matrix_shift[uint8(scan_code)].key_code <> 0 then begin
|
||||||
if captin_hook <> nil then captin_hook(key_matrix_shift[uint8(scan_code)]);
|
if captin_hook <> nil then captin_hook(key_matrix_shift[uint8(scan_code)]);
|
||||||
end;
|
end;
|
||||||
end;
|
end else begin
|
||||||
if is_shift = false then begin
|
|
||||||
if key_matrix[uint8(scan_code)].key_code <> 0 then begin
|
if key_matrix[uint8(scan_code)].key_code <> 0 then begin
|
||||||
if captin_hook <> nil then captin_hook(key_matrix[uint8(scan_code)]);
|
if captin_hook <> nil then captin_hook(key_matrix[uint8(scan_code)]);
|
||||||
end;
|
end;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user