vibtify 0.1.0

A Rust crate for high-level interaction with a gamepad
Documentation
vibtify
===========================

[<img alt="github" src="https://img.shields.io/badge/github-maslina524/vibtify-8da0cb?style=for-the-badge&labelColor=555555&logo=github" height="20">](https://github.com/dtolnay/syn)

**vibtify** is a Rust crate for low-latency gamepad interaction – both receiving input data (buttons, axes, triggers) and controlling output features such as vibration (rumble) and LEDs. It provides a clean, cross-platform API for working with gamepads in games.

## Supported Gamepads

- **Dualshock4**

## Example

```rust
let gamepad = &get_gamepads().unwrap()[0];
loop {
    let state = gamepad.get_state().unwrap();
    if state.square {
        println!("The square button is pressed!");
        gamepad.set_rumble(125, 125);
    } else {
        gamepad.set_rumble(0, 0);
    }
}
```