Skip to content

Commit

Permalink
+
Browse files Browse the repository at this point in the history
  • Loading branch information
red-prig committed Apr 2, 2024
1 parent a16191c commit dd0804c
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 24 deletions.
3 changes: 2 additions & 1 deletion src/ps4_libscedialogs.pas
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,8 @@ function ps4_scePlayerInvitationDialogTerminate():Integer; SysV_ABI_CDecl;
type
pSceImeDialogParam=^SceImeDialogParam;
SceImeDialogParam=packed record
userId,_type :SceImeType;
userId :Integer;
_type :SceImeType;
supportedLanguages :QWORD;
enterLabel :SceImeEnterLabel;
inputMethod :SceImeInputMethod;
Expand Down
46 changes: 23 additions & 23 deletions src/ps4_libsceime.pas
Original file line number Diff line number Diff line change
Expand Up @@ -595,10 +595,10 @@ interface
end;

SceImeEditText=packed record
str:pWideChar;
str :pWideChar;
caretIndex:DWORD;
areaNum:DWORD;
textArea:array[0..SCE_IME_MAX_TEXT_AREA-1] of SceImeTextAreaProperty;
areaNum :DWORD;
textArea :array[0..SCE_IME_MAX_TEXT_AREA-1] of SceImeTextAreaProperty;
end;

SceImePositionAndForm=packed record
Expand Down Expand Up @@ -631,30 +631,30 @@ interface

pSceImeKeyboardInfo=^SceImeKeyboardInfo;
SceImeKeyboardInfo=packed record
userId:Integer;
device:Integer; //SceImeKeyboardDeviceType
_type:Integer; //SceImeKeyboardType
userId :Integer;
device :Integer; //SceImeKeyboardDeviceType
_type :Integer; //SceImeKeyboardType
repeatDelay:DWORD;
repeatRate :DWORD;
status:Integer; //SceImeKeyboardStatus
reserved:array[0..11] of Byte;
status :Integer; //SceImeKeyboardStatus
reserved :array[0..11] of Byte;
end;

pSceImeKeyboardResourceIdArray=^SceImeKeyboardResourceIdArray;
SceImeKeyboardResourceIdArray=packed record
userId:Integer;
userId :Integer;
resourceId:array[0..SCE_IME_KEYBOARD_MAX_NUMBER-1] of DWORD;
end;

SceImeKeycode=packed record
keycode:Word;
character:WideChar;
status:DWORD;
_type:Integer; //SceImeKeyboardType
userId:Integer;
keycode :Word;
character :WideChar;
status :DWORD;
_type :Integer; //SceImeKeyboardType
userId :Integer;
resourceId:DWORD;
_align:Integer;
timestamp:QWORD; //SceRtcTick
_align :Integer;
timestamp :QWORD; //SceRtcTick
end;

pSceImeEventParam=^SceImeEventParam;
Expand Down Expand Up @@ -691,9 +691,9 @@ interface

pSceImeTextFilter=^SceImeTextFilter;
SceImeTextFilter=packed record
outText:PWideChar;
outText :PWideChar;
outTextLength:PDWORD;
srcText:PWideChar;
srcText :PWideChar;
srcTextLength:DWORD;
end;

Expand All @@ -713,18 +713,18 @@ interface
SceImeExtKeyboardFilter=packed record
srcKeycode:SceImeKeycode;
outKeycode:Word;
outStatus:PDWORD;
reserved:Pointer;
outStatus :PDWORD;
reserved :Pointer;
end;

SceImeEventHandler=procedure(arg:Pointer;e:pSceImeEvent); SysV_ABI_CDecl;

pSceImeKeyboardParam=^SceImeKeyboardParam;
SceImeKeyboardParam=packed record
option:DWORD;
option :DWORD;
reserved1:DWORD;
arg:Pointer;
handler:SceImeEventHandler;
arg :Pointer;
handler :SceImeEventHandler;
reserved2:QWORD;
end;

Expand Down

0 comments on commit dd0804c

Please sign in to comment.