vigem 0.7.0

Safe Rust bindings for ViGEm
docs.rs failed to build vigem-0.7.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: vigem-0.9.1

🎮 ViGEm bindings for Rust! 🎮

documentation (docs.rs)

What is it?

ViGEm is Virtual Gamepad Emulation Framework.

These bindings are based on ViGEm client

How to use?

First of all, copy all files from libs catalog to C:\Users\Username\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib

Check examples or read the docs

Cool Gamepad Image

Functions:

  • vigem_alloc
  • vigem_free
  • vigem_connect
  • vigem_disconnect
  • vigem_target_x360_alloc
  • vigem_target_ds4_alloc
  • vigem_target_free
  • vigem_target_add
  • vigem_target_add_async - Need help to add async/await support
  • vigem_target_remove
  • vigem_target_get_index
  • vigem_target_get_type
  • vigem_target_is_attached
  • vigem_target_x360_unregister_notification
  • vigem_target_ds4_unregister_notification
  • vigem_target_set_vid
  • vigem_target_set_pid
  • vigem_target_get_vid
  • vigem_target_get_pid
  • vigem_target_x360_get_user_index
  • vigem_register_notification
  • vigem_target_update
  • vigem_target_send_report

Plans:

  • Documentation(in progress)
  • Macro for more comfortable using
  • Add tests
  • Split to -sys crate
  • Auto bindings generation
  • Finish Life is Strange 2 game