Skip to content

Commit

Permalink
Adds Gamepad API.
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
ceyusa authored and aperezdc committed May 12, 2022
1 parent 753fc5a commit dad8942
Show file tree
Hide file tree
Showing 6 changed files with 583 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ set(WPE_PUBLIC_HEADERS
include/wpe/version.h
include/wpe/version-deprecated.h
include/wpe/export.h
include/wpe/gamepad.h
include/wpe/input.h
include/wpe/input-xkb.h
include/wpe/keysyms.h
Expand All @@ -85,6 +86,7 @@ add_library(
src/renderer-host.c
src/version.c
src/view-backend.c
src/gamepad.c
)

if (BUILD_SHARED_LIBS)
Expand Down
Loading

0 comments on commit dad8942

Please sign in to comment.