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;
|
buf << "/H" << mapping.hat;
|
||||||
switch (mapping.hdir)
|
switch (mapping.hdir)
|
||||||
{
|
{
|
||||||
case JoyHatDir::UP: buf << "/up"; break;
|
case JoyHatDir::UP: buf << "Y+"; break;
|
||||||
case JoyHatDir::DOWN: buf << "/down"; break;
|
case JoyHatDir::DOWN: buf << "Y-"; break;
|
||||||
case JoyHatDir::LEFT: buf << "/left"; break;
|
case JoyHatDir::LEFT: buf << "X-"; break;
|
||||||
case JoyHatDir::RIGHT: buf << "/right"; break;
|
case JoyHatDir::RIGHT: buf << "X+"; break;
|
||||||
default: break;
|
default: break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -165,7 +165,6 @@ class Event
|
||||||
myValues[i] = Event::NoType;
|
myValues[i] = Event::NoType;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Tests if a given event represents continuous or analog values.
|
Tests if a given event represents continuous or analog values.
|
||||||
*/
|
*/
|
||||||
|
@ -187,9 +186,6 @@ class Event
|
||||||
// Array of values associated with each event type
|
// Array of values associated with each event type
|
||||||
Int32 myValues[LastType];
|
Int32 myValues[LastType];
|
||||||
|
|
||||||
// Array of keyboard key states
|
|
||||||
//bool myKeyTable[KBDK_LAST];
|
|
||||||
|
|
||||||
mutable std::mutex myMutex;
|
mutable std::mutex myMutex;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in New Issue