Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 28, 2008, 12:01:16 AM (17 years ago)
Author:
rgrieder
Message:

Added 'calibrate' command for the joystick
Simply type 'calibrate', move your axes around, center them press enter again.
Values are stored in keybindings.ini

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network/src/core/InputInterfaces.h

    r1413 r1444  
    313313    virtual void joyStickButtonReleased(int joyStickID, int button) = 0;
    314314    virtual void joyStickButtonHeld    (int joyStickID, int button) = 0;
    315     virtual void joyStickAxisMoved     (int joyStickID, int axis, int value) = 0;
     315    virtual void joyStickAxisMoved     (int joyStickID, int axis, float value) = 0;
    316316    //virtual bool joyStickVector3Moved  (int joyStickID, int index /*, fill list*/) {return true;}
    317317    //virtual void tickJoyStick          (float dt) { }
Note: See TracChangeset for help on using the changeset viewer.