ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   AddOn Search/Requests (https://www.esoui.com/forums/forumdisplay.php?f=165)
-   -   On-screen Esc button (https://www.esoui.com/forums/showthread.php?t=10504)

TagCdog 04/02/23 04:01 PM

On-screen Esc button
 
Hi All,

I hope this request is as simple as I think it would be.

Sometimes I play ESO via my iPad using Steam Link or Moonlight. Moonlight works better, but doesn't have a on-screen Esc key. The iPad's magic keyboard does not have an Esc key and CMD+. does not work.

Is there an addon out there that puts an Esc key button on the screen? Maybe also enables /esc?

It seems like you cannot change or map alternate buttons for the Esc key.

Thanks!

Baertram 04/03/23 02:43 AM

Cannot create you such addon atm but you can try to add a slash command /esc.

The keybind should call SCENE_MANAGER:OnToggleGameMenuBinding(), or the function by ZOs is: ZO_SceneManager_ToggleGameMenuBinding()
This is the keybind that ZOs defined as not rebindable:
Code:

<Action name="TOGGLE_SYSTEM" rebindable="false" allowOnInputModeChange="true">
                <Down>ZO_SceneManager_ToggleGameMenuBinding()</Down>
            </Action>

Not sure if we could overwrite this, but I doubt it.



Try to add this to any addon you got, at the EVENT_PLAYER_ADD_ON_LOADED callback function:

Lua Code:
  1. SLASH_COMMANDS["/esc"] = function() ZO_SceneManager_ToggleGameMenuBinding() end

Not sure if this works as ESC in all circumstances, like at an interaction -> ESC -> Close interaction, but it should


Edit:
I've tested to add a new keybind for that and it works.
I'll add that to FCOChangeStuff

Edit2:
Both added

TagCdog 04/03/23 12:47 PM

I just installed FCOChangeStuff and /esc works!

You are the best Baertram!

Baertram 04/03/23 01:50 PM

You are welcome, the keybind does work too (hopefully)? ;)


All times are GMT -6. The time now is 03:23 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI