Files
g15daemon/debian
Alexander Ponyatykh 7d071c32b7 Reinitialize on any error code, not just a negative one.
Upstream libg15 propagates any error code from libusb to the caller,
and legacy libusb-0.1 uses standard codes from errno.h with minus sign
resulting in negative integers. Previous version of reinit-on-any-error
patch uses this fact and calls re_initLibG15() on any negative return
value of getPressedKeys().

The new libusb-1.0 uses its own error codes, not compatible with the
old ones. While rewriting libg15 to use the new library, I decided
to translate LIBUSB_ERROR_* codes to G15_ERROR_*, which are positive
integers. This change requires us to modify reinit-on-any-error patch
to call re_initLibG15() on any error code, not just a negative one.
2019-11-17 15:24:38 +03:00
..
2019-10-19 21:17:47 +02:00
2019-10-19 21:17:35 +02:00
2009-08-06 08:32:33 +02:00
2019-10-19 21:17:35 +02:00
2008-04-28 08:47:07 +02:00
2019-10-19 21:08:35 +02:00
2008-04-28 08:47:07 +02:00
2019-10-19 21:17:46 +02:00

g15daemon for Debian
--------------------


Debian 'xkeyboard-config' package already have support for g15
keyboards, so you don't need to exec 'xmodmap' as described on
original documentations.  Anyway you should configure your
xorg.conf file, so that xorg will understand the extra keys.

To have the full support of the extra keys, you should edit the
xorg configuration file /etc/X11/xorg.conf .  The 'XkbModel' should
be "logitech_g15".

I.e. on my machine:

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "logitech_g15"
        Option          "XkbLayout"     "us"
EndSection


Also in KDE and gnome you should set the g15daemon keyboard.
In KDE you find the configuration in:
  Control Center
    Regional & Accessibility
      Keyboard Layout
        On the right at the top "Keyboard model" select:
        "Logitech G15 extra keys via G15daemon"


 -- Giacomo Catenazzi <cate@debian.org>  Mon, 30 Aug 2007 08:04:22 +0200