Skip to content

Commit

Permalink
Update __input_gamepad_set_type.gml
Browse files Browse the repository at this point in the history
  • Loading branch information
offalynne committed Jan 16, 2025
1 parent d3b254a commit 8159e21
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ function __input_gamepad_set_type()
if (__input_string_contains(__description, "JJ", "NeoGeo G1 Pro") && INPUT_ON_PC)
{
if (!__INPUT_SILENT) __input_trace("Overriding controller ", __index ," type to NeoGeo Mini");
__description = "SNK NEOGEO Arcade Stick Pro";
__description = "SNK NEOGEO Arcade Stick Pro";
__raw_type = "CommunityNeoGeoMini";
__guessed_type = false;
}
Expand Down
7 changes: 7 additions & 0 deletions scripts/input_any_pressed/input_any_pressed.gml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,12 @@

function input_any_pressed()
{
__INPUT_GLOBAL_STATIC_LOCAL //Set static _global

if (_global.__cleared)
{
return false;
}

return input_source_detect_input(all, false);
}

0 comments on commit 8159e21

Please sign in to comment.