mirror of
				https://github.com/libsdl-org/SDL.git
				synced 2025-10-26 12:27:44 +00:00 
			
		
		
		
	Added KMOD_SCROLL to track the scroll lock state
Fixes https://github.com/libsdl-org/SDL/issues/4566
This commit is contained in:
		@@ -86,6 +86,8 @@ print_modifiers(char **text, size_t *maxlen)
 | 
			
		||||
        print_string(text, maxlen, " CAPS");
 | 
			
		||||
    if (mod & KMOD_MODE)
 | 
			
		||||
        print_string(text, maxlen, " MODE");
 | 
			
		||||
    if (mod & KMOD_SCROLL)
 | 
			
		||||
        print_string(text, maxlen, " SCROLL");
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static void
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user