mirror of https://github.com/red-prig/fpPS4.git
This commit is contained in:
parent
ab9c80de27
commit
7af1204bed
|
@ -301,16 +301,22 @@ begin
|
||||||
u.pad_state:=Default(t_pad_state);
|
u.pad_state:=Default(t_pad_state);
|
||||||
|
|
||||||
u.pad_state.timestamp:=$101010;
|
u.pad_state.timestamp:=$101010;
|
||||||
u.pad_state.buttons:=SCE_PAD_BUTTON_UP or SCE_PAD_BUTTON_LEFT;
|
//u.pad_state.buttons:=SCE_PAD_BUTTON_UP or SCE_PAD_BUTTON_LEFT;
|
||||||
|
|
||||||
u.pad_state.leftStick.x:=1;
|
u.pad_state.leftStick.x :=$80;
|
||||||
u.pad_state.leftStick.y:=2;
|
u.pad_state.leftStick.y :=$80;
|
||||||
|
|
||||||
u.pad_state.rightStick.x:=3;
|
u.pad_state.rightStick.x :=$80;
|
||||||
u.pad_state.rightStick.y:=4;
|
u.pad_state.rightStick.y :=$80;
|
||||||
|
|
||||||
u.pad_state.analogButtons.l2:=5;
|
//u.pad_state.leftStick.x:=1;
|
||||||
u.pad_state.analogButtons.r2:=6;
|
//u.pad_state.leftStick.y:=2;
|
||||||
|
//
|
||||||
|
//u.pad_state.rightStick.x:=3;
|
||||||
|
//u.pad_state.rightStick.y:=4;
|
||||||
|
|
||||||
|
//u.pad_state.analogButtons.l2:=5;
|
||||||
|
//u.pad_state.analogButtons.r2:=6;
|
||||||
|
|
||||||
|
|
||||||
u.pad_state.touch_gcount:=1;
|
u.pad_state.touch_gcount:=1;
|
||||||
|
|
|
@ -132,7 +132,7 @@ end;
|
||||||
|
|
||||||
function TvComputePipelineKey2Compare.c(a,b:PvComputePipelineKey):Integer;
|
function TvComputePipelineKey2Compare.c(a,b:PvComputePipelineKey):Integer;
|
||||||
begin
|
begin
|
||||||
Result:=Integer(Pointer(a)>Pointer(b))-Integer(Pointer(a)<Pointer(b));
|
Result:=Integer(Pointer(a^)>Pointer(b^))-Integer(Pointer(a^)<Pointer(b^));
|
||||||
end;
|
end;
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue