pingus-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: joystick - still not working


From: Leonardo Tasso
Subject: Re: joystick - still not working
Date: Wed, 24 Sep 2003 18:14:52 +0200
User-agent: Mutt/1.3.28i

On Mon, Sep 15, 2003 at 10:13:11PM +0200 or thereabouts, David Philippi wrote:
> Am Mon, 2003-09-15 um 20.54 schrieb Leonardo Tasso:
> > I tried to make joystick work, using the options you suggested in the 
> > previous thread, and at least pingus does 
> > not crash if I provide the right number of button for my joystick. But 
> > still it does not work. The joystick is 
> > ok with testing programs and also with other games. 
> > any suggestion ?
> 
> You should at least post the relevant sections of your controller.xml
> file.
> 
> Bye David

when I launch pingus with
/usr/games/pingus --controller /usr/share/games/pingus/controller/gamepad.xml 
--enable-swcursor


I get these two warnings

[Warning] Controller: No pause button - inserting dummy
[Warning] Controller: No escape button - inserting dummy

and gamepad.xml is

ingus-controller>
  <controller-config>
    <standard-pointer>
      <axis-pointer speed="250">
        <joystick-axis id="0" axis="0" angle="0" />
        <joystick-axis id="0" axis="1" angle="90" />
      </axis-pointer>
    </standard-pointer>

    <primary-button>
      <multiple-button>
        <mouse-button button="0"/>
        <joystick-button id="0" button="4"/>
      </multiple-button>
    </primary-button>

    <secondary-button>
      <multiple-button>
        <mouse-button button="2"/>
        <joystick-button id="0" button="1"/>
      </multiple-button>
    </secondary-button>

    <fast-forward-button>
      <multiple-button>
        <key-button key="F"/>
        <key-button key="SPACE"/>
        <joystick-button id="0" button="0"/>
        <joystick-button id="0" button="2"/>
      </multiple-button>
    </fast-forward-button>

    <armageddon-button>
      <multiple-button>
        <key-button key="A"/>
      </multiple-button>
    </armageddon-button>

    <scroller>
      <axis-scroller speed="1000">
        <button-axis angle="90">
          <key-button key="DOWN"/>
          <key-button key="UP"/>
        </button-axis>
        <button-axis angle="0">
          <key-button key="RIGHT"/>
          <key-button key="LEFT"/>
        </button-axis>
      </axis-scroller>
    </scroller>

    <action-buttons>
      <action-button><key-button key="1"/></action-button>
      <action-button><key-button key="2"/></action-button>
      <action-button><key-button key="3"/></action-button>
      <action-button><key-button key="4"/></action-button>
      <action-button><key-button key="5"/></action-button>
      <action-button><key-button key="6"/></action-button>
      <action-button><key-button key="7"/></action-button>
      <action-button><key-button key="0"/></action-button>
    </action-buttons>

    <action-up>
      <multiple-button>
        <key-button key="PAGEUP"/>
        <joystick-button id="0" button="3"/>
      </multiple-button>
    </action-up>

    <action-down>
      <multiple-button>
        <key-button key="PAGEDOWN"/>
        <joystick-button id="0" button="5"/>
      </multiple-button>
    </action-down>

  </controller-config>
</pingus-controller>


> 
> 
> 
> 
> _______________________________________________
> Pingus-Devel mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/pingus-devel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]