diff options
author | Thorvald Natvig <slicer@users.sourceforge.net> | 2007-07-05 20:26:06 +0400 |
---|---|---|
committer | Thorvald Natvig <slicer@users.sourceforge.net> | 2007-07-05 20:26:06 +0400 |
commit | 12fe384d406c97c9c79178581dfff75dd4e929ba (patch) | |
tree | 01f6548a4b7459d9f66784584b901355c53567d2 /README.Linux | |
parent | bfe22705cc52867ec009abb52c6ce80485c5e4da (diff) |
Working Linux OpenGL overlay
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@540 05730e5d-ab1b-0410-a4ac-84af385074fa
Diffstat (limited to 'README.Linux')
-rw-r--r-- | README.Linux | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/README.Linux b/README.Linux new file mode 100644 index 000000000..8af94e42f --- /dev/null +++ b/README.Linux @@ -0,0 +1,30 @@ + +OpenGL Overlay +============== + +The OpenGL overlay works by intercepting the call to switch buffers, and just +before the buffer switch we draw our nice GUI. + +To load a game with the overlay enabled, start the game as this: +LD_PRELOAD=/path/to/mumble/libmumble_ol.so.1.0.0 gamename + +For example, to start Enemy Territory using the default Ubuntu packages: +LD_PRELOAD=/usr/lib/libmumble_ol.so.1.0.0 et + +Global Keyboard Events +====================== + +Unlike Windows, there is no easy way to monitor all key and mouse events +under X11. At the moment, Mumble uses the Xevie extension to accomplish +this, but unfortunately that extension is disabled by default. To enable it +(and push-to-talk), add the following to your xorg.conf: + +Section "Extensions" + Option "XEVIE" "Enable" +EndSection + +Without Xevie, we would have to either: + a) [Normal events] Accept shortcuts only when Mumble was the active + application, making it useless for gaming. + b) [XGrabKey] Accept only key-down of specific combinations, so that you + could bind Ctrl-S to "toggle send speech". No binding of keyup in normal X11. |