mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-25 08:14:45 +02:00
Make key map screen hint which map conflicts
This commit is contained in:
@@ -214,6 +214,15 @@ bool KeyMap::IsMappedKey(int key)
|
||||
}
|
||||
|
||||
|
||||
bool KeyMap::IsUserDefined(int key)
|
||||
{
|
||||
int layer = 0;
|
||||
int ignored;
|
||||
FindKeyMapping(key, &layer, &ignored);
|
||||
return layer == 0; // key found in user settings
|
||||
}
|
||||
|
||||
|
||||
std::string KeyMap::NamePspButtonFromKey(int key)
|
||||
{
|
||||
return KeyMap::GetPspButtonName(KeyMap::KeyToPspButton(key));
|
||||
|
||||
Reference in New Issue
Block a user