diff --git a/eid_config.lua b/eid_config.lua index 893b62c6..95968f69 100644 --- a/eid_config.lua +++ b/eid_config.lua @@ -51,6 +51,7 @@ EID.UserConfig = { ["Indicator"] = "none", -- Set the keybinding to toggle the descriptions -- look into the AB+ or Repentance documentation for the key names here: https://wofsauge.github.io/IsaacDocs/rep/enums/Keyboard.html + -- if you want to map it onto a controller button, you need to use the "ButtonAction" enum instead of the Keyboard enum https://wofsauge.github.io/IsaacDocs/rep/enums/ButtonAction.html -- Default = Keyboard.KEY_F2 ["HideKey"] = Keyboard.KEY_F2, -- Initial displaystate. Can be used to change the toggle behavior of the "Hide Key" event diff --git a/main.lua b/main.lua index 1be8617a..86cba044 100644 --- a/main.lua +++ b/main.lua @@ -591,7 +591,7 @@ local searchPartitions = EntityPartition.FAMILIAR + EntityPartition.ENEMY + Enti local function onRender(t) EID.isDisplaying = false - if Input.IsButtonTriggered(EID.Config["HideKey"], 0) then + if Input.IsButtonTriggered(EID.Config["HideKey"], EID.player.ControllerIndex or 0) then EID.isHidden = not EID.isHidden end if ModConfigMenu and ModConfigMenu.IsVisible and ModConfigMenu.Config["Mod Config Menu"].HideHudInMenu and EID.MCMCompat_isDisplayingEIDTab ~= "Visuals" then --if if the mod config menu exists, is opened and Hide Hud is enabled, and ModConfigMenu is currently in the "Visuals" tab of EID diff --git a/metadata.xml b/metadata.xml index f1f2101d..54714b1f 100644 --- a/metadata.xml +++ b/metadata.xml @@ -90,7 +90,7 @@ https://moddingofisaac.com/mod/1079/external-item-descriptions - Jake for the sweet [b]German[/b] language pack - [url=https://steamcommunity.com/id/whytefang/]adc[/url] for creating an awesome new Languagepack and providing ideas for new functionalities - 3.88 + 3.89 Public