keyboard panic !

keyboard panic !

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
User avatar
anterak
Posts: 67
Joined: 22 Jul 2007, 12:07

keyboard panic !

Post by anterak »

Heloo,

I 'm using suse linx.
I use a azerty keybord.
Spring and springlobby works nice.
but i can make group : CTRL+1 don't work
i can ' t draw in map ( ├é┬Á )
i can't rotate build factory ( ] )

Can you help me. I think i ve to edit a file manually to configure uikeys.
User avatar
anterak
Posts: 67
Joined: 22 Jul 2007, 12:07

Post by anterak »

hi

I try to use UIKeys++ , but it don't work. (?),it does not find uikeys.txt

thanks for help
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Post by BrainDamage »

1. have you tried to copy that file to your user data folder (usually $HOME/.spring/ )

2. where did you find uikeys++?
User avatar
anterak
Posts: 67
Joined: 22 Jul 2007, 12:07

Post by anterak »

I found uikeys++ in this forum ( page 3 or 4 ).

and here : http://members.chello.nl/mjtobi/UIKeys++.tar.gz
User avatar
anterak
Posts: 67
Joined: 22 Jul 2007, 12:07

Post by anterak »

finally, i can edit uikeys.txt.

I delete some // before bind command
I can nowuse CTRL &, CTRL ", CTRL ' .... to ccreate and select unit

I can draw in map with *

But, i can 't use ├â┬®├â┬¿├â┬º├â┬á, so, i can't make CTRL 2, CTRL 7, CTRL 9, ans CTRL 0.
( i use an azerty french keyboard , nobody's erfect :) )

i can 't find key's id for ├â┬®├â┬¿├â┬º├â┬á.
xev say idare 0xe9, 0xe8, 0xe7 and 0xe0 but it don't work.

I need hlep
User avatar
anterak
Posts: 67
Joined: 22 Jul 2007, 12:07

Post by anterak »

in fact, in uuikeys.txt
put this line :
bind 0xe9 specteam1
bind Any+0xe9 group1

0xe9 is for ├â┬®,

is someone know how to do with mouse button ???
thanks
beejayzed
Posts: 27
Joined: 01 Aug 2007, 07:19

Post by beejayzed »

For some strange reason, UIkeys++ is looking for uikeys.txt in the root directory, /. So I suppose just ln -s $HOME/.spring/uikeys.txt / (assuming uikeys.txt is there) and it should work.
User avatar
anterak
Posts: 67
Joined: 22 Jul 2007, 12:07

Post by anterak »

OMG !
Nonor
Posts: 19
Joined: 28 Dec 2006, 01:21

Post by Nonor »

Ok, I have a french azerty keyboard and I had this problem too.
With the help of anterak & xev I got the keycodes required and solved it.

So, anybody using a fr azerty keyboard should put thoses lines in the "uikeys.txt" file (in the spring dir), it should make the groups thing work.

Code: Select all

bind 0x26 specteam 1
bind Any+0x26 group1 
bind 0xe9 specteam 2
bind Any+0xe9 group2 
bind 0x22 specteam 3
bind Any+0x22 group3 
bind 0x27 specteam 4
bind Any+0x27 group4 
bind 0x28 specteam 5
bind Any+0x28 group5 
bind 0x2d specteam 6
bind Any+0x2d group6 
bind 0xe8 specteam 7
bind Any+0xe8 group7 
bind 0x5f specteam 8
bind Any+0x5f group8 
bind 0xe7 specteam 9
bind Any+0xe7 group9 
bind 0xe0 specteam 0
bind Any+0xe0 group0 
please also remove/comment the line

Code: Select all

bind - slowdown
to avoid conflict with "-" (= "6" key here). Simply use the numpad '-' button to decrease speed.
User avatar
wilbefast
Posts: 255
Joined: 14 Oct 2009, 18:04

Re: keyboard panic !

Post by wilbefast »

I'm bumping this to say thanks (I can finally use control groups!) and because I almost posted a new thread asking exactly the same thing :?

I too use a French keyboard :o
User avatar
albator
Posts: 866
Joined: 14 Jan 2009, 14:20

Re: keyboard panic !

Post by albator »

this worked for me

Code: Select all

bind 0x26 specteam 1
bind Any+0x26 group1
bind 0xe9 specteam 2
bind Any+0xe9 group2
bind 0x22 specteam 3
bind Any+0x22 group3
bind 0x27 specteam 4
bind Any+0x27 group4
bind 0x28 specteam 5
bind Any+0x28 group5
bind 0x2d specteam 6
bind Any+0x2d group6
bind 0xe8 specteam 7
bind Any+0xe8 group7
bind 0x5f specteam 8
bind Any+0x5f group8
bind 0xe7 specteam 9
bind Any+0xe7 group9
bind 0xe0 specteam 0
bind Any+0xe0 group0 

Now i need the same for turning the buildings (usually "[" and "]")
Post Reply

Return to “Linux”