5.5.0
This release requires GameMaker 2022 LTS or later. If you're looking for a version of Input that works on older versions, please use version 5.2.1. Please note that we will not be supporting 5.2.1 long-term and you should update your version of GameMaker to 2022 LTS as soon as possible to keep up with new versions of Input.
New Features
- Adds virtual buttons to allow emulation of gamepad controls on touchscreen devices (primarily mobile phones)
- Adds
INPUT_TOUCH
source type.INPUT_TOUCH
will be used in place of theINPUT_MOUSE
source on Android, iOS, tvOS, Switch, and when running Windows on Steam Deck. You can force legacy behaviour (where touch input isINPUT_MOUSE
) by settingINPUT_TOUCH_IS_MOUSE
totrue
- Adds
INPUT_MOUSE_ALLOW_VIRTUAL_BUTTONS
to control whether PC mouse input can be used for virtual buttons - Adds
input_radial_sector()
to check for radial input, primarily from thumbsticks (thanks @offalynne!) - Adds
INPUT_FLEXIBLE_ALTERNATE_BINDING_IMPORT
to allow for less strict profile import. This is useful to adapt to situations where the number of alternate bindings has changed in production and you need to smoothly convert saved bindings input_check()
input_check_pressed()
input_check_released()
now support the keywordall
to check for input across all basic verbsinput_source_detect_input()
now supports arrays of sources and the keywordall
Bug Fixes
- Fixes compatibility with 2023.1 and later
- Fixes YYC compile errors
- Fixes crash where Steam returns invalid data when offline
Other Changes
- Added a new example for drop-in/drop-out multiplayer to the repo project. Please see
rm_example_drop_in_gameplay
- Deprecated functions from v4 have been removed
- Updates config macro validator. You may encounter some errors when updating as a result where previously permitted macro values are now reported (correctly) as unsupported
- Moved some of the less used macros to an internal script file to avoid cluttering config scripts
INPUT_FALLBACK_PROFILE_BEHAVIOUR
has been renamed toINPUT_FALLBACK_PROFILE_BEHAVIOR