diff --git a/Cargo.toml b/Cargo.toml index e768255..bc788b3 100755 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,15 +37,15 @@ name = "texture_swap" path = "src/texture_swap.rs" [dependencies] -piston_window = "0.21.0" +piston_window = "0.22.0" find_folder = "0.2.0" -piston-ai_behavior = "0.9.0" -piston2d-sprite = "0.15.0" +piston-ai_behavior = "0.10.0" +piston2d-sprite = "0.16.0" image = "0.3.11" -piston2d-drag_controller = "0.8.0" +piston2d-drag_controller = "0.9.0" gfx = "0.7.1" gfx_device_gl = "0.5.0" vecmath = "0.2.0" -camera_controllers = "0.8.0" -pistoncore-sdl2_window = "0.14.0" +camera_controllers = "0.9.0" +pistoncore-sdl2_window = "0.15.0" rand = "0.3.8" diff --git a/freetype/Cargo.toml b/freetype/Cargo.toml index 7bcdc71..57dc50b 100644 --- a/freetype/Cargo.toml +++ b/freetype/Cargo.toml @@ -9,9 +9,9 @@ name = "piston-example-freetype" path = "src/main.rs" [dependencies] -piston = "0.11.0" -piston2d-opengl_graphics = "0.13.0" +piston = "0.12.0" +piston2d-opengl_graphics = "0.14.0" piston2d-graphics = "0.10.0" -pistoncore-sdl2_window = "0.14.0" +pistoncore-sdl2_window = "0.15.0" freetype-rs = "0.3.0" find_folder = "0.2.0" diff --git a/user_input/Cargo.toml b/user_input/Cargo.toml index c331e0b..57b54b2 100644 --- a/user_input/Cargo.toml +++ b/user_input/Cargo.toml @@ -9,20 +9,20 @@ name = "piston-example-user_input" path = "src/main.rs" [dependencies] -piston = "0.11.0" -piston2d-opengl_graphics = "0.13.0" +piston = "0.12.0" +piston2d-opengl_graphics = "0.14.0" piston2d-graphics = "0.10.0" [dependencies.pistoncore-sdl2_window] -version = "0.14.0" +version = "0.15.0" optional = true [dependencies.pistoncore-glfw_window] -version = "0.10.0" +version = "0.11.0" optional = true [dependencies.pistoncore-glutin_window] -version = "0.13.0" +version = "0.14.0" optional = true [features] diff --git a/user_input/src/main.rs b/user_input/src/main.rs index 5021616..735bc85 100644 --- a/user_input/src/main.rs +++ b/user_input/src/main.rs @@ -50,6 +50,7 @@ fn main() { match button { Button::Keyboard(key) => println!("Released keyboard key '{:?}'", key), Button::Mouse(button) => println!("Released mouse button '{:?}'", button), + Button::Joystick(button) => println!("Released joystick button '{:?}'", button), } }; e.mouse_cursor(|x, y| {