#xbox360 #xbox #rust

vigem

ViGEm 的安全 Rust 绑定

8 次重大发布

0.9.1 2020年5月23日
0.8.0 2020年5月22日

6#xbox

Download history 19/week @ 2024-04-02 1/week @ 2024-04-16 8/week @ 2024-04-23 1/week @ 2024-04-30 1/week @ 2024-05-07 2/week @ 2024-05-14 1/week @ 2024-05-21 8/week @ 2024-05-28 5/week @ 2024-06-04 3/week @ 2024-06-11 5/week @ 2024-06-25 54/week @ 2024-07-02 4/week @ 2024-07-16

63 次每月下载
用于 rlm2c

GPL-3.0-or-later

2MB
4K SLoC

🎮 Rust 的 ViGEm 绑定!🎮

documentation (docs.rs)

这是什么?

ViGEm 是虚拟游戏手柄仿真框架。

这些绑定基于 ViGEm 客户端

如何使用?

查看 示例阅读文档

Cool Gamepad Image

函数

  • 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 - 需要帮助添加异步/等待支持
  • 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

计划

依赖