/vigem

Vigem bindings for Rust! 🎆

Primary LanguageRust

🎮 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?

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
  • Split to -sys
  • Add tests
  • [] Figure out why userdata can be another type and value
  • Auto bindings generation
  • Finish Life is Strange 2 game