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

Media keys cause random unwanted actions #70

Open
Zabeus opened this issue Oct 17, 2017 · 3 comments
Open

Media keys cause random unwanted actions #70

Zabeus opened this issue Oct 17, 2017 · 3 comments
Assignees
Labels

Comments

@Zabeus
Copy link
Contributor

Zabeus commented Oct 17, 2017

The media keys on my laptop, volume +/-, mute, play-next, play-prev, etc cause various actions in game like "cast spell", or "get object". It looks like these are being converted to usable key presses. This is very inconvenient when I try to change sound volume.

@Zabeus Zabeus added the bug label Oct 17, 2017
@Zabeus Zabeus added this to the Upcoming version milestone Oct 17, 2017
@Zabeus Zabeus self-assigned this Oct 17, 2017
@Zabeus
Copy link
Contributor Author

Zabeus commented Oct 17, 2017

The "Mute" key is literally being converted to SDLK_d. It should be SDLK_AUDIOMUTE.
https://wiki.libsdl.org/SDL_Keycode

@Zabeus
Copy link
Contributor Author

Zabeus commented Oct 19, 2017

May need to ask about this at https://discourse.libsdl.org.

@DominusExult
Copy link
Member

SDL has a test program in a "test" subfolder of its source that will print out your keypresses.

And is your problem with SDL 1.2x or SDL2? SDL2 2.0.6 was "just" released the other day, btw.

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

No branches or pull requests

2 participants