Merge branch 'master' into master
This commit is contained in:
commit
132a00ade3
120 changed files with 1253 additions and 575 deletions
|
@ -1279,7 +1279,7 @@ bool NativeKey(const KeyInput &key) {
|
|||
// INFO_LOG(SYSTEM, "Key code: %i flags: %i", key.keyCode, key.flags);
|
||||
#if !defined(MOBILE_DEVICE)
|
||||
if (g_Config.bPauseExitsEmulator) {
|
||||
static std::vector<int> pspKeys;
|
||||
std::vector<int> pspKeys;
|
||||
pspKeys.clear();
|
||||
if (KeyMap::InputMappingToPspButton(InputMapping(key.deviceId, key.keyCode), &pspKeys)) {
|
||||
if (std::find(pspKeys.begin(), pspKeys.end(), VIRTKEY_PAUSE) != pspKeys.end()) {
|
||||
|
@ -1289,10 +1289,10 @@ bool NativeKey(const KeyInput &key) {
|
|||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
bool retval = false;
|
||||
if (g_screenManager)
|
||||
{
|
||||
HLEPlugins::PluginDataKeys[key.keyCode] = (key.flags & KEY_DOWN) ? 1 : 0;
|
||||
if (g_screenManager) {
|
||||
HLEPlugins::SetKey(key.keyCode, (key.flags & KEY_DOWN) ? 1 : 0);
|
||||
retval = g_screenManager->key(key);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue