From 02a313692d800f91660756e60fed6bc23555b1e5 Mon Sep 17 00:00:00 2001 From: Buurazu Date: Fri, 19 Nov 2021 02:08:25 -0500 Subject: [PATCH] new hotkeys --- eid_config.lua | 47 ++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 46 insertions(+), 1 deletion(-) diff --git a/eid_config.lua b/eid_config.lua index c1134a97..79fadbab 100644 --- a/eid_config.lua +++ b/eid_config.lua @@ -1,3 +1,21 @@ +local Controller = Controller or {} +Controller.DPAD_LEFT = 0 +Controller.DPAD_RIGHT = 1 +Controller.DPAD_UP = 2 +Controller.DPAD_DOWN = 3 +Controller.BUTTON_A = 4 +Controller.BUTTON_B = 5 +Controller.BUTTON_X = 6 +Controller.BUTTON_Y = 7 +Controller.BUMPER_LEFT = 8 +Controller.TRIGGER_LEFT = 9 +Controller.STICK_LEFT = 10 +Controller.BUMPER_RIGHT = 11 +Controller.TRIGGER_RIGHT = 12 +Controller.STICK_RIGHT = 13 +Controller.BUTTON_BACK = 14 +Controller.BUTTON_START = 15 + EID.UserConfig = { -------GENERAL--------- -- Change language of the mod. @@ -51,9 +69,13 @@ 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, + -- Set the controller binding to toggle the descriptions + -- Use the Controller enum at the top of this file, or a number + -- Of note are Controller.STICK_LEFT and Controller.STICK_RIGHT, which aren't used in-game with default controls + -- Default = none (-1) + ["HideButton"] = -1, -- Initial displaystate. Can be used to change the toggle behavior of the "Hide Key" event -- Default = false ["InitiallyHidden"] = false, @@ -192,6 +214,24 @@ EID.UserConfig = { -- Hide the recipe list when in battle -- Default = true ["BagOfCraftingHideInBattle"] = true, + -- Set the keybinding to toggle the crafting display, so you can see descriptions of items/pickups on the floor + -- look into the AB+ or Repentance documentation for the key names here: https://wofsauge.github.io/IsaacDocs/rep/enums/Keyboard.html + -- Default = Keyboard.KEY_F3 + ["CraftingHideKey"] = Keyboard.KEY_F3, + -- Set the controller binding to toggle the crafting display, so you can see descriptions of items/pickups on the floor + -- Use the Controller enum at the top of this file, or a number + -- Of note are Controller.STICK_LEFT and Controller.STICK_RIGHT, which aren't used in-game with default controls + -- Default = none (-1) + ["CraftingHideButton"] = -1, + -- Set the keybinding to toggle viewing the description of the item ready to be crafted in the bag + -- look into the AB+ or Repentance documentation for the key names here: https://wofsauge.github.io/IsaacDocs/rep/enums/Keyboard.html + -- Default = Keyboard.KEY_F3 + ["CraftingResultKey"] = Keyboard.KEY_F4, + -- Set the controller binding to toggle viewing the description of the item ready to be crafted in the bag + -- Use the Controller enum at the top of this file, or a number + -- Of note are Controller.STICK_LEFT and Controller.STICK_RIGHT, which aren't used in-game with default controls + -- Default = none (-1) + ["CraftingResultButton"] = -1, ---------Mouse Controls----------- @@ -262,6 +302,7 @@ EID.DefaultConfig = { ["MaxDistance"] = 5, ["Indicator"] = "none", ["HideKey"] = Keyboard.KEY_F2, + ["HideButton"] = -1, ["InitiallyHidden"] = false, ["HideInBattle"] = false, ["DisableObstructionOnFlight"] = true, @@ -298,6 +339,10 @@ EID.DefaultConfig = { ["BagOfCraftingToggleKey"] = ButtonAction.ACTION_MAP, ["BagOfCraftingDisplayNames"] = false, ["BagOfCraftingHideInBattle"] = true, + ["CraftingHideKey"] = Keyboard.KEY_F3, + ["CraftingHideButton"] = -1, + ["CraftingResultKey"] = Keyboard.KEY_F4, + ["CraftingResultButton"] = -1, ["SpindownDiceResults"] = 3, ["SpindownDiceSkipLocked"] = false, ["EnableMouseControls"] = false,