| 1 | 
                    
                        
            [quote]
                     | 
                    1 | 
                    
                        
            [quote]
                     | 
                
                
                    | 2 | 
                    
                        
            I was under the impression this couldn't be overidden in X so how does the game do it? Bypass X completely and access the HID devices in /dev directly?
                     | 
                    2 | 
                    
                        
            I was under the impression this couldn't be overidden in X so how does the game do it? Bypass X completely and access the HID devices in /dev directly?
                     | 
                
                
                    | 3 | 
                    
                        
            [/quote]
                     | 
                    3 | 
                    
                        
            [/quote]
                     | 
                
                
                    | 4 | 
                    
                        
            \n
                     | 
                    4 | 
                    
                        
            \n
                     | 
                
                
                    | 5 | 
                    
                        
            [url=https://github.com/spring/spring/blob/master/rts/Game/UnsyncedGameCommands.cpp#L1886]engine[/url]
                     | 
                    5 | 
                    
                        
            [url=https://github.com/spring/spring/blob/master/rts/Game/UnsyncedGameCommands.cpp#L1886]engine[/url]
                     | 
                
                
                    | 6 | 
                    
                        
            \n
                     | 
                    6 | 
                    
                        
            \n
                     | 
                
                
                    | 7 | 
                    
                        
            [url=
                     | 
                    7 | 
                    
                        
            [url=https://github.
            com/spurious/SDL-mirror/blob/6ad456bcd31e2b13d8ed71ad7c8fe9677d9c6ef8/src/video/x11/SDL_x11window.
            c#L1320]SDL[/url]
                     | 
                
                
                    | 8 | 
                    
                        
            https://github.com/spurious/SDL-mirror/blob/6ad456bcd31e2b13d8ed71ad7c8fe9677d9c6ef8/src/video/x11/SDL_x11window.c#L1320]SDL[/url]
                     | 
                     | 
                    
                        
                     | 
                
                
                    | 9 | 
                    
                        
            \n
                     | 
                    8 | 
                    
                        
            \n
                     | 
                
                
                    | 10 | 
                    
                        
            [url=
                     | 
                    9 | 
                    
                        
            [url=https://tronche.
            com/gui/x/xlib/input/XGrabKeyboard.
            html]X11 
            Docs[/url]
                     | 
                
                
                    | 11 | 
                    
                        
            https://tronche.com/gui/x/xlib/input/XGrabKeyboard.html]X11 Docs[/url]
                     | 
                     | 
                    
                        
                     | 
                
                
                    | 12 | 
                    
                        
            \n
                     | 
                    10 | 
                    
                        
            \n
                     | 
                
                
                    | 13 | 
                    
                        
            Just a plain ol' X call. Generally "nice" programs don't grab by default because it can break alt+tab or other WM combos (or, conversely, prevent them from clobbering ZK's own keybinds).
                     | 
                    11 | 
                    
                        
            Just a plain ol' X call. Generally "nice" programs don't grab by default because it can break alt+tab or other WM combos (or, conversely, prevent them from clobbering ZK's own keybinds).
                     |