Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: on-the-fly Toggleable / switchable shaders #32

Open
clort81 opened this issue Jan 26, 2020 · 2 comments
Open

Feature Request: on-the-fly Toggleable / switchable shaders #32

clort81 opened this issue Jan 26, 2020 · 2 comments

Comments

@clort81
Copy link

clort81 commented Jan 26, 2020

I have written a shader to swap out some hated colors on a game, but it breaks some menus.

It would be very nice if the shader could be toggled, or even better if one of several shaders could be selected with a bound hotkey during runtime.

Anyone want to take a shot at this?

@duganchen
Copy link
Owner

Which key would you suggest as the hotkey?

@clort81
Copy link
Author

clort81 commented Jan 27, 2020

Looking at https://www.dosbox.com/wiki/Special_Keys
And the keymapper (Ctrl-F1) I imagine one of two possibilities.

Ctrl-Alt-[0-9] to select between shader presets 0-9 specified in dosbox.conf

Multiple-shader switching could also be done with an enabling keycombo - e.g. Ctrl-Alt-0 or Alt-F11, then dosbox would capture next number key 0-9 pressed to select the shader corresponding to that number.

This would avoid binding many keycombinations and creating possible interference with Windows or DOS programs.

Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants