shadPS4/src/core/libraries
Valdis Bogdāns af67473de3
Ime lib fixes (#3244)
* IME fixes

- Moved enums, flags, and structs to ime_common.h to simplify usage with Ime and ImeDialog
- Updated Ime to use an enum as the return type, consistent with ImeDialog
- Removed duplicate definition of OrbisImeKeycode
- Added OrbisImeLanguage as a flags enum
- Added missing options to OrbisImeOption
- Removed OrbisImeDialogOption; OrbisImeOption should be used instead
- Added OrbisImeTextAreaMode
- Updated OrbisImeTextAreaMode
- Fixed OrbisImeEventParam by adding the missing member OrbisImePanelType panel_type
- Updated the sceImeOpen declaration to use extended parameters (not yet implemented)
-Fixed Diablo III (CUSA00434) assertion failure on ImeDialog initialization

* Ime lib fixes
- Updated functions to consistently use the Error enum type for return values.
- Added detailed logging to aid future IME/OSK development and debugging.
- Now use OrbisUserServiceUserId (s32) and OrbisImeKeycodeState in relevant functions and structs.
- Introduced a generic template method to generate full bitmasks for all Orbis flag-style enums, simplifying validation and mask creation.
- Implemented additional parameter validations in sceImeOpen.
- Added missing enums: OrbisDisableDevice, OrbisImeInputMethodState, OrbisImeInitExtKeyboardMode, OrbisImeKeycodeState, and other USB keyboard-related enums.
- Fixed incorrect usage of format specifiers in calls to logging macros (LOG_*).

* Data Type Fixes

- Replaced the use of the type alias OrbisUserServiceUserId = s32 with Libraries::UserService::OrbisUserServiceUserId directly.

* Fixed IDE warnings
- generate_full_mask now returns const instead of constexpr.
- Added argument list to std::unique_lock<std::mutex> construction for clarity.

* Clang fixes

* Removed unneccessary comment

---------

Co-authored-by: w1naenator <valdis.bogdans@hotmail.com>
2025-07-18 12:40:05 +03:00
..
ajm Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
app_content Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
audio Volume slider that adjusts how loud games are on a global level (#3240) 2025-07-18 11:20:05 +03:00
audio3d Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
avplayer Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
camera Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
companion Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
disc_map Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
fiber Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
game_live_streaming Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
gnmdriver Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
hmd Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
ime Ime lib fixes (#3244) 2025-07-18 12:40:05 +03:00
jpeg Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
kernel Fix create flag handling in open (#3255) 2025-07-16 12:30:20 +03:00
libc_internal Remove deprecated include (#2893) 2025-05-09 08:33:32 -07:00
libpng Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
mouse Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
move Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
network Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
ngs2 Initialize system handle in HLE Ngs2 library (#3137) 2025-06-21 20:30:49 +03:00
np_auth Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
np_common Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
np_manager Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
np_party Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
np_score Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
np_trophy Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
np_web_api Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
pad Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
playgo Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
random Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
razor_cpu Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
remote_play Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
rtc core: Library cleanup (#1631) 2024-11-30 22:37:36 +02:00
save_data Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
screenshot Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
share_play Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
signin_dialog Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
system Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
ulobjmgr Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
usbd Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
videodec Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
videoout video_out: Internal Resolution Support (#3194) 2025-07-07 19:17:56 +03:00
voice Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
web_browser_dialog Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
zlib Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
error_codes.h core: Library cleanup (#1631) 2024-11-30 22:37:36 +02:00
libs.cpp Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00
libs.h core: Introduce host call wrapper. (#2913) 2025-05-11 20:27:54 -07:00