Fix
git-svn-id: https://spexeah.com:8443/svn/Asuro@210 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
1 parent
5babb50f55
commit
a4a3a25553
2 files changed
+159
No files matched your search
@@ -0,0 +1,25 @@
|
||||
unit mouse;
|
||||
|
||||
interface
|
||||
|
||||
uses
|
||||
console,
|
||||
util,
|
||||
isr44;
|
||||
|
||||
procedure init();
|
||||
|
||||
implementation
|
||||
|
||||
procedure callback(packet : void);
|
||||
begin
|
||||
console.writestring('Mouse Packet: ');
|
||||
console.writehexln(DWORD(packet));
|
||||
end;
|
||||
|
||||
procedure init();
|
||||
begin
|
||||
isr44.hook(uint32(@callback));
|
||||
end;
|
||||
|
||||
end.
|
||||
Reference in new issue
Block a user