Crate be_eloistree_hellocrate

Source
Expand description

§Eloi Crate

Hello guys, this is a simple crate that I created to test the creation of a crate in Rust. This is my first one. Hello Rust Bend Drone XR
https://github.com/EloiStree/HelloRustBending

May the code be with you :)

Re-exports§

pub use self::utils::random_println;

Modules§

utils

Functions§

gamepad_to_integer
Returns a integer that represents the gamepad input with front it, left stick x, left stick y, right stick x, right stick y (Right Rotation), (Down Up), (Left, Right), (Back, Front)
get_random_float
Returns a random float between -1.0 and 1.0
parse_percent11_to_integer99
Converts a float between -1.0 and 1.0 to a integer between 0 and 99 digits Quick Example
test_gamepad_to_integer
Test in console debug the methode of gamepad to integer