Howto: Change Keybindings

Forum for discussing the Torchlight single-player game.

Re: Howto: Change Keybindings

Postby Vardlonit » Wed Mar 03, 2010 12:59 pm

Those tables of Javacode keys code will work only for standard US keyboards, not for non English keyboard and probably not for Apple keyboards. Some keys will work and some not.

In fact Torchlight seems use Windows key codes and not Javascript key codes, the link provided in OP on a page giving Javascript code is right and wrong. The table is probably right for a standard US keyboard, not for other keyboards. But the input field where you type a key and then get the code seems not giving right Javascript code for non US keyboards but seems giving Windows code instead... and luckily Torchlight seems use those Windows key codes in settings.txt. So this input field is probably right for any keyboard even Apple and even non English.

With my Apple non english keyboard it is working fine, all mapping works by using the values given by the input field.

If you want a safer value this little application (no installation) is giving the right Windows codes, seems the same than used in settings.txt, it should work with any keyboard and seems more seriously programed than the bit of Javascript code in the link provided:
http://delphiforfun.org/programs/Utilities/KeyCodes.htm
Vardlonit
 
Posts: 591
Joined: Tue Mar 02, 2010 8:15 am

Re: Howto: Change Keybindings

Postby winsom » Sat Mar 13, 2010 3:46 pm

posting to confirm that the Logitech Setpoint program is not working properly with torchlight.

I have a G5 mouse and I want to use the two thumb buttons. I used Setpoint to assign numeric keypress 8, 9 or 0 to these mouse buttons. In torchlight I try to activate the hotbar slots 8,9 via the buttons and nothing works. In fact by doing this I end up changing the mouse sensitivity settings of my mouse when I press these thumb buttons, which is a new glitch being introduced.
winsom
 
Posts: 8
Joined: Thu Dec 03, 2009 12:56 pm

Re: Howto: Change Keybindings

Postby Bytales » Mon Mar 29, 2010 4:33 am

I have logitech mx 1100, tried to activate the hidden button(application switcher), but i doesn't work, as a matter of fact it doesnt even work in windows. I've had similar problems in the past with set point. I have windows ultimate 7 32bit. The back and forward buttons on the mouse work. However i'm planing on gettin a razer naga mouse. I would work like a charm with games such as torchlite.

Now comes the problem. I have more spells than i can bind to keys in game.
Can this issue be solved ?
Bytales
 
Posts: 67
Joined: Thu Sep 10, 2009 3:53 am

Re: Howto: Change Keybindings

Postby huytin » Sat May 01, 2010 5:21 am

Thanks Abnovitas!
huytin
 
Posts: 3
Joined: Sat May 01, 2010 5:19 am

Re: Howto: Change Keybindings

Postby Fringe » Tue Jun 01, 2010 8:51 pm

FWIW: I have always found X-Mouse Button Control to be the easiest program to use for getting additional mouse buttons to work in games that don't have innate support for them. It's free, small enough to leave running at startup, and extremely easy to configure. Once you have it set up for a particular game you don't have to enable the game's profile when playing that game. As long as it's running it will automatically detect the game and set the buttons accordingly. If you alt-tab out or play in window mode it will revert back to default settings when the game is not the focus and revert back to the game settings once it becomes the focus again.

I have a Logitech mouse and have tried Setpoint but didn't like it so for others that might have problems with Setpoint, give X-Mouse a try. It's free!
This sentence is false.
User avatar
Fringe
 
Posts: 20
Joined: Tue Jun 01, 2010 6:27 pm

Re: Howto: Change Keybindings

Postby Fringe » Fri Jun 04, 2010 9:08 am

I noticed earlier in this thread that there was a utility for changing keybinds that allowed you to set 2 different keys for the same action. That utility doesn't work with TL v1.15 so I was wondering if there's a way that this could be done manually? For example, having the Pet window open with I & P.

I've tried editing the settings.txt file in several different ways to accommodate for this but nothing I try seems to work.

Any insight would be highly appreciated.

Thank you kindly.
This sentence is false.
User avatar
Fringe
 
Posts: 20
Joined: Tue Jun 01, 2010 6:27 pm

Re: Howto: Change Keybindings

Postby Flashlight » Sun Jun 06, 2010 6:03 am

Abnovitas wrote: The same is true for modifier keys (Alt/Shift/Ctrl).


You can change the needed key, like HOLD_POS is holding the positing, therefore shift (you can double check by checking the JS value on the chart for shift). All of them are there (except mouse buttons), but are below the FKEY bindings.
Flashlight
 
Posts: 4
Joined: Sun Jun 06, 2010 5:59 am

Re: Howto: Change Keybindings

Postby wickednick » Fri Jun 25, 2010 6:05 pm

How do I do this on a mac using steam. I've been able to find the Torchlight app in the steam folder but not the settings.txt file
wickednick
 
Posts: 4
Joined: Fri Jun 25, 2010 6:02 pm

Re: Howto: Change Keybindings

Postby bbr » Wed Jul 28, 2010 1:45 pm

Nice post, but seriously... Why isn't this simply implemented into the game interface?
About 99% of any games "out there" who use a keyboard interface, have a way to change key settings "in game".
Heck even diablo 2, a game from which torchlight is somewhat descended of can do it.. why can't torchlight?
Image
Image
bbr
 
Posts: 48
Joined: Wed Mar 31, 2010 10:05 am

Re: Howto: Change Keybindings

Postby TekGnosis » Thu Jan 06, 2011 7:38 pm

Using X-Mouse Button Control (referenced in an earlier post) I noted that there is a minimum delay between certain actions the game will accept. Seems 40ms or so.
Also, any key chains need to be in another thread, not the default 'as button is pressed' mode.

For example:
{TAB}{RMB}{WAITMS40}{TAB}

I assigned this to Button4 on my mouse and now the 2nd skill fires when i hit the 'Back' button. Using this method, the original skill will remain your primary. w00t!

Further, and to prod you along if fearing to try it, the X-Mouse app seems to have a 100% success rate detecting which .exe is in the foreground and using per-application keymaps. The settings for torchlight have NEVER triggered when out of game, even after alt-tabbing out of full-screen mode frequently. I'll use this free app for other stuff, and donate, too! (I am not affiliated with X-Mouse at all)

Happy gaming.
TekGnosis
 
Posts: 1
Joined: Thu Jan 06, 2011 7:34 pm

Re: Howto: Change Keybindings

Postby Getlow » Thu Mar 03, 2011 12:33 am

Thank you so much for this. My sorceress went from killing machine to a god being able to rebind to what ive used in wow for 5 years If only could bind to mouse but not that many skills to use. /bow
User avatar
Getlow
 
Posts: 1
Joined: Thu Mar 03, 2011 12:27 am

Re: Howto: Change Keybindings

Postby Inokis » Thu May 12, 2011 11:40 pm

Has anyone else set up their control configuration to use Function keys for both the mouse clicks and the spellbar? Basically, I have it setup where two skills are bound to one fkey. One skill fires with the button press, the other is typically a right mouse click skill.

The reason I'm asking is that on the interface the key labels display as Fkey#+1. So for example, the first slot is using F1 it will have F2 as its label. I'm just curious if anyone else has seen this and if they figured out a fix for it.
_________________________________
Why turn a lemon into lemonade when you can use the disposal to finish it off?
User avatar
Inokis
 
Posts: 31
Joined: Sat Jun 06, 2009 2:12 pm
Location: Tomb of the Awakened (Floor 55) | Minneapolis, MN

Re: Howto: Change Keybindings

Postby MetBosui » Mon Sep 26, 2011 3:36 am

Now this is gonna better my experience... thanks!
User avatar
MetBosui
 
Posts: 16
Joined: Mon Sep 26, 2011 2:48 am
Location: The Hague Netherlands

Re: Howto: Change Keybindings

Postby Vodage » Thu Oct 13, 2011 9:49 pm

Not sure if you guys already covered this, but you can do some interesting things with the keybinds when you put an actionbar bind and a mouse bind on the same key.

For example, I have a skill set to my A key, when I press the A key, I want to use 2 skills, one after the other. So I bind the A key to an Fkeymap AND a keymap, so that when I press it, it instant-casts one skill, while simultaneously bringing another one to rightmouse. This way, all I have to do is press the action key and then hold rightmouse to use two different skills consecutively.
User avatar
Vodage
 
Posts: 66
Joined: Thu Oct 06, 2011 2:53 am

Re: Howto: Change Keybindings

Postby Kapheen » Mon May 14, 2012 4:41 pm

Thank you so much for this!
User avatar
Kapheen
 
Posts: 1
Joined: Mon May 14, 2012 4:40 pm

Re: Howto: Change Keybindings

Postby Feathersw0rd » Tue May 15, 2012 4:46 pm

This worked great for me! I did not understand all the other business!
http://www.runicgamesfansite.com/downlo ... ile&id=128
User avatar
Feathersw0rd
 
Posts: 1
Joined: Tue May 15, 2012 4:44 pm

Re: Howto: Change Keybindings

Postby JemyM » Thu Oct 04, 2012 8:19 am

winsom wrote:posting to confirm that the Logitech Setpoint program is not working properly with torchlight.

Fringe wrote:I have always found X-Mouse Button Control to be the easiest program


I have tried both to reassign Tilt Wheel Right and Tilt Wheel Left but both have failed. I have used X-Mouse Button Control before and also the setpoint software for my G5 mouse but neither seem to have any effect in torchlight.
User avatar
JemyM
 
Posts: 1
Joined: Thu Oct 04, 2012 8:12 am

Re: Howto: Change Keybindings

Postby MosesXIII » Sun Oct 07, 2012 10:15 am

Is there any way to separate the "KEYMAP_HOLDPOS :" key from the key that makes your pet pick up items? I don't see a separate setting for the latter, which kind of sucks for me. I play with items always highlighted, and like to use shift to hold my non-melee characters in place. This often results in my pet picking up all kinds of stuff I'd prefer that he leave on the ground. :/
MosesXIII
 
Posts: 21
Joined: Sun Oct 07, 2012 10:11 am

Previous

Return to Torchlight Win/Mac/Linux Discussion

Who is online

Users browsing this forum: Exabot [Bot] and 3 guests