Skip to content

5.2.1

Compare
Choose a tag to compare
@JujuAdams JujuAdams released this 18 Oct 10:40
· 822 commits to master since this release

Documentation for version 5.2 can be found here.

 

New Features:

  • Adds gamepad vibration functionality
  • Adds input_held_time_released()
  • Adds input_check_opposing_pressed()
  • Adds INPUT_MOUSE_ALLOW_SCANNING and INPUT_HOTSWAP_ON_MOUSE_BUTTON macros to control more precisely how mouse input interacts with the library
  • Updates the gamepad database, and adds Steam Deck, Tribute 64, and Atari VCS Classic compatibility
  • Improved support for HID-Nintendo gamepads and third-party JoyCons
  • Adds input_mouse_in_bounds() and input_window_has_focus()
  • Adds input_gamepad_delta() to monitor changes in values between frames
  • input_consume() can now take an array of verbs
  • Adds INPUT_MERGE_CONTROL_KEYS macro to treat left/right control keys as the same key
  • Adds the ability to explicitly ignore or allow certain bindings when scanning with input_binding_scan() - see input_binding_scan_set_params()
  • Adds "quick tap" checker for analogue input (on both thumbsticks and triggers)
  • Adds optional allowAbort parameter to input_multiplayer_params_set()
  • Adds input_cursor_translate() which allows you to move Input's native cursor around

Other Changes:

  • Aborting the .JOIN source mode will now return Input to the previous source mode
  • Renames input_check_repeat_opposing() to input_check_opposing_repeat()
  • Renames __input_config_gamepad_data() to __input_config_external_data()
  • Removes input_gamepad_get_dpad_style(), you will be missed
  • Extended gamepad constants gp_guide, gp_paddle1 etc.) have had their values changed to avoid collisions with native GameMaker constants. No changes should be required, and old saved bindings should automatically self-update when loaded

Bug Fixes:

  • Fixes Input being outfoxed by time_source_pause()
  • Fixes failure to compile in YYC for 2022.6.1
  • Works around Xbox One gamepads on Windows returning incorrect analogue trigger values
  • Fixes crash in input_source_share()
  • Profiles created at runtime are now more stable, especially when exporting/importing
  • Fixes empty bindings not being imported correctly
  • Gamepads that emit continuously faulty data (or you're sitting on them) will not longer trigger hotswap constantly
  • Fixes crash on boot with connected gamepad when starting in mixed/multidevice source mode
  • Improves input_binding_get_icon() error reporting
  • Gamepad detection on desktop has been tweaked to better handle virtual devices in most cases
  • Glitchy gamepads no longer uncontrollably assign themselves in the .JOIN source mode
  • Fixes player index issues when using input_player_swap()
  • Fixes support for SteelSeries Nimbus+, Mayflash N64, and HuiJia gamepads