Skip to content

Version 0.5.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@lukexor lukexor released this 13 Dec 19:40
· 453 commits to main since this release

[0.5.1] - 2021-12-13

Added

  • Basic gamepad controller support and a new event: JoyHatMotion.
  • PixEngineBuider::with_deadzone which alters the default gamepad axis
    deadzone.
  • AppState::on_controller_pressed, AppState::on_controller_released,
    AppState::on_controller_axis_motion, AppState::on_controller_update.
  • More supported events: AudioDeviceAdded, AudioDeviceRemoved,
    WindowEvent::Exposed, Key::Kp* events for Keypad support.
  • Warning logs for unsupported events.

Changed

Core

  • PixEngineBuilder::icon and WindowBuilder::icon now take an
    Into<Icon> parameter that can converted into either a PathBuf or an
    Image which allows loading an icon from a file, or a static or dynamic
    image.

UI

  • Various UI padding now use frame padding instead of item padding.

Breaking

  • Changed Unknown event variants to Unsupported to better reflect that some
    events are known, but are not supported by this library.