Skip to content

This is a pull request for adapting to the OpenHarmony platform.#19044

Open
likuai2010 wants to merge 28 commits into
libretro:masterfrom
xiaobaigroup:ohos
Open

This is a pull request for adapting to the OpenHarmony platform.#19044
likuai2010 wants to merge 28 commits into
libretro:masterfrom
xiaobaigroup:ohos

Conversation

@likuai2010
Copy link
Copy Markdown

This pull request adds OpenHarmony platform support for the ARM64 architecture.

Key additions:

Video drivers: Added GLESv3 and Vulkan video drivers, enabling hardware-accelerated rendering on OpenHarmony-compatible devices.

Audio driver: Integrated OpenSL ES audio driver for low-latency audio output.

Input support: Implemented touchscreen and keyboard input handling.

Platform target: Added ARM64 build configuration for OpenHarmony (OHOS) in the build system.

These changes allow RetroArch to run natively on OpenHarmony-based devices (e.g., HarmonyOS NEXT, development boards, and other OHOS platforms).

Comment thread frontend/drivers/platform_unix.c Outdated
napi_get_named_property(env, args[0], "deviceId", &temp_val);
napi_get_value_int32(env, temp_val, &event.deviceId);

// 提取 type
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to remove Chinese comment ?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@gouchi
Copy link
Copy Markdown
Member

gouchi commented May 23, 2026

Please add an entry to CHANGES.md about HarmonyOS support something like

HARMONYOS: Add HarmonyOS support

And the new OS to the platforms section of the README.md.

Thank you.

@LibretroAdmin
Copy link
Copy Markdown
Contributor

We can't give you distribution rights unfortunately. We can review and eventually merge this PR though

@likuai2010
Copy link
Copy Markdown
Author

We can't give you distribution rights unfortunately. We can review and eventually merge this PR though

No problem, I understand. Thank you for looking into it and considering merging the PR.

@likuai2010 likuai2010 force-pushed the ohos branch 2 times, most recently from 01bc910 to 5b92066 Compare May 28, 2026 03:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants