Instructables

Use an Xbox 360 Controller as a Mouse

Step 5: Configuration and Implementation

Picture of Configuration and Implementation
From here you can configure the buttons manually, download the configurations I use, or do a little of both. To assign a value to a button you simply double click it in that list. You'll be presented with a bunch of options. "Disable" does just what it says. "Keyboard" allows you to assign a certain keystroke (or a combination of up to three keystrokes) to that button. "Mouse" allows you to move the mouse pointer, scroll wheel, and use the mouse buttons. "Command" does nothing at the moment. "Special" lets you speed up or slow down the movement of the pointer, temporarily use another joystick configuration, or switch to a different configuration.

I use two configurations (one for navigating Windows ("Windows.cfg") and one for playing games). You can download my Windows configuration at the bottom of the page here. It's made so the left thumbstick moves the pointer, A left clicks, B right clicks, X speeds up the pointer, left bumper is ALT, right bumper is TAB (I use these two together to switch between windows quickly), left trigger is ALT + SPACE + N (which minimizes a window), right trigger is ALT + F4 (which closes a window), right thumbstick scrolls up and down, and a few other buttons do things as well. The gaming configuration just mirrors the settings in SNES9X.

If you plan on using the controller as your primary input device it's important that you have JoyToKey run at startup. It has an option under "File", but I haven't had good luck with that. Instead I created a shortcut in the "Startup" folder. Then right clicked and chose "Properties". From there I changed "Run:" to "Minimized". This way not only will JoyToKey start every time Windows starts, but it'll start out of the way. (Note: I don't think a "Startup" folder is present on all computers, but you can still make JoyToKey run at startup by using msconfig. Do a search on how to use msconfig if you're not familiar with it.)

To use my configuration simply download it and put it in the root directory that JoyToKey is in. I recommend you download it, and then modify it to better suite your needs. Well, we've made it to the end. Thanks for reading, and let me know what you think.
 
Remove these adsRemove these ads by Signing Up

Hey, this is a great article, but left me with one question could you post a configuration guide?

PieOnPot1 month ago

I signed up an account just so I could comment and say "Thank you" xD - this was perfect, and was exactly what I was looking for.

Thanks for sharing your configuration file as well - that saved me time and kept me from having to do the "boring" part (haha).

Also, just in case other people have this problem, here is what I did to use his configuration file (as my browser was not giving an option to download the file).

To use his configuration file (what I did):
1. Open JoyToKey
2. Click the "Create" button in the bottom left hand corner --> give it a name
3. Close the program
4. Go to the root location where the "JoyToKey" .exe is stored
5. Look for the profile you just created
6. Right click the profile, and select "Open With --> Notepad"
7. Copy/paste (replace) his configuration text over the profile you created
8. Save and close the notepad document
9 Run JoyToKey --> Select the Profile, and you're good!

SimulatedLife12 months ago
How do I download his windows.cfg file? every time I click on it, it opens the file over the internet? As in, no option to download.

To use his configuration file (what I did):
1. Open JoyToKey
2. Click the "Create" button in the bottom left hand corner --> give it a name
3. Close the program
4. Go to the root location where the "JoyToKey" .exe is stored
5. Look for the profile you just created
6. Right click the profile, and select "Open With --> Notepad"
7. Copy/paste (replace) his configuration text over the profile you created
8. Save and close the notepad document
9 Run JoyToKey --> Select the Profile, and you're good!

smallfri1 year ago
how do i use his config as mine plz help
cthang1 year ago
to make this work i copied the settings to the existing config overwriting all
cause in my win7 x64 i wasnt able to get the app detecting any of my attempts to set my own. i use a brandnew 360/pc wireless pad and latest ms drivers .After doing so it worked superbly .dunno why i cant make my own.wrote all this with the pad lying in my bed on a 47" tv :D
Dtendo641 year ago
singed up to say this works fine on win 7 also im using an afterglow controller with it.
autsweum2 years ago
This AHK script/tool solved it for me http://nirklars.wordpress.com/xbox-wireless-controller-mouse-simulator/
For Win7 this one must be used. A new link is http://nirklars.wordpress.com/xboxmouse/
The other link is 404
dtekempel2 years ago
Will not work on Win7 and a possibility of not working with off brand controller. Correct me if I'm wrong.
kgaule3 years ago
Works fine, I had already ticked the 'hide known extensions' box which was needed for another game:

http://windows.microsoft.com/en-IE/windows-vista/Show-or-hide-file-name-extensions

Doing this will allow you to simply change the file extension to .cfg, nothing else is required, it should work once you change the extension to this.

The only issue I'm having is when left idle the cursor drifts to the left, if I point it to the left it keeps travelling. Any way to stop this?
darkitsuki4 years ago
 works like a charm! im using my controller to type this. i just assigned a button on my controller to open up the onscreen keyboard!
but how? what button(s) makes it pop up?
brownca883 years ago
I can't figure out how to configure it either. Just bought a new 360 controller today specifically to use it for emulators and as a mouse. Does anyone reply to these comments?
ok so my problem is that i dont understand how to use your file for joy to key how to configure them toget her
tavoge3 years ago
u f***n great man, people like u make the web knowledge amazing
tim133 years ago
i every time i try to download your joy to key thing that you mad it takes me to some elf search thing man can you help me with the key to learn cause i have no idiea
zackattack03 years ago
Thanks you it worked!
Also thanks to asdf;sdfs1dfsdf for the file extension tip-
TheC2s3 years ago
Thanks a lot, this was really helpful. Now I can connect wirelessly and usb mode as well. You don't know how much time you save me. So thanks again
djwhitey1233 years ago
 how do i add the configuration to joytokey ???
change the tmp extinction to cfg and put it in the folder of joytokey
to change file type to clarify: (i have windows xp) -go to where the downloaded file went to (use start-search if can't find it) -while in folder go to bar with 'file, edit, etc' : tools-folder options-view -then scroll down and unclick 'hide extensions for known file types' this allows you to change the file type -rename the file from 'fhx1r...' to read 'windows.cfg' (gets rid of .tmp) -copy and paste to folder containing 'joytokey.exe' (ex:mine is 'jtk374en') -right click file-open with-open with-select the program from a list-convert joystick input...-ok
campbell2274 years ago
 Please help i have the perfect controls set for the game i wanna play (crossfire) but as soon as i get into the game the controller does nothing when i push a button. why is this?
simrit34 years ago
I get this error when i open my joy2key "Make sure JoySticks areconnectend and DirectX 6 is connected"
HELP ME !!!!!!!!
rkp19194 years ago
how do i activate a configuration? i have the windows.cnf file
This is brilliant but the .cfg problem is making my blood boil now. I seriously need a detailed guide on how to change it to a .cfg rather than a .tmp Im loving this idea but i just dont have the time for entering everything manually, neither can i understand entering it all manually. So if anyone can guide me, please help, for the love of god xD
What i think? -i was supposed to write same as "haplo" YES! u really r a genious. Keep it up. great job. funny as pointer just acts sooo smooth with this tiny program. :) + + + + +
This Is sooo Cool except ... I'm Having a problem with the configurations. When i download your file it saves as a (.TMP) and i cant open it in JoyToKey. Please help!?! Thanks
bigcooper5 years ago
I got the messenger kit for controller do you think there is a way to use it as a keyboard ??? that would be really cool wouldn't even have to touch the big key board well thanks i'll try and check it out and see what I can do
haplo5 years ago
You sir, are a GENIUS!!! Thank you for the config file. WORKS LIKE A CHARM. Hmmm, if only i can recharge my batteries wirelessly :)
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!