mirror of https://github.com/stella-emu/stella.git
change hat mapping display
This commit is contained in:
parent
364137d20d
commit
82c6b5544d
|
@ -147,10 +147,10 @@ string JoyMap::getDesc(const Event::Type event, const JoyMapping& mapping) const
|
|||
buf << "/H" << mapping.hat;
|
||||
switch (mapping.hdir)
|
||||
{
|
||||
case JoyHatDir::UP: buf << "/up"; break;
|
||||
case JoyHatDir::DOWN: buf << "/down"; break;
|
||||
case JoyHatDir::LEFT: buf << "/left"; break;
|
||||
case JoyHatDir::RIGHT: buf << "/right"; break;
|
||||
case JoyHatDir::UP: buf << "Y+"; break;
|
||||
case JoyHatDir::DOWN: buf << "Y-"; break;
|
||||
case JoyHatDir::LEFT: buf << "X-"; break;
|
||||
case JoyHatDir::RIGHT: buf << "X+"; break;
|
||||
default: break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -165,7 +165,6 @@ class Event
|
|||
myValues[i] = Event::NoType;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
Tests if a given event represents continuous or analog values.
|
||||
*/
|
||||
|
@ -187,9 +186,6 @@ class Event
|
|||
// Array of values associated with each event type
|
||||
Int32 myValues[LastType];
|
||||
|
||||
// Array of keyboard key states
|
||||
//bool myKeyTable[KBDK_LAST];
|
||||
|
||||
mutable std::mutex myMutex;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Reference in New Issue