Releases: offalynne/Input
5.1.1
- Updates SDL2 database
input_tick()can now be called freely in the Begin Step event, as was advised in v4 of Input. Doing so will cancel the automatic update so make sure you callinput_tick()every frame in a persistent instance- Fixes a couple typos in the default icon config
- Adds support for Switch controller on iOS 16
- Adds support for Wii Remote and Wii Classic gamepads on Linux
- Fixes a couple function signatures (thank you @gnysek)
- Fixes crash when
INPUT_MULTIPLAYER_LEAVE_VERBis set toundefined - Fixes
input_profile_export()returning an invalid value when opting to export a string - Works around PlayStation controllers hogging hotswapping due to non-zero values returned by triggers
5.1.0
- Rebuilds
__input_config_icons()to use a fluent interface. This works around two particularly nasty bugs in GameMaker that have gone unaddressed for at least 6 weeks (#371 #410) and we got bored of waiting - Adds imported data verification functions:
input_system_verify(),input_player_verify(), andinput_profile_verify() - Fixes empty bindings having no label, leading to invalid return values downstream
- Fixes crash when importing bindings that contain attached gamepad description data
5.0.7
- Adds optional
availableOnlyargument toinput_source_detect_input()to filter input. This argument defaults totrue, only allowing input from sources that are not assigned to a player - Fixes binding scan not waiting for mouse buttons to be released before scanning for input, leading to mouse buttons always being bound
- Adds
input_binding_get_source_type()which returns the source type for a binding - Fixes
input_binding_set()crashing when used with custom profiles
5.0.6
5.0.5
5.0.4
Change log against v4.2 here.
Documentation here.
ย
Changes from 5.0.3:
- Fixes update ticks on older version of GameMaker
- Fixes multiple issues with binding import/export
input_chord_create()andinput_combo_create()can now be used on boot- In-built cursor can now read mouse position without mouse bindings being set up
- Use of
mb_nonefor bindings is no longer permitted (but is still valid for use with Input's other mouse-related functions) input_combo_get_phase()now returns the correct value when completing
5.0.3
Change log against v4.2 here.
Documentation here.
+ New logo!!
+ Proper examples
+ Defining default bindings is now way clearer using INPUT_DEFAULT_PROFILES
+ Binding profiles
+ Accessibility features, including momentary toggle behaviour and cooldowns
+ Rebuilt the native cross-platform and device-agnostic cursor (itโs back!)
+ Verb groups
+ Chords and combos
+ Easier hotswapping and multiplayer source assignment via source modes
+ Single player mixed input and multidevice modes
+ Multiplayer gamepad and keyboard sharing supported out of the box using dedicated functions
+ Expanded mouse support, including native mouse capture behaviour
+ Player ghosts for use with replay systems, networking, or AI
+ Stronger HTML5 support
+ Bindings can now be manually generated
+ Configuration macros have been expanded and split up for more customisation and greater legibility
5.0.1 Beta 5
Change log against v4.2 here.
Documentation here.
ย
Changes from Beta 4:
- All functions now have brief summaries in the project in addition to our comprehensive online documentation (thanks @mycelia!)
- Adds verb cooldown accessibility feature
input_gamepad_get_button_label()andinput_gamepad_get_button_color()have been removed. Please useinput_binding_get_icon()insteadvk_clearnow has a name. You made it. Good job, lil' fella- Updated SDL database
INPUT_VERB_GROUPSnow ships empty to make setting up less of a hassleINPUT_GAMEPADno longer gets out of step with changing device counts e.g. on Linux
5.0.1 Beta 4
Change log against v4.2 here.
Documentation here.
ย
Changes from Beta 3:
- Adds platformer, top down shooter, rebinding, and multiplayer examples
- Adds
input_binding_get_icon()to assist with presenting control prompts to the player - Removes UWP support in line with YoYoGames removing support from GameMaker itself
input_clear_momentary()now respect buffer durations in checker functions- Improvements to blocklist to help fix XB1 controller issues over bluetooth
- Fixes in-game view movement triggering a hotswap to mouse input
input_verb_group_active()now has an optionalexclusiveargument- Setting
INPUT_MULTIPLAYER_LEAVE_VERBtoundefinednow prevents players from leaving the game in the JOIN source mode
5.0.1 beta 3
Change log against v4.2 here.
Documentation here.
ย
Changes from Beta 2:
- Fixes some typos in documentation
input_binding_get()can now check the default player (use"default"as the player index)- Fixes mouse wheel down bindings (oops!)
- Adds
input_player_swap() - Fixes
input_binding_is_valid() input_player_get_gamepad()andinput_player_get_gamepad_type()can now take a specific binding in multidevice mode- Fixes a crash in the binding scanner for gamepads
- Fixes mouse buttons not being detected by the binding scanner in keyboard+mouse pairing mode
input_source_using()can now be givenINPUT_GAMEPADdirectly (as an array) to check against the assignment of any gamepad