Useful GML Scripts 3.1.1
Library Changes
-
Multiple keys/buttons can now be bound to a single control
-
Left stick and D-pad are no longer automatically bound to directional controls. They now need to be manually assigned to directional controls
-
CONTROLSenum moved to its own config file -
set_control_maprenamed toset_binding -
get_control_maprenamed toget_bindings -
ControlManagerPlayers can now be bound to different gamepad slots. -
Added additional
vk_*keycodes (as macros) for keys that don't have them already -
Added new function group: System
- Added
get_os_type_string,get_os_version_string,get_os_browser_string - Added
get_steam_deck_info, which detects if the game is running on a Steam Deck and which gamepad slot the controls are mapped to- The Control Manager can call
get_steam_deck_infoand store its results locally
- The Control Manager can call
- Added
Demo Changes
- The current gamepad slot used in the Control Manager demo can now be changed
- If the demo detects that it is running on a Steam Deck, then it will default to the gamepad slot that is mapped to the Deck's controls