Skip to content

Commit

Permalink
src: pretty print gamepad events
Browse files Browse the repository at this point in the history
- Add virtual gamepad definition
- Limit recieved gamepad events to `maxSupportedControllers`
- Remove `libevdev` library
  • Loading branch information
e2dk4r committed Oct 21, 2024
1 parent e2e0d4a commit 285943d
Show file tree
Hide file tree
Showing 3 changed files with 299 additions and 66 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ Forked from https://github.com/e2dk4r/gamepad and adapted to wayland.
| library | used for |
|----------------|-------------------------------------|
| liburing | event loop and polling |
| libevdev | detecting whether device is gamepad |
| wayland-client | connecting to wayland display |

# build
Expand Down
2 changes: 0 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ add_project_arguments(
language: 'c'
)

libevdev = dependency('libevdev')
liburing = dependency('liburing')
wayland_client = dependency('wayland-client')
wayland_protocols = dependency('wayland-protocols', native: true)
Expand All @@ -36,7 +35,6 @@ executable(
'gamepad_idle_inhibit',
sources: sources + wl_protocols_src,
dependencies: [
libevdev,
liburing,
wayland_client,
],
Expand Down
Loading

0 comments on commit 285943d

Please sign in to comment.