On 17 October 2010 12:10, Kai Sterker <kai.ster...@gmail.com> wrote:

> Get the latest and greatest code (just added some helpful bits to
> test/inputtest). Run test/inputtest to see if we get any gamepad
> events at all. If we do, it'll print the name of each key you press.
> That's what you'll have to insert into ~/.adonthell/adonthell.xml

OK, inputtest helpfully reports some button events, so I added them to
my ~/.adonthell/adonthell.xml like so:

  <Input>
    <a_button>left shift</a_button>
    <b_button>space</b_button>
    <c_button>left control</c_button>
    <d_button>escape</d_button>
    <move_east>right|button 1</move_east>
    <move_north>up|button 3</move_north>
    <move_south>down|button 0</move_south>
    <move_west>left|button 2</move_west>
  </Input>

If the movement works, I'll hook up the rest of the buttons.

The only problem is, worldtest crashes on me. I pulled the latest
wastesedge from git, and am running worldtest like this:

: jmg...@alhana; pwd
/home/jmglov/Documents/coding/adonthell-build
: jmg...@alhana; ./test/worldtest -g .. wastesedge

I get a bunch of SWIG errors, then:

AttributeError: this
*** character::get_character: no character with id 'Player' found!
Segmentation fault

Any ideas what I'm doing wrong? Do I have to build wastesedge first?

Cheers,
Josh

_______________________________________________
Adonthell-devel mailing list
Adonthell-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/adonthell-devel

Reply via email to