HomeHome ArchiveArchive

cursor keys not working in Mojotron

When I run the statically bound Mojotron executable, as downloadable from sourceforge under Ubuntu Interpid, then it doesn’t recognize the arrow/cursor keys. I.e. changing the direction of the shots is not possible.

This can be “taken care of” by changing the Mojotron configuration file:

$ diff -u ~/.mojotronrc.orig ~/.mojotronrc
--- .mojotronrc.orig    2009-04-13 12:43:57.000000000 +0200
+++ .mojotronrc 2009-04-13 12:44:43.000000000 +0200
@@ -8,11 +8,11 @@
    section Player1 {
        usekey = 62 (type=integer);
        movement = wasd (type=string);
-       aiming = cursorkeys (type=string);
+       aiming = ijkl (type=string);
    }

Tomáš Pospíšek