Activity for Linux Joystick Mapper

  • Alexandre Hardy Alexandre Hardy modified a comment on a wiki page

    I see that you can also try change this with X-windows: $ xinput list-props 16 Device 'JOYMAP Mouse': Device Enabled (151): 1 Coordinate Transformation Matrix (153): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000 Device Accel Profile (282): 0 Device Accel Constant Deceleration (283): 1.000000 Device Accel Adaptive Deceleration (284): 1.000000 Device Accel Velocity Scaling (285): 10.000000 Device Product ID (271): 255, 2 Device Node (272): "/dev/input/event19"...

  • Alexandre Hardy Alexandre Hardy posted a comment on a wiki page

    I see that you can also try change this with X-windows: $ xinput list-props 16 Device 'JOYMAP Mouse': Device Enabled (151): 1 Coordinate Transformation Matrix (153): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000 Device Accel Profile (282): 0 Device Accel Constant Deceleration (283): 1.000000 Device Accel Adaptive Deceleration (284): 1.000000 Device Accel Velocity Scaling (285): 10.000000 Device Product ID (271): 255, 2 Device Node (272): "/dev/input/event19"...

  • Alexandre Hardy Alexandre Hardy posted a comment on a wiki page

    Hi Michael, I checked the code again, speed=1 is the slowest reporting rate possible. However, we can make it slower by adding delays between reporting events. I tested with the following: # Get input from the script button vendor=0x00ff product=0x0000 src=0 target=mouse axis=8 speed=1 button vendor=0x00ff product=0x0000 src=1 target=mouse axis=8 flags=invert speed=1 button vendor=0x00ff product=0x0000 src=0 target=mouse axis=8 flags=release speed=1 button vendor=0x00ff product=0x0000 src=1 target=mouse...

  • Michael Stanczyk Michael Stanczyk posted a comment on a wiki page

    Using a ch products pro throttle: button vendor=0x068e product=0x00f1 src=0 target=mouse axis=8 flags=invert speed=1 button vendor=0x068e product=0x00f1 src=0 target=mouse axis=8 flags=invert,release speed=1 button vendor=0x068e product=0x00f1 src=2 target=mouse axis=8 speed=1 button vendor=0x068e product=0x00f1 src=2 target=mouse axis=8 flags=release speed=1 these lines work for direction but the speed is still too fast when I click the hat. when i spin my mouse wheel slowly it clicks and generates...

  • Alexandre Hardy Alexandre Hardy posted a comment on a wiki page

    Hi Michael, Sorry for the late reply. The wheel is programmed as follows: button vendor=0x044f product=0x0402 src=6 target=mouse axis=8 button vendor=0x044f product=0x0402 src=8 target=mouse axis=8 flags=invert button vendor=0x044f product=0x0402 src=6 target=mouse axis=8 flags=release button vendor=0x044f product=0x0402 src=8 target=mouse axis=8 flags=invert,release #assign a joystick number for script purposes script vendor=0x044f product=0x0402 device=0 #Thrustmaster Warthog Joystick script vendor=0x044f...

  • Alexandre Hardy Alexandre Hardy committed [ac6419] on Git

    Make sure that events are shifted if any shift button is pressed, don't always reset on release

  • Alexandre Hardy Alexandre Hardy merged merge request #1 on Git

    Allow a shift button per devices.

  • Alexandre Hardy Alexandre Hardy posted a comment on merge request #1

    Thank you! This looks like a good change!

  • patlefort patlefort created merge request #1 on Git

    Allow a shift button per devices.

  • Michael Stanczyk Michael Stanczyk posted a comment on a wiki page

    How do I map a button to the mouse scroll wheel? I have some games that only allow you select different hotbar slots via the mouse scroll wheel. Minecraft only allows you change from hotbar slot 1 to slot 2 by either the scroll wheel or by pressing 2. Half-life 2 only allows weapon selection via the scroll wheel. Oh do you have a donation link somewhere? Having this continue to exist is really important to me for my current and future gaming needs.

  • Linux Joystick Mapper Linux Joystick Mapper released /joymap-0.6.2.tar.gz

  • Alexandre Hardy Alexandre Hardy committed [50c055] on Git

    Fix OR parsing

  • Alexandre Hardy Alexandre Hardy posted a comment on a wiki page

    Thanks for catching that! New version pushed and uploaded. Feel free to push more patches my way, especially when I mess up. :-) Kind regards Alexandre

  • Linux Joystick Mapper Linux Joystick Mapper released /joymap-0.6.1.tar.gz

  • Alexandre Hardy Alexandre Hardy committed [ed8e7f] on Git

    Add new mins and maxes to known keys

  • patlefort patlefort posted a comment on a wiki page

    Your code works fine except you forgot to add the new config keys in known_keys in mapparser.c. Thank you very much.

  • Linux Joystick Mapper Linux Joystick Mapper released /joymap-0.6.0.tar.gz

  • Alexandre Hardy Alexandre Hardy posted a comment on a wiki page

    I've had a look at the patch, thanks again for that. I'm going to make a few changes though. The original code allowed device values to be passed through unaltered. In other words, if min and max weren't specified, then we would get the value from the device directly. If min and max are specified, then the output would be rescaled based on that range. I've changed the config a bit (backward compatible though) and the documentation to make that clearer. The patched you supplied changes that behaviour,...

  • Alexandre Hardy Alexandre Hardy committed [b912b1] on Git

    Separate input and output maximums

  • Alexandre Hardy Alexandre Hardy committed [f3bf88] on Git

    Update documentation for output mapping

  • Alexandre Hardy Alexandre Hardy committed [d0fc21] on Git

    Apply patch from patlefort. Thanks!

  • Alexandre Hardy Alexandre Hardy posted a comment on a wiki page

    Hi! Thank you for the feedback! Sorry for the late reply, I've been somewhat busy. Thank you for the patch! It is great to see a contribution in this form, I'll look at it shortly. Kind regards Alexandre

  • patlefort patlefort modified a comment on a wiki page

    Here's a patch that fixes a few issues: * Set min and max axis values to the virtual device from map config. This enable SDL to detect axis as "hats" when the range is -1 to 1. * Set the default minimum to -32768 instead, which fix the issue I was having above. * Fix formula to rescale axis value between -32767 and 32767. * Round and clamp value when rescaling value when we have a deadzone. * Change dev.absfuzz[i] to dev.absfuzz[j] in register_devices.

  • patlefort patlefort posted a comment on a wiki page

    Here's a patch that fixes a few issues: * Set min and max axis values to the virtual device from map config. This enable SDL to detect axis as "hats" when the range is -1 to 1. * Set the default minimum to -32768 instead, which fix the issue I was having above. * Fix formula to rescale axis value between -32767 and 32767. * Round and clamp value when rescaling value when we have a deadzone. * Change dev.absfuzz[i] to dev.absfuzz[j] in register_devices.

  • patlefort patlefort posted a comment on a wiki page

    Hi, thanks for the tool. I packaged it in the AUR. I am having an issue: axes are being reset to -1 instead of 0. After some debugging, I can see the value 0 being written to the device in the set_joy_axis function, but somehow programs will report -1. In fact, anything 0 or below gets dropped by 1. Some program will think that my dpad is always pressed. My controllers dpad are axes that report -1, 0 or 1 and programs like the game controller setting panel in KDE will report -32768, 0 or 32767. My...

  • Linux Joystick Mapper Linux Joystick Mapper released /joymap-0.5.9.tar.gz

  • Alexandre Hardy Alexandre Hardy committed [15e190] on Git

    Fixes for force feedback

  • Alexandre Hardy Alexandre Hardy committed [23e08e] on Git

    Fix device numbe reporting status of force feedback

  • Alexandre Hardy Alexandre Hardy committed [a8ac22] on Git

    Handle small max values

  • Alexandre Hardy Alexandre Hardy committed [89ebed] on Git

    Add an option not to lock joysticks

  • Alexandre Hardy Alexandre Hardy committed [5fc420] on Git

    Increase number of buttons and axes supported

  • Alexandre Hardy Alexandre Hardy committed [d2746f] on Git

    Fix compile

  • Alexandre Hardy Alexandre Hardy posted a comment on a wiki page

    Hi Nichael, Sorry to hear that it is not working for you. It has been a while since I encountered an error like that, I believe it is due to missing headers, usually kernel headers. (See for example https://github.com/Zygo/bees/issues/140). You can try search for packages: glibc-headers, linux-headers, kernel-headers. I'm not using Linux Mint so I don't know exactly which package it is. However, I do note that it is failing to compile a 32 bit library (which I use for wine) which may not be necessary...

  • Michael Stanczyk Michael Stanczyk posted a comment on a wiki page

    keep getting this error: make cc -Wall -Werror -g -c -o loadmap.o loadmap.c cc -Wall -Werror -g -c -o dictionary.o dictionary.c cc -Wall -Werror -g -c -o mapparser.o mapparser.c cc -Wall -Werror -g -c -o programparser.o programparser.c cc -Wall -Werror -g -c -o validkeys.o validkeys.c cc -Wall -Werror -g -c -o events.o events.c cc -Wall -Werror -g -c -o vm.o vm.c cc -Wall -Werror -g -c -o devices.o devices.c cc -Wall -Werror -g -c -o config.o config.c cc -Wall -Werror -g -c -o daemon.o daemon.c cc...

  • Linux Joystick Mapper Linux Joystick Mapper released /joymap-0.5.8.tar.gz

  • Alexandre Hardy Alexandre Hardy committed [fc0454] on Git

    Forward force feedback to device

  • Alexandre Hardy Alexandre Hardy committed [ef56e2] on Git

    Fix parsing issues

  • Alexandre Hardy Alexandre Hardy committed [ad95b7] on Git

    Correctly handle instances of vendor / product if some are skipped

  • Alexandre Hardy Alexandre Hardy committed [5bbf18] on Git

    Update documents

  • Alexandre Hardy Alexandre Hardy committed [c36c53] on Git

    Add controller support (D-PAD) to input_info

  • Alexandre Hardy Alexandre Hardy committed [433cca] on Git

    Script side of force feedback

  • Alexandre Hardy Alexandre Hardy committed [8d040b] on Git

    Move to stdint

  • Alexandre Hardy Alexandre Hardy committed [5d6906] on Git

    Block devices with axes that don't have buttons

  • Alexandre Hardy Alexandre Hardy modified a wiki page

    Home

  • Alexandre Hardy Alexandre Hardy modified a wiki page

    Home

  • Linux Joystick Mapper Linux Joystick Mapper released /joymap-0.5.7.tar.gz

  • Alexandre Hardy Alexandre Hardy committed [078425] on Git

    Fix instance with shift

  • Alexandre Hardy Alexandre Hardy committed [c8ec75] on Git

    Update documents for controller instance

  • Alexandre Hardy Alexandre Hardy committed [9911fa] on Git

    Add instance with shift

  • Alexandre Hardy Alexandre Hardy committed [308b61] on Git

    Fix blocker code

  • Alexandre Hardy Alexandre Hardy committed [baf36d] on Git

    Handle multiple controllers better

  • Linux Joystick Mapper Linux Joystick Mapper released /joymap-0.5.6.tar.gz

  • Alexandre Hardy Alexandre Hardy committed [4228da] on Git

    Cleanup joymap_blocker

  • Alexandre Hardy Alexandre Hardy committed [712c8e] on Git

    Always write the PID file to make kill always work

  • Alexandre Hardy Alexandre Hardy committed [b11efb] on Git

    Add a library to limit joystick access to only joymap devices

  • Alexandre Hardy Alexandre Hardy committed [15b0b0] on Git

    Make skipping axes optional

  • Linux Joystick Mapper Linux Joystick Mapper released /joymap-0.5.5.tar.gz

  • Alexandre Hardy Alexandre Hardy committed [705bf5] on Git

    Fix removal of device due to incorrect vendor and product

  • Linux Joystick Mapper Linux Joystick Mapper released /joymap-0.5.4.tar.gz

  • Alexandre Hardy Alexandre Hardy committed [5c3136] on Git

    Only report declared axes

  • Alexandre Hardy Alexandre Hardy committed [d70485] on Git

    Fix multiple devices with same vendor and product id

  • Alexandre Hardy Alexandre Hardy committed [fb08cc] on Git

    Don't register code device if there is no code

  • Alexandre Hardy Alexandre Hardy committed [a04cc8] on Git

    Add kill command line argument

  • Alexandre Hardy Alexandre Hardy modified a wiki page

    Home

  • Linux Joystick Mapper Linux Joystick Mapper released /joymap-0.5.3.tar.gz

  • Alexandre Hardy Alexandre Hardy committed [6d3735] on Git

    More documentation fixes

  • Alexandre Hardy Alexandre Hardy committed [e8f93f] on Git

    Fix handling of shift in flags, when it is on its own

  • Alexandre Hardy Alexandre Hardy committed [1897bd] on Git

    Increase number of axes to accomodate second hat

  • Alexandre Hardy Alexandre Hardy committed [08e073] on Git

    Add a link to the UI project by Rens

  • Alexandre Hardy Alexandre Hardy committed [cd49b4] on Git

    Documentation fixes

  • Alexandre Hardy Alexandre Hardy modified a wiki page

    Home

  • Linux Joystick Mapper Linux Joystick Mapper released /joymap-0.5.2.tar.gz

  • Alexandre Hardy Alexandre Hardy committed [13c85c] on Git

    Fix auto calibrate

  • Alexandre Hardy Alexandre Hardy committed [c1db3c] on Git

    Fix man page

  • Alexandre Hardy Alexandre Hardy posted a comment on a wiki page

    Hi James, This bug should be fixed in joymap-0.5.0. joymap-0.5.0 also adds a few other options; * Ability to specify a joystick by event device number instead of vendor and product. * Daemonize option, to run the program in the background. * Handles removal and insertion of devices at runtime (no need to have the devices plugged in before you start). * You can now provide a search path for configuration files in the JOYMAP_PATH environment variable so config files don't have to use absolute paths...

  • Linux Joystick Mapper Linux Joystick Mapper released /joymap-0.5.1.tar.gz

  • Alexandre Hardy Alexandre Hardy posted a comment on a wiki page

    Hi! joymap-0.5.0 now supports use f the "id" keyword for mapping the joysticks. The Id corresponds to the event device associated with the device. For example, if event6 is listed as a handler for the device in /proc/bus/input/devices, then you can specify id=6 in the mapping file. If you specify the id, then you should not specify the vendor and product id. joymap-0.5.0 supports plugging in and out of devices, but if you use the id, then you may find a new event kernel device has been allocated...

  • Linux Joystick Mapper Linux Joystick Mapper released /joymap-0.5.0.tar.gz

  • Alexandre Hardy Alexandre Hardy committed [c61977] on Git

    Update document

  • Alexandre Hardy Alexandre Hardy committed [aa8df9] on Git

    Honour the event id

  • Alexandre Hardy Alexandre Hardy committed [6255af] on Git

    Tabs to spaces

  • Alexandre Hardy Alexandre Hardy committed [14aa7e] on Git

    Calibrate calues based on input reporting on axes values, if requested

  • Alexandre Hardy Alexandre Hardy committed [0054ee] on Git

    Update documentation

  • Alexandre Hardy Alexandre Hardy committed [622e27] on Git

    Update makefile to cleanup correctly

  • Alexandre Hardy Alexandre Hardy committed [c386cc] on Git

    Support loading files relative to map file, and based on path

  • Alexandre Hardy Alexandre Hardy committed [7b35ed] on Git

    Fix tabbing

  • Alexandre Hardy Alexandre Hardy committed [289f56] on Git

    Move config away from loadmap to single handler

  • Alexandre Hardy Alexandre Hardy committed [c5b9b9] on Git

    Handle locking of devices correctly

  • Alexandre Hardy Alexandre Hardy committed [2eee25] on Git

    Replace tabs with spaces

  • Alexandre Hardy Alexandre Hardy committed [bda017] on Git

    Handle devices plugged in after launch, and display input events for programming

  • Alexandre Hardy Alexandre Hardy committed [4bbf8e] on Git

    Fix shift button

  • Alexandre Hardy Alexandre Hardy committed [91760f] on Git

    Change max events for modern kernels

  • Alexandre Hardy Alexandre Hardy committed [54a42e] on Git

    Fix mouse wheel events

  • Alexandre Hardy Alexandre Hardy committed [ed8efa] on Git

    Fix button/key releases for axis mapping

  • Alexandre Hardy Alexandre Hardy committed [6a182d] on Git

    Fixes, because I wasn't testing :-(

  • Alexandre Hardy Alexandre Hardy committed [fb2ef6] on Git

    Adjust mouse speed for new assumptions about axes

  • Alexandre Hardy Alexandre Hardy committed [c1a035] on Git

    Add min, max, deadzone and also the trinary flag

  • Alexandre Hardy Alexandre Hardy committed [91de8d] on Git

    Move install_event_handlers back again. No idea why I moved it in the first place

  • Alexandre Hardy Alexandre Hardy committed [8fcb18] on Git

    Recompile program.pdf

  • Alexandre Hardy Alexandre Hardy committed [4537b6] on Git

    Pull in osxjoymap changes

1 >