mirror of
https://github.com/games-on-whales/inputtino.git
synced 2026-10-15 12:52:02 +00:00
[PR #11] [CLOSED] Rust bindings #23
Labels
No labels
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
games-on-whales/inputtino#23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/games-on-whales/inputtino/pull/11
Author: @ABeltramo
Created: 8/3/2024
Status: ❌ Closed
Base:
stable← Head:dev-rust📝 Commits (10+)
2a348cefeat: better Rust bindings, properly wrapped mouse2394ecffix: absolute mouse, remove hardcoded name60ad275fix: absolute mouse, remove hardcoded name4c280b6feat: completed Rust mouse API + tests1d124d8feat: completed Rust keyboard API + tests3a4b6a4feat: added pkgconfig configuration5df6e1efeat: allow Rust build when using the shared library0b57533feat: added basic Dockerfile for compiling from scratch7f197fffeat: added xbox joypad, separated c_bindings866c3c2feat: added switch joypad📊 Changes
20 files changed (+1014 additions, -96 deletions)
View changed files
📝
.dockerignore(+4 -0)📝
CMakeLists.txt(+7 -0)➕
bindings/rust/.dockerignore(+1 -0)📝
bindings/rust/Cargo.toml(+12 -1)📝
bindings/rust/build.rs(+43 -39)➕
bindings/rust/src/c_bindings.rs(+5 -0)➕
bindings/rust/src/common.rs(+76 -0)➕
bindings/rust/src/joypad_switch.rs(+72 -0)➕
bindings/rust/src/joypad_xbox.rs(+72 -0)➕
bindings/rust/src/keyboard.rs(+45 -0)📝
bindings/rust/src/lib.rs(+8 -50)➕
bindings/rust/src/mouse.rs(+113 -0)➕
bindings/rust/tests/common/mod.rs(+33 -0)➕
bindings/rust/tests/joypads.rs(+242 -0)➕
bindings/rust/tests/keyboard.rs(+61 -0)➕
bindings/rust/tests/mouse.rs(+125 -0)➕
docker/Dockerfile(+70 -0)➕
share/pkgconfig/libinputtino.pc.in(+17 -0)📝
src/uinput/mouse.cpp(+6 -6)📝
tests/CMakeLists.txt(+2 -0)📄 Description
WIP for #3, see tests for how to use it.
TODO:
Wrappers:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.