sf2g 0.4.0

Minimal Rust binding for SFML2 Graphics submodule
Documentation
use sf2g::window::joystick;

fn main() {
    joystick::update();
    for i in 0..joystick::COUNT {
        let ident = joystick::identification(i);
        println!(
            "\
             == Joystick {} ==\n\
             name: {}\n\
             vendor id: {}\n\
             product id: {}\n",
            i,
            ident.name(),
            ident.vendor_id(),
            ident.product_id(),
        );
    }
}