3.1.1pre000
Pre-release
Pre-release
JujuAdams
released this
17 Jan 10:57
·
2436 commits
to master
since this release
This is a pre-release version of the library. You may encounter bugs and crashes and other stability issues. If you run into any undesirable behaviour please create a new issue with as much detail as possible.
- Adds input history recording per player.
INPUT_HISTORY_LENGTH
controls how many events to store at any one time andinput_history_*()
controls how/when input events are recorded - Replaces internal implementation of mouse getter functions with GM's native
device_*
variants - Adds macro (
INPUT_MOUSE_MODE
) to control what coordinate space to return mouse position in - Added three new cursor getters:
input_cursor_prev_x()
input_cursor_prev_y()
input_cursor_moved()
- Implements a work-around for GMS2.3.1 having a bug in
json_parse()
that was causing crashes when importing bindings viainput_bindings_read()
- Fixes
SDL_GAMECONTROLLERCONFIG
expecting a file location. Added some error handling for failure to parse external SDL2 strings. External SDL2 string loading is toggled byINPUT_SDL2_ALLOW_EXTERNAL
- Negative gamepad indices will now "fall through" getter functions and return
0.0
orfalse
as appropriate - Added
input_default_gamepad_swap_ab()
to help with Switch/PS4 porting. This function is not intended to be used during gameplay and should only be used on boot; please use the rebinding system to modify controls during gameplay INPUT_SDL2_GP_SELECT_NAME
has been removed. Instead, SDL2'sguide
andmisc1
bindings are now available for use via thegp_guide
andgp_misc1
constants. These will default to being inaccessible for consistency for GameMaker's native behaviour. See__input_config()
for more information