I have a gaming keyboard, and want to use it. Is there any way I could assign shortcuts for something like the repeat-on button? How would I do that?
Thanks in advance!
Keybinds
Moderator: Moderators
- prandipadaro
- Posts: 98
- Joined: 19 Oct 2011, 22:38
Re: Keybinds
The simple way for me is edit your uikeys.txt file
if you are on linux ubuntu you can find it in the folder .spring inside your home
this line will be an example:
if your problem is mapping your gaming keyboard, always on ubuntu, i use xev to get the keycode of a button, and in this case you must add a line like this before the bind line:
//make button start ( this line is only a comment)
if you are on linux ubuntu you can find it in the folder .spring inside your home
this line will be an example:
Code: Select all
bind button repeat
//make button start ( this line is only a comment)
Code: Select all
keysym start 0xffeb
command arbitrary name code get by xev or other software
- MasterBel2
- Posts: 347
- Joined: 11 Apr 2016, 12:03
Re: Keybinds
Thanks. Am on a mac, but there is a uikeys.txt file in the said location (at least the mac equivalent anyway). I will play around a bit and then come back If I can't work anything out.
Re: Keybinds
When in the game, type
and then press the said button. The corresponding keycode will be typed out in the chat. Type /keydebug again to get out of this mode.
Use that keycode in uikeys.txt, and also see that you don't have multiple files called uikeys.txt if you have problems (spring can look for that file in many folders). Hope this helps.
Code: Select all
/keydebug
Use that keycode in uikeys.txt, and also see that you don't have multiple files called uikeys.txt if you have problems (spring can look for that file in many folders). Hope this helps.