git-svn-id: https://spexeah.com:8443/svn/Asuro@540 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
parent
e263ff7c17
commit
cdea499fc6
BIN
bin/kernel.bin
BIN
bin/kernel.bin
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
lib/libpsystem.a
BIN
lib/libpsystem.a
Binary file not shown.
BIN
lib/mouse.ppu
BIN
lib/mouse.ppu
Binary file not shown.
@ -149,8 +149,8 @@ begin
|
||||
Packet.y_overflow:= (f AND $80) = $80;
|
||||
Packet.x_movement:= Mouse_Byte[1] - ((f SHL 4) AND $100);//Packet.x_movement div 4;
|
||||
Packet.y_movement:= Mouse_Byte[2] - ((f SHL 3) AND $100);//Packet.y_movement div 4;
|
||||
if Packet.x_movement < 1 then Packet.x_movement:= 1;
|
||||
if Packet.y_movement < 1 then Packet.y_movement:= 1;
|
||||
//if Packet.x_movement < 1 then Packet.x_movement:= 1;
|
||||
//if Packet.y_movement < 1 then Packet.y_movement:= 1;
|
||||
if not(Packet.x_overflow) and not(Packet.y_overflow) then begin
|
||||
Current.x:= Current.x + Packet.x_movement;
|
||||
Current.y:= Current.y + Packet.y_movement;
|
||||
|
Loading…
x
Reference in New Issue
Block a user