https://github.com/shadowblip/godot-evdev
Godot 4 bindings for libevdev to manage event devices
https://github.com/shadowblip/godot-evdev
Last synced: 3 months ago
JSON representation
Godot 4 bindings for libevdev to manage event devices
- Host: GitHub
- URL: https://github.com/shadowblip/godot-evdev
- Owner: ShadowBlip
- License: gpl-3.0
- Created: 2023-03-30T21:07:32.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-05T16:13:37.000Z (over 1 year ago)
- Last Synced: 2025-01-11T13:28:39.586Z (5 months ago)
- Language: C++
- Size: 35.2 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Godot Evdev
Godot Evdev is a native GDExtension for Godot 4.x that exposes libevdev functionality
to GDSCript. It allows you to directly access and process input events from
`/dev/input/event*` devices and create virtual devices using uinput.## Requirements
### Build Requirements
The following are required to build Open Gamepad UI:
- Godot 4.x
- GCC 7+ or Clang 6+.
- Python 3.5+.
- SCons 3.0+ build system
- pkg-config (used to detect the dependencies below).
- X11, Xcursor, Xinerama, Xi and XRandR development libraries.
- MesaGL development libraries.
- ALSA development libraries.
- PulseAudio development libraries.
- Evdev development libraries
- make (optional)
- unzip (optional)
- wget (optional)If you are using ArchLinux, you can run the following:
```bash
pacman -S --needed scons pkgconf gcc libxcursor libxinerama libxi libxrandr mesa glu libglvnd alsa-lib pulseaudio libevdev make unzip wget git
```## Building
You can build the project using the following:
```bash
make build
```## Usage
Copy the `addons` folder after you have built the project into your Godot
project directory.