First post, by emendelson
emendelson
Offline
Rank
Oldbie
A few years ago I posted a minor patch that adds a message to the titlebar when the mouse is captured:
INPUT - Add "Ctrl-F10 releases mouse" to titlebar (SDL1)
This displays the standard mouse-capture keystroke (Ctrl-F10). But I would prefer to display whatever key is actually assigned to "Cap Mouse" in the mapper. Is there a way to detect the current setting for a function like "Cap Mouse" and convert it into a string like "Ctrl-F10"? In other words, if the current keystroke for "Cap Mouse" is Ctrl-Alt-F2, is there a way to display "Ctrl-Alt-F2" in the string in the titlebar?
Thanks for any help with this.