Posts: 3
Threads: 1
Joined: Nov 2010
My keyboard is behaving strangely. I'm using a Mac with os x 10.6.3. When I loaded assaultcube it prompted to enter my nickname. Well I couldn't do it, coz the layout seems to be completely broken. Instead of QWERTY letters I get a strange combination of letters, numbers and symbols. Changing the layout with cmd+space does't help. And when I try to edit my controls, it says that I can't use my wsad keys. I'm really at a loss what to do with it=(
Posts: 3
Threads: 1
Joined: Nov 2010
Btw if it helps - I've got a hackintosh via iAtkos, a Logitech USB keyboard and Russian/US layout
Posts: 586
Threads: 24
Joined: Jun 2010
First off - you should've just edited your own post!
What does the game say your locale is? (2nd line of log)
What results do you get when you run
and press the WASD-keys?! Here's what I get:
state 0x4010, keycode 25 (keysym 0x77, w), same_screen YES,
state 0x4010, keycode 38 (keysym 0x61, a), same_screen YES,
state 0x4010, keycode 39 (keysym 0x73, s), same_screen YES,
state 0x4010, keycode 40 (keysym 0x64, d), same_screen YES,
If it doesn't match up with your keyboard-repsonses you will have to create your own keymap.cfg and put it into your game-home config/-directory (use the launcher to access your "personal files" (I think that's the menu term used)).
Posts: 3
Threads: 1
Joined: Nov 2010
13 Nov 10, 10:15PM
(This post was last modified: 13 Nov 10, 10:22PM by holodila.)
Here's what I get:
Macintosh:~ kirillseva$ xev|egrep "code|button"
state 0x0, keycode 21 (keysym 0x6c3, Cyrillic_tse), same_screen YES,
state 0x0, keycode 21 (keysym 0x6c3, Cyrillic_tse), same_screen YES,
state 0x0, keycode 9 (keysym 0x6d9, Cyrillic_yeru), same_screen YES,
state 0x0, keycode 9 (keysym 0x6d9, Cyrillic_yeru), same_screen YES,
state 0x0, keycode 8 (keysym 0x6c6, Cyrillic_ef), same_screen YES,
state 0x0, keycode 8 (keysym 0x6c6, Cyrillic_ef), same_screen YES,
state 0x0, keycode 10 (keysym 0x6d7, Cyrillic_ve), same_screen YES,
state 0x0, keycode 10 (keysym 0x6d7, Cyrillic_ve), same_screen YES,
It's for WSAD, 1-time pressed (seems like I get 2 signals for 1 key)
Btw I have no keymap.cfg in the folder...
Posts: 58
Threads: 1
Joined: Oct 2010
14 Nov 10, 12:14AM
(This post was last modified: 14 Nov 10, 12:15AM by Faron8.)
(13 Nov 10, 10:15PM)holodila Wrote: Btw I have no keymap.cfg in the folder...
right click on assaultcube and then press "show package contents"
Posts: 586
Threads: 24
Joined: Jun 2010
14 Nov 10, 06:10PM
(This post was last modified: 14 Nov 10, 06:11PM by flowtron.)
Yes, then copy the vanilla-file over to your personal files (game-home) and edit there.
It's normal to get 2 messages - on for KEY_DOWN, one for KEY_UP - I just cleaned up my output.
You will need to do this with basically ALL the keys:
Take note of the keysym-value - it's HEX, e.g. for your W 0x6c3 - then transform into DEC - 0x6c3 == 1731.
If this is available on a Mac you might have an easier time of it by using :
This might require superuser-permissions to access /dev/console .. but I'm not familiar with the Mac OS X in that detail.
|