

- #How to use joytokey for mouse emulation code
- #How to use joytokey for mouse emulation trial
- #How to use joytokey for mouse emulation windows
The thing about JoyToKey is that it is extremely responsive with very small movements and, at the same time, is extremely accurate with mid-range and long-range movements. I am not really sure what the ideal mouse curve should look like and what would be optimal for gaming as well as desktop work (exponential? logarithmic? cubic? square?, etc.) I don't suppose you could supply some suitable curve values? That would explain my extremely unscientific curve.


#How to use joytokey for mouse emulation trial
Unfortunately I was not completely sure how the response curve worked so I was mostly using trial and error to get values that felt okay. Double click on each one to set the mouse speed.) Then a list of axes should appear and, depending on the controller being used, should map to X1,Y1,X2,Y2, etc. If using JoyToKey remember to Enable "Use Axes other than X and Y" in Others tab.
#How to use joytokey for mouse emulation windows
I understand that this may be a somewhat unreasonable request (need Windows access, no source code, etc.), but I make it because xboxdrv has the ability to do many, if not all of the other features of JoyToKey and other key mappers, so the addition of adding excellent mouse emulation on top of these would complete the package. Perhaps someone who is more knowledgable of mouse acceleration could deduce what type is being used by JoyToKey? There is also the problem of seperating the Operating System's acceleration from the application's. JoyToKey itself does not offer any options to select a specific type of mouse acceleratoin it just allows the user to adjust the speed of the cursor, which doesn't affect how the mouse fundamently moves. One obvious feature could be the inclusion of real mouse acceleration, but I'm not knowledgable enough on the subject to know how that works exactly. Unforunately I have no idea what really could be added to xboxdrv to achieve a better feel to the mouse emulation. Obviously it would be impossible to get the same results without the source code, but if the program is used as a guide as to how mouse emulation should behave and feel, I think it might be possible to approximate it. All of the work I've done in setting up mouse emulation with Xboxdrv has been an attempt to mimic as closely as possible the results I get with JoyToKey.
#How to use joytokey for mouse emulation code
The greatest program I have used thus far to emulate the mouse using the joystick is program JoyToKey ( ) on Windows (unforunately the source code is not available). However, I wonder if perhaps mouse emulation can be improved even more.

Now all of these features combined have resulted already in quite good mouse control with the joystick. The sensitivity filter may not even be required I just set it awhile ago and didn't change it back. Along with REPEAT, I set the VALUE number to change the speed of the mouse cursor. This addition helps a lot in smoothing out the mouse movement. The other feature that has been quite helpful is the ability to set the REPEAT value of REL_X and REL_Y to -1. The main feature I have been using is the responsive curve filter, which I've found has enabled a decent amount of control over how the mouse behaves when mapped to a joystick. These settings are using a dualshock 3 and a little bit of Fedora 15 Gnome's mouse acceleration. (may have to adjust REL_X,Y:VALUE to a higher or lower number to adjust speed) Right now I have these options set to configure how the mouse handles: Xboxdrv's excellent keymapping already takes care of mouse features such as mouse buttons and scrolling however, the ability to customize the actual movement of the mouse when mapped to a joystick remains somewhat limited and confusing at this time.
