Skip to content

4.1.0

Compare
Choose a tag to compare
@JujuAdams JujuAdams released this 05 Mar 11:59
· 1469 commits to master since this release

A big thank you to @offalynne who continues to push this library forwards!

 

  • Updates SDL2 binding database, including improved support for many gamepads on ChromeOS
  • Adds input_clear_momentary() to clear all of Input's pressed/released input checkers. This covers verbs as well as keyboard/mouse/gamepad direct checkers. We're finding this useful for integrating with fixed timestep libraries (such as iota)
  • Adds input_binding_is_valid() to validate bindings for the given player on the current platform
  • Adds input_held_time() to return how long a verb has been active. The units that this function returns is given by INPUT_TIMER_MILLISECONDS
  • Adds input_gamepad_get_button_color() and input_gamepad_get_button_label() functions to help give you execute an extra level of detail and polish for your gamepad controls
  • Prevents Steam Input from aliasing PlayStation and Switch controllers as Xbox type when able
  • Fixes Xbox One Wireless Controller mapping for new firmware over Bluetooth on Windows
  • Removes platform-agnostic gamepad blocklist
  • Adds type identification for generic multi-gamepad adapters
  • Fixes trigger axis checks for hotswapping
  • Fixes dpad mappings for keymapped gamepads on Android
  • Allows binding of additional gamepad inputs that are becoming increasingly popular on new consoles: gp_touchpad, gp_paddle1 - gp_paddle4
  • Adds extended keycodes: vk_scrollock, vk_numlock, vk_semicolon, vk_comma, vk_fslash, vk_bslash, vk_lbracket, vk_rbracket, vk_apostrophe, vk_equals, vk_hyphen, vk_backtick
  • Fixes UTF-8 keycode handling on platforms with nonnormative keycode values
  • Adds Ouya gamepad support for MacOS
  • Adds MFi gamepad support
  • Adds PC Engine Mini, Astro City Mini, NEOGEO Mini, and NEOGEO X gamepad type detection
  • Changes default XInput controller type to "xbox one" on Windows. Welcome to The Future
  • Fixes a bug in input_source_assignment_tick() where the maximum player count was being handled incorrectly
  • Adds optional argument to input_source_assignment_tick() to set whether gamepads should drop to lower player slots if they have no input source (defaults to true)
  • Adds type identification for Switch Online Gensis/Mega Drive 3b and 6b gamepads on Linux
  • Removes input_player_gamepad_get_description() and input_player_gamepad_get_dpad_style(). Please use Input's direct gamepad functions instead