svgalib
leŭksman
Warning: Most of this document was written around 1998 and may no longer be accurate as of 2005. I'm not aware of the current state of svgalib development and cannot answer questions about it.
Svgalib is a graphics library used by many non-X utilities and games, including Doom, Quake, and Quake II, on Linux/x86.
I am frequently asked about the development versions of svgalib... If you're thinking of asking such a question, take a look at my svgalib-dev-faq.html Svgalib Development FAQ and see if that answers it.
Contents |
The Wheel Mouse And Keyboard Patch 0.3
I have added support for the Microsoft IntelliMouse and Logitech MouseMan+ (the ones with the wheels). Clicking the wheel produces a middle-button click, and turning it turns the mouse along the rx axis or optionally produces simulated keypresses. Read README.wheel in the archive or here for more detail.
I also threw in limited keyboard remapping; this can for instance let you use a Dvorak keyboard layout within Quake, which interprets the keyboard as QWERTY regardless of what you really use. Read README.keymap in the archive or here for more info on this.
Also here is a copy of my announcement of this latest patch on the linux-svga mailing list.
People with wheel mice may also want to check out the Colas Nahaboo X mouse wheel scroll page which is an excellent reference for using these creatures in X, and upgrade to gpm 1.14.
Download
The archive contains both patches, but make sure you have the right other stuff and please read the README before patching; in order to patch the man pages you need to decompress the old ones first.
- Svgalib developers - here is my patch against the 12 June code snapshot of svgalib 1.3.0.
- Everybody else - download the current stable svgalib source (version 1.2.13) from sunsite here and my patch here.
Changes
v0.3: changes Since 0.2
- Function for apps to discover the mouse's capabilities
- RX axis support for wheel
- Fake keyboard events now configurable in the 1.2.13 patch
- Updated mousetest demo to use middle button and wheel
- Keyboard remapping
- svgakeymap utility (for keymaps)
- Some documentation updates - README.wheel, README.keymap, man pages for libvga.config, mousetest, svgakeymap.
v0.2: Changes Since 0.1
- Fake keyboard events for the wheel

