Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c1660e3ba241183a096c38ee11bc6b07f4f96676
https://github.com/WebKit/WebKit/commit/c1660e3ba241183a096c38ee11bc6b07f4f96676
Author: Don Olmstead <[email protected]>
Date: 2022-10-24 (Mon, 24 Oct 2022)
Changed paths:
M Source/WebCore/PlatformPlayStation.cmake
M Source/WebCore/PlatformWPE.cmake
M Source/WebCore/SourcesWPE.txt
A Source/WebCore/platform/gamepad/libwpe/GamepadLibWPE.cpp
A Source/WebCore/platform/gamepad/libwpe/GamepadLibWPE.h
A Source/WebCore/platform/gamepad/libwpe/GamepadProviderLibWPE.cpp
A Source/WebCore/platform/gamepad/libwpe/GamepadProviderLibWPE.h
R Source/WebCore/platform/gamepad/wpe/WPEGamepad.cpp
R Source/WebCore/platform/gamepad/wpe/WPEGamepad.h
R Source/WebCore/platform/gamepad/wpe/WPEGamepadProvider.cpp
R Source/WebCore/platform/gamepad/wpe/WPEGamepadProvider.h
M Source/WebKit/PlatformPlayStation.cmake
M Source/WebKit/SourcesWPE.txt
M Source/WebKit/UIProcess/API/wpe/WPEView.cpp
A Source/WebKit/UIProcess/Gamepad/libwpe/UIGamepadProviderLibWPE.cpp
R Source/WebKit/UIProcess/Gamepad/wpe/UIGamepadProviderWPE.cpp
Log Message:
-----------
Share libwpe gamepad code
https://bugs.webkit.org/show_bug.cgi?id=246934
Reviewed by Žan Doberšek and Adrian Perez de Castro.
In v1.14.0 libwpe added support for Gamepads. However when the code was
added to WebKit it was targeted specifically to the WPE port. All the
code is libwpe specific, not WPE specific so rename the code to fit
the convention where filenames and objects contain a LibWPE suffix and
the source code resides in a libwpe directory.
`WPEGamepad` -> `GamepadLibWPE`
`WPEGamepadProvider` -> `GamepadProviderLibWPE`
Additionally modify the PlayStation build to support `ENABLE_GAMEPAD`
using libwpe in the near future.
* Source/WebCore/PlatformPlayStation.cmake:
* Source/WebCore/PlatformWPE.cmake:
* Source/WebCore/SourcesWPE.txt:
* Source/WebCore/platform/gamepad/libwpe/GamepadLibWPE.cpp: Renamed from
Source\WebCore\platform\gamepad\wpe\WPEGamepad.cpp.
* Source/WebCore/platform/gamepad/libwpe/GamepadLibWPE.h: Renamed from
Source\WebCore\platform\gamepad\wpe\WPEGamepad.h.
* Source/WebCore/platform/gamepad/libwpe/GamepadProviderLibWPE.cpp: Renamed
from Source\WebCore\platform\gamepad\wpe\WPEGamepadProvider.cpp.
* Source/WebCore/platform/gamepad/libwpe/GamepadProviderLibWPE.h: Renamed from
Source\WebCore\platform\gamepad\wpe\WPEGamepadProvider.h.
* Source/WebKit/PlatformPlayStation.cmake:
* Source/WebKit/SourcesWPE.txt:
* Source/WebKit/UIProcess/API/wpe/WPEView.cpp:
* Source/WebKit/UIProcess/Gamepad/libwpe/UIGamepadProviderLibWPE.cpp: Renamed
from Source\WebKit\UIProcess\Gamepad\wpe\UIGamepadProviderWPE.cpp.
Canonical link: https://commits.webkit.org/255915@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes