Skip to content

Commit dad8942

Browse files
ceyusaaperezdc
authored andcommitted
Adds Gamepad API.
Gamepad API in libwpe is middleware between WPEWebKit and the application, such as cog. The application is reponsible to provide the gamepad backend by offering the functions for providers and gamepads. WPEWebkit shall provide event callbacks. Original patch by Eugene Mutavchi <[email protected]>
1 parent 753fc5a commit dad8942

File tree

6 files changed

+583
-0
lines changed

6 files changed

+583
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ set(WPE_PUBLIC_HEADERS
6262
include/wpe/version.h
6363
include/wpe/version-deprecated.h
6464
include/wpe/export.h
65+
include/wpe/gamepad.h
6566
include/wpe/input.h
6667
include/wpe/input-xkb.h
6768
include/wpe/keysyms.h
@@ -85,6 +86,7 @@ add_library(
8586
src/renderer-host.c
8687
src/version.c
8788
src/view-backend.c
89+
src/gamepad.c
8890
)
8991

9092
if (BUILD_SHARED_LIBS)

0 commit comments

Comments
 (0)