Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 3, 2006, 12:29:57 AM (18 years ago)
Author:
bensch
Message:

trunk: more button definitions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/space_ships/hover.cc

    r6997 r6998  
    145145  registerEvent(KeyMapper::PEV_LEFT);
    146146  registerEvent(KeyMapper::PEV_RIGHT);
    147   registerEvent(SDLK_e); /// FIXME
    148   registerEvent(SDLK_c); /// FIXME
     147  registerEvent(KeyMapper::PEV_UP);
     148  registerEvent(KeyMapper::PEV_DOWN);
    149149  registerEvent(KeyMapper::PEV_FIRE1);
    150150  registerEvent(KeyMapper::PEV_NEXT_WEAPON);
     
    362362  else if( event.type == KeyMapper::PEV_RIGHT)
    363363    this->bRight = event.bPressed;
    364   else if( event.type == SDLK_e)
     364  else if( event.type == KeyMapper::PEV_UP)
    365365    this->bAscend = event.bPressed; //this->shiftCoor(0,.1,0);
    366   else if( event.type == SDLK_c)
     366  else if( event.type == KeyMapper::PEV_DOWN)
    367367    this->bDescend = event.bPressed; //this->shiftCoor(0,-.1,0);
    368368  else if( event.type == KeyMapper::PEV_FORWARD)
Note: See TracChangeset for help on using the changeset viewer.