This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* gcc -Wall -O3 -o XWinRelay XWinRelay.c -lX11 -lXi */ | |
| /* Program to relay root key events to another window */ | |
| /* Programmed by Merlyn (Drforbin) Cousins */ | |
| /* One suggested use is programs using Wine which */ | |
| /* need keyboard input when Wine is not focused */ | |
| /* This program uses XInput2 Extension for access to */ | |
| /* Root Events. */ | |
| #include <stdio.h> | |
| #include <stdlib.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/local/bin/python | |
| import socket | |
| import select | |
| import time | |
| import sys | |
| import getopt | |
| # Changing the buffer_size and delay, you can improve the speed and bandwidth. | |
| # But when buffer get to high or delay go too down, you can broke things |