mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@561 05730e5d-ab1b-0410-a4ac-84af385074fa
32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
|
|
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_LIBRARY_PATH=/path/to/overlay_gl/ gamename
|
|
|
|
If you have Mumble installed through the binary packages, this can be done by
|
|
simply typing:
|
|
mumble-overlay gamename
|
|
|
|
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.
|