Skip to content

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

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

This is a pull request for adapting to the OpenHarmony platform.#19044
likuai2010 wants to merge 14 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).

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 ?

@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.

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.

2 participants