xf86-input-joystick: Changes to 'master'

Sascha Hlusiak saschahlusiak at kemper.freedesktop.org
Sat Aug 11 15:04:54 PDT 2007


 man/.gitignore     |    2 
 man/joystick.man   |   35 +-
 src/bsd_jstk.c     |  370 ++++++++++++++----------------
 src/jstk.c         |  639 +++++++++++++++++++++++++----------------------------
 src/jstk.h         |   38 +--
 src/jstk_axis.c    |  530 ++++++++++++++++++++++++-------------------
 src/jstk_axis.h    |    1 
 src/jstk_options.c |  334 ++++++++++++++-------------
 src/jstk_options.h |    6 
 src/linux_jstk.c   |  176 +++++++-------
 10 files changed, 1094 insertions(+), 1037 deletions(-)

New commits:
commit ca6968c1800ed30aec78b1e474c2b0ede77cd301
Author: Sascha Hlusiak <saschahlusiak at arcor.de>
Date:   Sun Aug 12 00:04:35 2007 +0200

    Explained new key generation features for axes in man page.
    
    Explained the behaviour of accelerated vs relative axes that are mapped to keys. Added example to man page.

commit e24622b48e4304a7b8f9de5bdec0e0633821fa7b
Author: Sascha Hlusiak <saschahlusiak at arcor.de>
Date:   Sat Aug 11 23:27:57 2007 +0200

    Key autorepeat added for axes with mode=relative
    
    If axis is set to relative and keylow and keyhigh are assigned, autorepeat for these keys is emulated with a speed relative to the
    value of the axis (keydown and keyup are generated frequently). A factor for this autorepeat speed can be assigned by
    "axis=<factor>key".
    If mode is "accelerated", the axis behaves like a button: only one keydown and one keyup, X does autorepeat for the key.

commit 38297b06226f115ca4a25557bcb7f8c936424abc
Author: Sascha Hlusiak <saschahlusiak at arcor.de>
Date:   Sat Aug 11 22:32:54 2007 +0200

    Fixed button mapping to an axis needing amplify value.
    
    Button mapping without amplify value like "axis=x" used uninitialized value for amplify,
    making an amplify value mandatory. With no amplify value, 1.0 is assumed.

commit dd396931b76c682f03323566f28b248afb1cb79d
Author: Sascha Hlusiak <saschahlusiak at arcor.de>
Date:   Sat Aug 11 22:22:49 2007 +0200

    Move subpixel movement from global to per axis/button.
    
    Instead of using one global subpixel variable for all axes and buttons, the axis/button
    struct for each axis/button holds it's own subpixel variable. This is neccessary to
    implement mapping of relative axes to keys, which needs to save own "subpixel" values.

commit b685505f1411ffa5f326aa3ba9e5cd5e172e5c5e
Author: Sascha Hlusiak <saschahlusiak at arcor.de>
Date:   Sat Aug 11 20:47:13 2007 +0200

    Reformatted whole source to 4-space-indents
    
    Large parts of the code were written with 2-space-indents only.
    Upgraded to 4-space indents to improve readability. Sorry for touching almost
    every line. :-S



More information about the xorg-commit mailing list