Skip to content

4.0.0

Compare
Choose a tag to compare
@JujuAdams JujuAdams released this 07 Dec 23:16
· 1674 commits to master since this release
  • Removes input_history_*() and input_string_*() functions. @offalynne moved the input_string_*() functions to her own library which can be found here: https://github.com/offalynne/input-string
  • Renames input_assignment_tick() to input_source_assignment_tick(), and renames input_hotswap_tick() to input_source_hotswap_tick(). Please adjust your function names accordingly when updating to v4.0.0 from prior versions
  • Updates SDL2 gamepad binding database, including new entries to the blacklist
  • Adds support for hat-to-axis SDL mappings. This is most commonly encountered on Switch joycons connected to a desktop OS
  • Adds support for button-to-axis SDL mappings. This is encountered on N64 controllers, where C Buttons map to right thumbstick.
  • Adds N64 gamepad type detection, as returned by input_gamepad_get_type()
  • Improves UWP keyboard handling by filtering out keyboard events that are generated by XInput gamepads for this platform
  • Adds INPUT_GAMEPADS_TICK_PREDELAY to help filter out wonky Steam Input behaviour causing lots of connections/disconnections when the game boots
  • input_binding_get() can now return the default binding for a given verb (for a given source/alternate index) if "default" is used as the player index
  • input_platform_text_source() will now return "keyboard" if GameMaker reports the Android device as having a physical keyboard (e.g. Chromebooks)
  • Renames INPUT_BINDING_SCAN_EVENT.TIMEOUT to INPUT_BINDING_SCAN_EVENT.SCAN_TIMEOUT to - hopefully - avoid enum/macro collisions when importing Input into a larger project