Removed debug code.

git-svn-id: https://spexeah.com:8443/svn/Asuro@228 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
kieron 2017-10-23 15:19:14 +00:00
parent 80748ac625
commit f5bc060ccf
10 changed files with 2 additions and 3 deletions

BIN
Asuro.iso

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

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