We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 50

Summary: use ctrl-alt-fn for VT flipping in fbcon?
Product: SDL Reporter: Ryan C. Gordon <icculus>
Component: videoAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: bartoldeman
Version: HG 1.2   
Hardware: x86   
OS: Linux   

Description Ryan C. Gordon 2006-01-19 04:08:06 UTC
Originally mentioned in Bug #37 ...

"Using ctrl-alt-fn for flipping instead of alt-fn may help a few games that actually use that key combination. Would such a patch be accepted, or should something like that be configurable (environment variable?)"

--ryan.
Comment 1 bartoldeman 2006-01-19 07:13:34 UTC
The convention in Linux is that alt-fn switches consoles in normal text mode programs (but SVGALIB programs also do this); the exceptions are X and DOSEMU (in raw keyboard mode), who use ctrl-alt-fn.

Perhaps the best approach is to use alt-fn by default but use ctrl-alt-fn if the keyboard is grabbed (SDL_GRAB_ON). Or maybe this works the other way around because of the SDL_GRAB_FULLSCREEN dynamics. I'll code up a patch when I have time.
Comment 2 Ryan C. Gordon 2006-01-27 11:23:16 UTC
Setting Sam as "QA Contact" on all bugs (even resolved ones) so he'll definitely be in the loop to any further discussion here about SDL.

--ryan.

Comment 3 Sam Lantinga 2006-03-22 01:44:28 UTC
I've changed CVS code to use Ctrl-Alt-FN to switch vt's