Skip to content

Commit 2c617b3

Browse files
committed
Merge branch 'dev_4.2_LTS'
2 parents 6c70c4e + 1c3c88d commit 2c617b3

File tree

6 files changed

+10
-8
lines changed

6 files changed

+10
-8
lines changed

options/windows/options_windows.yy

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/__input_class_player/__input_class_player.gml

+4-3
Original file line numberDiff line numberDiff line change
@@ -115,12 +115,13 @@ function __input_class_player() constructor
115115
repeat(array_length(_verb_names))
116116
{
117117
var _verb_name = _verb_names[_v];
118+
var _verb = verbs[$ _verb_name];
118119

119-
if ((force_value != undefined) && (force_analogue != undefined))
120+
if ((_verb.force_value != undefined) && (_verb.force_analogue != undefined))
120121
{
121122
//We've had our value set this frame via input_verb_set()
122123

123-
with(verbs[$ _verb_name])
124+
with(_verb)
124125
{
125126
value = force_value;
126127
raw = force_value;
@@ -254,7 +255,7 @@ function __input_class_player() constructor
254255
++_a;
255256
}
256257

257-
with(verbs[$ _verb_name])
258+
with(_verb)
258259
{
259260
value = _value;
260261
raw = _raw;

scripts/__input_class_verb/__input_class_verb.gml

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ function __input_class_verb() constructor
1616
min_threshold = undefined;
1717
max_threshold = undefined;
1818
force_value = undefined;
19+
force_analogue = undefined;
1920

2021
previous_held = false;
2122
press = false;

scripts/__input_initialize/__input_initialize.gml

+1-1
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ function __input_initialize()
479479
if (_steam_switch) array_push(_ignore_list, "switch");
480480
if (_steam_ps) array_push(_ignore_list, "ps4", "ps5");
481481
if (_steam_xbox) array_push(_ignore_list, "xbox 360", "xbox one");
482-
if (_steam_generic) array_push(_ignore_list, "snes", "saturn", "n64", "gamecube", "psx", "xbox" "switch joycon left", "switch joycon right", "unknown");
482+
if (_steam_generic) array_push(_ignore_list, "snes", "saturn", "n64", "gamecube", "psx", "xbox", "switch joycon left", "switch joycon right", "unknown");
483483

484484
var _i = 0;
485485
repeat(array_length(_ignore_list))

scripts/__input_system/__input_system.gml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#macro __INPUT_VERSION "4.2.0"
2-
#macro __INPUT_DATE "2022-04-22"
1+
#macro __INPUT_VERSION "4.2.0.2"
2+
#macro __INPUT_DATE "2022-05-22"
33
#macro __INPUT_DEBUG false
44

55

scripts/input_tick/input_tick.gml

+1-1
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ function input_tick()
411411
}
412412

413413
var _g = 0;
414-
repeat(INPUT_MAX_PLAYERS)
414+
repeat(gamepad_get_device_count())
415415
{
416416
var _old_status = _status_array[_g];
417417

0 commit comments

Comments
 (0)