summaryrefslogtreecommitdiff
path: root/plugins/dfinput/xkb.c
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2009-12-04 06:43:30 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2009-12-04 06:43:30 +0000
commit41e7b60e2e6397c4f8ae91495eb74728b6f562c7 (patch)
tree5eef9e1efca8afd3db7de140aee70bbbe731e5f6 /plugins/dfinput/xkb.c
parentaca57a03bd7fdb0e23ea4f6d979dfe7008648195 (diff)
downloadpcsxr-41e7b60e2e6397c4f8ae91495eb74728b6f562c7.tar.gz
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@38792 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins/dfinput/xkb.c')
-rw-r--r--plugins/dfinput/xkb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/dfinput/xkb.c b/plugins/dfinput/xkb.c
index 4ac6f868..bfadef10 100644
--- a/plugins/dfinput/xkb.c
+++ b/plugins/dfinput/xkb.c
@@ -54,7 +54,7 @@ void CheckKeyboard() {
}
}
}
- if (!found) {
+ if (!found && !AnalogKeyPressed(Key)) {
g.KeyLeftOver = Key;
}
return;
@@ -70,7 +70,7 @@ void CheckKeyboard() {
}
}
}
- if (!found) {
+ if (!found && !AnalogKeyReleased(Key)) {
g.KeyLeftOver = ((long)Key | 0x40000000);
}
break;