There are several feature requests to add a hotkey for some action/setting: #659, #1390, #1496, may be others. I created this ticket to get the full list of necessary hotkeys.
IMO, hotkeys were an absolute pain in Glide64 because people kept accidentally pressing them. it would be ideal for them to be disabled by default.
Sure, hot keys should be customizable. Enable, disable, set key etc.
I agree. I would like to help with a UI.
Thanks in advance :)
I'm waiting for suggestions, which hotkeys can be useful.
Personally I'd like hotkeys for the three OSD displays.
I think a hotkey to disable/enable custom textures would also help a lot. I spend a lot of time comparing my new textures to the originals for accuracy and as far as I'm aware going in and out of the menu is the only way to switch them on and off.
Sorry to bump this issue, but now that most features are already implemented, this one should be in a good position to be worked on =)
There is a Russian saying "обещанного три года ждут". It can be translated as
"He who expects from a promise a lot must wait for three years or maybe not".
Three years passed since I opened this task and finally I started to work on it.
Current results are in "hotkeys" branch: https://github.com/gonetz/GLideN64/tree/hotkeys
Details:
Feedback is welcome.


Test builds, all but WTL:
https://drive.google.com/file/d/1IDONpg0JSn40a1S2maYaat2Qt5LbE_yd/view?usp=sharing
Thanks Jj0YzL5nvJ for the build script!
@oddMLan Is it possible to support hotkeys in WTL version of GUI?
@oddMLan Is it possible to support hotkeys in WTL version of GUI?
Sure, I'll look into it later tonight.
EDIT: Woah, change is pretty big. I willl need more time to work out how it works and to re-implement the equivalent functions to wtl where required. Need to read on the QtKeyEvent class. I know it's possible since the Project64 Input plugin uses WTL and reads keypresses to set the controller bindings. Also I'm a bit busy with school and work.
@gonetz wow, finally. I've been waiting for this for so long xD
I've downloaded and tested the build and it's working fine here (Qt Project64). When toggling vsync, the shaders are recompiled, is that right?
When toggling vsync, the shaders are recompiled, is that right?
I'm not sure how to toggle vsync on the fly with mupen64plus. I can use wglSwapIntervalEXT with zilmar-spec, but I don't know how to tell mupen64plus to change vsync for the current graphics context. So, I re-create the context with vsync on/off. If shader storage is off, shaders will be recompiled.
Shader storage is turned on here.

Shader storage is turned on here.
How did you notice that shaders files are recompiled on vsync toggle? I see only message "Loading combiner shaders". GLideN64.xxxxxxxx.OpenGL.shaders file updated only if some new shader was compiled between the moments when vsync was toggled.
@oddMLan I not only added a new hotkeys controls but also removed the old ones for textures dump and reload.
That broke compilation of GLideNUI-WTL. I fixed it and uploaded the new version of hotkeys branch.
Could you estimate how long it will take to implement hotkeys in GLideNUI-WTL?
If it needs more than two weeks I will merge that branch to master as it is now. Hotkeys is not a so vital feature.
@gonetz sorry, it was a mistake on my end, ignore the report.
@oddMLan I not only added a new hotkeys controls but also removed the old ones for textures dump and reload.
That broke compilation of GLideNUI-WTL. I fixed it and uploaded the new version of hotkeys branch.
Could you estimate how long it will take to implement hotkeys in GLideNUI-WTL?
If it needs more than two weeks I will merge that branch to master as it is now. Hotkeys is not a so vital feature.
I don't think it'll take longer than a couple days to implement it, but I'll be busy this week with school, so I'll give it shot during the weekend.
I'll give it shot during the weekend.
Ok, thanks.
it was a mistake on my end, ignore the report.
ok
@gonetz Sorry, I won't be able to do the WTL code by this week, end of semester is putting a lot of pressure on me :(. I think it's best you merge the code as-is to master and I'll prepare the code for WTL when I have more time.
thank you so much
I think it's best you merge the code as-is to master and I'll prepare the code for WTL when I have more time.
Done.
thank you so much
:)