summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-04-14Fail configure on xorg-server >= 1.6.99xf86-input-joystick-1.4.1xf86-input-joystick-1.4Sascha Hlusiak1-1/+1
The 1.4 branch is broken on xorg-server >= 1.6.99. Use master instead.
2009-04-14Bump 1.4.1Sascha Hlusiak1-1/+1
2009-03-19Fix compiler warning about stray INT8-CARD8 conversionSascha Hlusiak1-1/+1
2009-03-19Merge branch 'pwm'Sascha Hlusiak8-25/+188
2009-03-19Missing initialization of button amplifySascha Hlusiak1-0/+1
Always initialize button[]->amplify with 1.0
2009-03-19Merge branch 'master' of sascha:develop/xorg/xf86-input-joystickSascha Hlusiak2-8/+60
2009-03-18Mention PWM mode in man pageSascha Hlusiak1-1/+5
2009-03-18Fix build on FreeBSD with USB2Sascha Hlusiak2-0/+4
Including dev/usb/usb_ioctl.h fixes missing declaration of USB_GET_REPORT_ID on FreeBSD-Current.
2009-03-01Comment float properties in joystick-properties.hSascha Hlusiak1-2/+2
Signed-off-by: Sascha Hlusiak <saschahlusiak@arcor.de>
2009-03-01Support for float propertiesSascha Hlusiak1-6/+58
Signed-off-by: Sascha Hlusiak <saschahlusiak@arcor.de>
2009-02-19Add PWM key generation when axis in accelerated modeSascha Hlusiak4-13/+183
When axis is in accelerated mode and keyhigh/keylow is set, the deflection of the axis will be linked to the _percent of time_ the key will be down. Full deflection will set the key permanently down (old behaviour). 50% deflection will result in the key being 50ms down and 50ms up. 75% deflection will result in the key being 150ms down and 50ms up. etc. Minimum interval is 50ms, maximum is 600ms.
2009-02-19Don't set axis.oldvalue in backendSascha Hlusiak3-11/+0
The value needs to be set where it's needed, like in timers.
2009-02-17Fix for sparse warning of uninitialized variableSascha Hlusiak1-2/+4
If axis is inside deadzone, 0.0 should be assumed.
2009-02-17Janitor: gcc 4.5 and sparse warnings.Paulo Cesar Pereira de Andrade4-5/+9
It is still required a patch in the X Server sdk to correct some remaining warnings. Isn't it amazing that <X11/extensions/XKBsrv.h> and $sdkdir/xkbsrv.h both use the #ifndef _XKBSRV_H_ include guard? Signed-off-by: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
2009-02-17Janitor: make distcheck, .gitignore.Paulo Cesar Pereira de Andrade6-20/+24
The correction for make distcheck uses the same solution proposed for xf86-input-evdev, that uses the new configure option --with-sdkdir. Signed-off-by: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
2009-02-02Use InitKeyboardDeviceStruct instead of nonexistant XkbInitKeyboardDeviceStructSascha Hlusiak1-3/+18
Realizing XkbInitKeyboardDeviceStruct has been removed, we do need to use InitKeyboardDeviceStruct. This breaks custom keymaps on ABI_XINPUT_VERSION >= 5. Hopefully this can be reimplemented later.
2009-01-30Add README with pointers to mailing list, bugzilla & git reposAlan Coopersmith1-0/+20
2009-01-26Fix build on master. All hail XKB!Sascha Hlusiak1-1/+2
2009-01-09Remove xorgconfig & xorgcfg from See Also list in man pageAlan Coopersmith1-1/+1
2008-12-28Prepare for 1.4.0 releasexf86-input-joystick-1.4.0Sascha Hlusiak1-1/+1
2008-12-28Matched comments in joystick-properties.h with previous commitSascha Hlusiak1-3/+3
2008-12-28Export JSTK_* constants with joystick-properties.hSascha Hlusiak2-22/+28
2008-12-28Rename constants for better distinctionSascha Hlusiak4-123/+123
@jstk.h: TYPE_* -> JSTK_TYPE_* MAPPING_* -> JSTK_MAPPING_*
2008-10-13properties: handle checkonly flag in SetProperty.Peter Hutterer1-28/+53
If checkonly is TRUE, don't touch any values, just check vor validity of the data. Signed-off-by: Sascha Hlusiak <saschahlusiak@arcor.de>
2008-10-01Install joystick-properties.h and xorg-joystick.pc for clients.Sascha Hlusiak8-52/+147
Let's clients be aware of properties made available by the driver.
2008-10-01Option for per-axis valuators. Defaults to off for all axes.Sascha Hlusiak3-14/+20
Old: Each axis had an extra valuator, starting with 2 (0 and 1 are pointer movement) New: Add "valuator" to axis option to give it an extra valuator of range -32768 to 32768. Default: Off for all axes, since rarely used (and broken anyway right now).
2008-09-30Remove XKB calls since we don't make use of it anyway.Sascha Hlusiak1-5/+1
No error messages because of missing xkb rules, yay.
2008-09-30Do not require randrprotoSascha Hlusiak1-1/+0
2008-09-30Support for setting Button Number propertySascha Hlusiak1-4/+25
does not change the button map, which is assumed to be default. Buttons can still be reordered using xmodmap.
2008-09-30Replace dynamic button map with static oneSascha Hlusiak5-62/+26
Saves some configuration efforts but caps logical button numbers to BUTTONMAP_SIZE=32. Makes property support much easier.
2008-09-30Name all properties uppercaseSascha Hlusiak1-6/+6
Just looks better
2008-09-30Do not accept fewer values anymore when setting propertiesSascha Hlusiak1-22/+12
Supplied number of values have to match the numbers of axes/buttons exactly. Fewer values are not accepted anymore, because the omitted information get lost. That way we ensure that the properties are always complete when requested by clients.
2008-09-30Exporting num_axes values instead of MAXAXESSascha Hlusiak1-16/+16
Only export the number of axes/buttons in properties that we actually have. No need to export MAXAXES values, if we don't support them.
2008-09-30Save probed number of axes/buttons for joystick backendSascha Hlusiak1-0/+7
2008-09-30Probed number of buttons shall not exceed MAXBUTTONSSascha Hlusiak1-0/+4
Same for axes.
2008-09-29Compile fix on BSDSascha Hlusiak1-14/+14
2008-09-29Probe device once on INIT and re-use found information.Sascha Hlusiak8-50/+82
Makes reopening a device on vt-enter much smoother and throws less warnings. Remember number of found axes and buttons.
2008-09-29Export number of configurable buttons/axes as readonly properties.Sascha Hlusiak3-0/+43
This number does not need to match the number of valuators/buttons.
2008-09-28jstk_key.c: missing includeSascha Hlusiak1-0/+1
xf86optionListDup is defined in xf86Optrec.h
2008-09-26Adjust joystick properties to new property API.Peter Hutterer1-69/+34
ConfigureProperty doesn't exist anymore, ChangeProperty has two parameters less. SetProperty handler must return Status. Mark all properties as non-deletable.
2008-09-16Merge branch 'input-properties'Sascha Hlusiak9-24/+601
Conflicts: src/jstk.h src/jstk_key.c
2008-09-15Set type_name of slave keyboard device to XI_JOYSTICK as well.Sascha Hlusiak1-1/+1
2008-09-15Set type_name to XI_JOYSTICK. Let's not claim we are XI_MOUSE.Sascha Hlusiak2-1/+8
2008-09-15Set type_name to XI_JOYSTICK. Let's not claim we are XI_MOUSE.Sascha Hlusiak2-1/+9
2008-09-07Make "less joystick.man" workChristoph Brill1-0/+1
2008-09-06Initialize PtrFeedbackClassDeviceStruct for pointer deviceSascha Hlusiak1-0/+12
2008-09-06Silence warning about implicit castSascha Hlusiak1-2/+2
2008-09-06Always add second input device for keys onlySascha Hlusiak6-24/+202
Having one device for both mouse and keyboard events breaks with MPX and custom keymaps, because the keymap is copied to the core pointer instead of the core keyboard. Easiest fix for that is to have two separate input devices. One single instance of the driver will now create a second input device that has only keyboard capabilities. It shares all the config with the master and will be removed when the master device is removed. The creation of this second device is a little hack-ish. I hope things are done right.
2008-09-06make dist hook: git-log > git logxf86-input-joystick-1.3.3Sascha Hlusiak1-1/+1
I somehow don't have those nice aliases. This should make it work on every system.
2008-09-06Update man page concerning custom driver options through halSascha Hlusiak1-1/+2
Warning is obsoleted by xorg-server-1.5